imagemagick: fix version

imagemagick.passthru.tests tests that the Nixpkgs version for
imagemagick matches the one produced by magick --version, so the
recent upgrade that changed the dash to a dot broke the test.

Fixes: 3a4ea08942 ("imagemagick: 7.1.0-39 -> 7.1.0.43")
This commit is contained in:
Alyssa Ross 2022-07-16 23:25:56 +00:00
parent 5ae35a88d3
commit c82890e2e2
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -45,12 +45,12 @@ in
stdenv.mkDerivation rec {
pname = "imagemagick";
version = "7.1.0.43";
version = "7.1.0-43";
src = fetchFromGitHub {
owner = "ImageMagick";
repo = "ImageMagick";
rev = version;
rev = builtins.replaceStrings [ "-" ] [ "." ] version;
hash = "sha256-SOy7Ci1rzLB12ofSQBWmX86dfbr/ywsRPunHRswlAt4=";
};