imagemagick7: 7.0.11-4 -> 7.0.11-5

Also removed an unnecessary let binding.
This commit is contained in:
Justin Humm 2021-04-01 20:57:10 +02:00
parent 2a85dbda12
commit 59ae7ec7f7

View File

@ -12,27 +12,19 @@ let
else if stdenv.hostPlatform.system == "aarch64-linux" then "aarch64"
else if stdenv.hostPlatform.system == "powerpc64le-linux" then "ppc64le"
else throw "ImageMagick is not supported on this platform.";
cfg = {
version = "7.0.11-4";
sha256 = "sha256-Dwlt3EdDoRkJKm1gepDC+0QdKEkMVsacZQ7khnxmWto=";
patches = [];
};
in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
pname = "imagemagick";
inherit (cfg) version;
version = "7.0.11-5";
src = fetchFromGitHub {
owner = "ImageMagick";
repo = "ImageMagick";
rev = cfg.version;
inherit (cfg) sha256;
rev = version;
sha256 = "sha256-HJUC8lUHORZMHvSv1/EYM+JOsd89quFaU1Fz08AckG8=";
};
patches = cfg.patches;
outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big
outputMan = "out"; # it's tiny