Merge pull request #81616 from jtojnar/gom-update

gom: 0.3.3 → 0.4
This commit is contained in:
worldofpeace 2020-03-03 20:56:38 +00:00 committed by GitHub
commit c5590dd9d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 18 deletions

View File

@ -23,6 +23,9 @@
, python3
, readline
, gtk3
, gtk-doc
, docbook-xsl-nons
, docbook_xml_dtd_43
}:
# TODO: enable more folks backends
@ -31,7 +34,7 @@ stdenv.mkDerivation rec {
pname = "folks";
version = "0.13.2";
outputs = [ "out" "dev" ];
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
@ -39,14 +42,16 @@ stdenv.mkDerivation rec {
};
mesonFlags = [
# TODO: https://gitlab.gnome.org/GNOME/folks/issues/108
"-Ddocs=false"
"-Ddocs=true"
];
nativeBuildInputs = [
gettext
gobject-introspection
gtk3
gtk-doc
docbook-xsl-nons
docbook_xml_dtd_43
meson
ninja
pkgconfig
@ -75,10 +80,16 @@ stdenv.mkDerivation rec {
checkInputs = [
dbus
(python3.withPackages (pp: with pp; [
python-dbusmock
# The following possibly need to be propagated by dbusmock
# if they are not optional
dbus-python
pygobject3
]))
];
# TODO: enable tests
# doCheck = true;
doCheck = true;
postPatch = ''
chmod +x meson_post_install.py

View File

@ -1,6 +1,5 @@
{ stdenv
, fetchurl
, fetchpatch
, meson
, ninja
, pkgconfig
@ -14,26 +13,16 @@
stdenv.mkDerivation rec {
pname = "gom";
version = "0.3.3";
version = "0.4";
outputs = [ "out" "py" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1n1n226dyb3q98216aah87in9hhjcwsbpspsdqqfswz2bx5y6mxc";
sha256 = "aNCABqqjtYFpznzxg5SY9FaG+6gRXwms7Lidd+EBip0=";
};
patches = [
# Needed to apply the next patch
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gom/commit/e8b7c314ce61d459132cf03c9e455d2a01fdc6ea.patch";
sha256 = "0d7g3nm5lrfhfx9ly8qgf5bfp12kvr7m1xmlgin2q8vqpn0r2ggp";
})
# https://gitlab.gnome.org/GNOME/gom/merge_requests/3
(fetchpatch {
url = "https://gitlab.gnome.org/worldofpeace/gom/commit/b621c15600b1c32826c9878565eb2398a50907f2.patch";
sha256 = "1hqck9bb7sxn4akisnn26sbddlphjsavgksick5k4h3rsc0xwx1v";
})
./longer-stress-timeout.patch
];