diff options
author | Arnout Engelen <arnout@bzzt.net> | 2021-05-06 10:08:08 +0200 |
---|---|---|
committer | Arnout Engelen <arnout@bzzt.net> | 2021-05-07 09:53:35 +0200 |
commit | b68130fd2cb836f80ee6c8eb8840c39a12c50bef (patch) | |
tree | b600e65b2bc257a42dd5935f21c935e1a11feed3 /pkgs/applications/graphics/ImageMagick/7.0.nix | |
parent | 39e6bf76474ce742eb027a88c4da6331f0a1526f (diff) | |
download | nixpkgs-b68130fd2cb836f80ee6c8eb8840c39a12c50bef.tar nixpkgs-b68130fd2cb836f80ee6c8eb8840c39a12c50bef.tar.gz nixpkgs-b68130fd2cb836f80ee6c8eb8840c39a12c50bef.tar.bz2 nixpkgs-b68130fd2cb836f80ee6c8eb8840c39a12c50bef.tar.lz nixpkgs-b68130fd2cb836f80ee6c8eb8840c39a12c50bef.tar.xz nixpkgs-b68130fd2cb836f80ee6c8eb8840c39a12c50bef.tar.zst nixpkgs-b68130fd2cb836f80ee6c8eb8840c39a12c50bef.zip |
test-utilities: version test
Extract 'version test' to a reusable test utility as discussed in https://github.com/NixOS/nixpkgs/pull/119636#issuecomment-826137021 and
Diffstat (limited to 'pkgs/applications/graphics/ImageMagick/7.0.nix')
-rw-r--r-- | pkgs/applications/graphics/ImageMagick/7.0.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/ImageMagick/7.0.nix b/pkgs/applications/graphics/ImageMagick/7.0.nix index e0b75e74064..5eb5b9ffcef 100644 --- a/pkgs/applications/graphics/ImageMagick/7.0.nix +++ b/pkgs/applications/graphics/ImageMagick/7.0.nix @@ -2,6 +2,7 @@ , bzip2, zlib, libX11, libXext, libXt, fontconfig, freetype, ghostscript, libjpeg, djvulibre , lcms2, openexr, libpng, librsvg, libtiff, libxml2, openjpeg, libwebp, libheif , ApplicationServices +, testVersion, imagemagick }: let @@ -72,6 +73,9 @@ stdenv.mkDerivation rec { done ''; + passthru.tests.version = + testVersion { package = imagemagick; }; + meta = with lib; { homepage = "http://www.imagemagick.org/"; description = "A software suite to create, edit, compose, or convert bitmap images"; |