summary refs log tree commit diff
path: root/pkgs/development/libraries/graphene
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2019-08-26 15:04:55 +0200
committerJan Tojnar <jtojnar@gmail.com>2019-08-26 15:09:35 +0200
commitb5bb10d7edac9e273a025022adcf34fc66573aab (patch)
treea731390eba78844f085000100b14f86ac7c48c9f /pkgs/development/libraries/graphene
parent38882f150388ce567d002515830c0c43c9807925 (diff)
downloadnixpkgs-b5bb10d7edac9e273a025022adcf34fc66573aab.tar
nixpkgs-b5bb10d7edac9e273a025022adcf34fc66573aab.tar.gz
nixpkgs-b5bb10d7edac9e273a025022adcf34fc66573aab.tar.bz2
nixpkgs-b5bb10d7edac9e273a025022adcf34fc66573aab.tar.lz
nixpkgs-b5bb10d7edac9e273a025022adcf34fc66573aab.tar.xz
nixpkgs-b5bb10d7edac9e273a025022adcf34fc66573aab.tar.zst
nixpkgs-b5bb10d7edac9e273a025022adcf34fc66573aab.zip
graphene: add installed tests as a passthru
Diffstat (limited to 'pkgs/development/libraries/graphene')
-rw-r--r--pkgs/development/libraries/graphene/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/libraries/graphene/default.nix b/pkgs/development/libraries/graphene/default.nix
index 7c61b222486..c439e763e73 100644
--- a/pkgs/development/libraries/graphene/default.nix
+++ b/pkgs/development/libraries/graphene/default.nix
@@ -5,6 +5,7 @@
 , ninja
 , python3
 , mutest
+, nixosTests
 , glib
 , gtk-doc
 , docbook_xsl
@@ -57,6 +58,12 @@ stdenv.mkDerivation rec {
 
   doCheck = true;
 
+  passthru = {
+    tests = {
+      installedTests = nixosTests.graphene;
+    };
+  };
+
   meta = with stdenv.lib; {
     description = "A thin layer of graphic data types";
     homepage = "https://ebassi.github.com/graphene";