summaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/graphene/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/graphene/default.nix')
-rw-r--r--pkgs/development/libraries/graphene/default.nix23
1 files changed, 14 insertions, 9 deletions
diff --git a/pkgs/development/libraries/graphene/default.nix b/pkgs/development/libraries/graphene/default.nix
index 57cad4497653..a9c647268ac5 100644
--- a/pkgs/development/libraries/graphene/default.nix
+++ b/pkgs/development/libraries/graphene/default.nix
@@ -16,7 +16,7 @@
stdenv.mkDerivation rec {
pname = "graphene";
- version = "1.10.2";
+ version = "1.10.6";
outputs = [ "out" "devdoc" "installedTests" ];
@@ -24,19 +24,14 @@ stdenv.mkDerivation rec {
owner = "ebassi";
repo = pname;
rev = version;
- sha256 = "1ljhhjafi1nlndjswx7mg0d01zci90wz77yvz5w8bd9mm8ssw38s";
+ sha256 = "v6YH3fRMTzhp7wmU8in9ukcavzHmOAW54EK9ZwQyFxc=";
};
patches = [
+ # Add option for changing installation path of installed tests.
./0001-meson-add-options-for-tests-installation-dirs.patch
];
- mesonFlags = [
- "-Dgtk_doc=true"
- "-Dinstalled_test_datadir=${placeholder "installedTests"}/share"
- "-Dinstalled_test_bindir=${placeholder "installedTests"}/libexec"
- ];
-
nativeBuildInputs = [
docbook_xml_dtd_43
docbook_xsl
@@ -57,8 +52,18 @@ stdenv.mkDerivation rec {
mutest
];
+ mesonFlags = [
+ "-Dgtk_doc=true"
+ "-Dinstalled_test_datadir=${placeholder "installedTests"}/share"
+ "-Dinstalled_test_bindir=${placeholder "installedTests"}/libexec"
+ ];
+
doCheck = true;
+ postPatch = ''
+ patchShebangs tests/gen-installed-test.py
+ '';
+
passthru = {
tests = {
installedTests = nixosTests.installed-tests.graphene;
@@ -73,7 +78,7 @@ stdenv.mkDerivation rec {
description = "A thin layer of graphic data types";
homepage = "https://ebassi.github.com/graphene";
license = licenses.mit;
- maintainers = with maintainers; [ worldofpeace ];
+ maintainers = teams.gnome.members ++ (with maintainers; [ ]);
platforms = platforms.unix;
};
}