Skip to content

Commit

Permalink
ghostscript: add some key reverse-dependencies to passthru.tests
Browse files Browse the repository at this point in the history
  • Loading branch information
risicle committed Apr 11, 2023
1 parent 0afc44b commit a087885
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion pkgs/misc/ghostscript/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@
, x11Support ? cupsSupport
, xorg # with CUPS, X11 only adds very little
, dynamicDrivers ? true

# for passthru.tests
, graphicsmagick
, imagemagick
, libspectre
, lilypond
, pstoedit
, python3
}:

let
Expand Down Expand Up @@ -158,7 +166,11 @@ stdenv.mkDerivation rec {
runHook postInstallCheck
'';

passthru.tests.test-corpus-render = callPackage ./test-corpus-render.nix {};
passthru.tests = {
test-corpus-render = callPackage ./test-corpus-render.nix {};
inherit graphicsmagick imagemagick libspectre lilypond pstoedit;
inherit (python3.pkgs) matplotlib;
};

meta = {
homepage = "https://www.ghostscript.com/";
Expand Down

0 comments on commit a087885

Please sign in to comment.