Merge pull request #118277 from erictapen/imagemagick-7.0.11-5

imagemagick7: 7.0.11-4 -> 7.0.11-5
This commit is contained in:
Sandro 2021-04-02 02:36:21 +02:00 committed by GitHub
commit 2efec1b83f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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