mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
gmic: 1.5.7.2 -> 1.6.5.0
This commit is contained in:
parent
ecb38b5fb6
commit
3eaa7ba417
@ -159,24 +159,25 @@ rec {
|
||||
};
|
||||
|
||||
gmic =
|
||||
let
|
||||
imagemagick = pkgs.imagemagickBig; # maybe the non big version is enough?
|
||||
in pluginDerivation rec {
|
||||
name = "gmic-1.5.7.2";
|
||||
buildInputs = [imagemagick pkgconfig pkgs.fftw gimp] ++ gimp.nativeBuildInputs;
|
||||
pluginDerivation rec {
|
||||
name = "gmic-1.6.5.0";
|
||||
|
||||
buildInputs = [pkgconfig pkgs.fftw pkgs.opencv gimp] ++ gimp.nativeBuildInputs;
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/gmic/gmic_1.5.7.2.tar.gz;
|
||||
sha256 = "1cpbxb3p2c8bcv2cbr150whapzjc7w09i3jza0z9x3xj8c0vdyv1";
|
||||
url = http://gmic.eu/files/source/gmic_1.6.5.0.tar.gz;
|
||||
sha256 = "1vb6zm5zpqfnzxjvb9yfvczaqacm55rf010ib0yk9f28b17qrjgb";
|
||||
};
|
||||
preConfigure = ''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${imagemagick}/include/ImageMagick"
|
||||
'';
|
||||
|
||||
sourceRoot = "${name}/src";
|
||||
buildPhase = "make gimp";
|
||||
|
||||
buildFlags = "gimp";
|
||||
|
||||
installPhase = "installPlugins gmic_gimp";
|
||||
|
||||
meta = {
|
||||
description = "script language for image processing which comes with its open-source interpreter";
|
||||
homepage = http://gmic.sourceforge.net/repository.shtml;
|
||||
homepage = http://gmic.eu/gimp.shtml;
|
||||
license = stdenv.lib.licenses.cecill20;
|
||||
/*
|
||||
The purpose of this Free Software license agreement is to grant users
|
||||
|
Loading…
Reference in New Issue
Block a user