imagemagick7: 7.0.11-4 -> 7.0.11-5
Also removed an unnecessary let binding.
This commit is contained in:
parent
2a85dbda12
commit
59ae7ec7f7
@ -12,27 +12,19 @@ let
|
|||||||
else if stdenv.hostPlatform.system == "aarch64-linux" then "aarch64"
|
else if stdenv.hostPlatform.system == "aarch64-linux" then "aarch64"
|
||||||
else if stdenv.hostPlatform.system == "powerpc64le-linux" then "ppc64le"
|
else if stdenv.hostPlatform.system == "powerpc64le-linux" then "ppc64le"
|
||||||
else throw "ImageMagick is not supported on this platform.";
|
else throw "ImageMagick is not supported on this platform.";
|
||||||
|
|
||||||
cfg = {
|
|
||||||
version = "7.0.11-4";
|
|
||||||
sha256 = "sha256-Dwlt3EdDoRkJKm1gepDC+0QdKEkMVsacZQ7khnxmWto=";
|
|
||||||
patches = [];
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
pname = "imagemagick";
|
pname = "imagemagick";
|
||||||
inherit (cfg) version;
|
version = "7.0.11-5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ImageMagick";
|
owner = "ImageMagick";
|
||||||
repo = "ImageMagick";
|
repo = "ImageMagick";
|
||||||
rev = cfg.version;
|
rev = version;
|
||||||
inherit (cfg) sha256;
|
sha256 = "sha256-HJUC8lUHORZMHvSv1/EYM+JOsd89quFaU1Fz08AckG8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = cfg.patches;
|
|
||||||
|
|
||||||
outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big
|
outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big
|
||||||
outputMan = "out"; # it's tiny
|
outputMan = "out"; # it's tiny
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user