summary refs log tree commit diff
path: root/pkgs/tools/graphics/graphviz/default.nix
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2022-05-25 15:23:56 +0300
committerArtturin <Artturin@artturin.com>2022-05-25 15:23:56 +0300
commit7b447b51515244a5f7d00f20e7cc801950835220 (patch)
tree093053919690434c5eb98743dd4d5d75ff85576d /pkgs/tools/graphics/graphviz/default.nix
parentbde885a181ebec6096505c77e66f6516889313c1 (diff)
downloadnixpkgs-7b447b51515244a5f7d00f20e7cc801950835220.tar
nixpkgs-7b447b51515244a5f7d00f20e7cc801950835220.tar.gz
nixpkgs-7b447b51515244a5f7d00f20e7cc801950835220.tar.bz2
nixpkgs-7b447b51515244a5f7d00f20e7cc801950835220.tar.lz
nixpkgs-7b447b51515244a5f7d00f20e7cc801950835220.tar.xz
nixpkgs-7b447b51515244a5f7d00f20e7cc801950835220.tar.zst
nixpkgs-7b447b51515244a5f7d00f20e7cc801950835220.zip
graphviz: add reverse deps to passthru.tests
taken from the packages mentioned in the previous bump PR 168502
Diffstat (limited to 'pkgs/tools/graphics/graphviz/default.nix')
-rw-r--r--pkgs/tools/graphics/graphviz/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/graphviz/default.nix b/pkgs/tools/graphics/graphviz/default.nix
index ad263b86e1f..5798ec56918 100644
--- a/pkgs/tools/graphics/graphviz/default.nix
+++ b/pkgs/tools/graphics/graphviz/default.nix
@@ -19,6 +19,8 @@
 , xorg
 , ApplicationServices
 , python3
+, fltk
+, exiv2
 , withXorg ? true
 }:
 
@@ -93,6 +95,11 @@ stdenv.mkDerivation {
       --replace /usr/bin/vimdot $out/bin/vimdot \
   '';
 
+  passthru.tests = {
+    inherit (python3.pkgs) pygraphviz;
+    inherit fltk exiv2;
+  };
+
   meta = with lib; {
     homepage = "https://graphviz.org";
     description = "Graph visualization tools";