diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2017-02-10 18:56:46 +0100 |
---|---|---|
committer | vbgl <vbgl@users.noreply.github.com> | 2017-02-11 11:11:12 +0100 |
commit | 970753317ca698e65784574fbf00fb5fa2471221 (patch) | |
tree | 2ad0280a5fc1797c9aaf85b11c24cb63335fea18 /pkgs/applications/graphics/gimp/plugins/default.nix | |
parent | 6f48d6291f0692cae4a3fe8be5cc3abc03e63990 (diff) |
gimpPlugins.gmic: use attribues from gmic expression
Diffstat (limited to 'pkgs/applications/graphics/gimp/plugins/default.nix')
-rw-r--r-- | pkgs/applications/graphics/gimp/plugins/default.nix | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix index 29d950ec695e..20a9648e8395 100644 --- a/pkgs/applications/graphics/gimp/plugins/default.nix +++ b/pkgs/applications/graphics/gimp/plugins/default.nix @@ -178,31 +178,16 @@ rec { gmic = pluginDerivation rec { - name = "gmic-1.7.8"; + inherit (pkgs.gmic) name src meta; - buildInputs = [pkgconfig pkgs.fftw pkgs.opencv gimp] ++ gimp.nativeBuildInputs; - - src = fetchurl { - url = "http://gmic.eu/files/source/gmic_1.7.8.tar.gz"; - sha256 = "1921s0n2frj8q95l8lm8was64cypnychgcgcavx9q8qljzbk4brs"; - }; + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ pkgs.fftw pkgs.opencv gimp ] ++ gimp.nativeBuildInputs; sourceRoot = "${name}/src"; buildFlags = "gimp"; installPhase = "installPlugins gmic_gimp"; - - meta = { - description = "Script language for image processing which comes with its open-source interpreter"; - homepage = http://gmic.eu/gimp.shtml; - license = stdenv.lib.licenses.cecill20; - /* - The purpose of this Free Software license agreement is to grant users - the right to modify and redistribute the software governed by this - license within the framework of an open source distribution model. - [ ... ] */ - }; }; # this is more than a gimp plugin ! |