From acbd916119eb7240345a1138dee5f701242765ea Mon Sep 17 00:00:00 2001 From: "Alexander V. Nikolaev" Date: Fri, 11 Nov 2016 12:27:08 +0200 Subject: [PATCH] gimp-lensfun: 0.1.1 -> 0.2.4 --- .../graphics/gimp/plugins/default.nix | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix index 9fd669551de..fa6db4e7f02 100644 --- a/pkgs/applications/graphics/gimp/plugins/default.nix +++ b/pkgs/applications/graphics/gimp/plugins/default.nix @@ -233,21 +233,20 @@ rec { }; gimplensfun = pluginDerivation rec { - name = "gimplensfun-0.1.1"; + version = "0.2.4"; + name = "gimplensfun-${version}"; - src = fetchurl { - url = "http://lensfun.sebastiankraft.net/${name}.tar.gz"; - sha256 = "0kr296n4k7gsjqg1abmvpysxi88iq5wrzdpcg7vm7l1ifvbs972q"; + src = fetchFromGitHub { + owner = "seebk"; + repo = "GIMP-Lensfun"; + rev = version; + sha256 = "0zlmp9v732qmzj083mnk5z421s57mnckmpjhiw890wmmwzj2lhxz"; }; - patchPhase = '' sed -i Makefile -e's|/usr/bin/g++|g++|' ''; - buildInputs = [ gimp pkgconfig glib gimp.gtk pkgs.lensfun pkgs.exiv2 ]; installPhase = " - installPlugins gimplensfun - mkdir -p $out/bin - cp gimplensfun $out/bin + installPlugins gimp-lensfun "; meta = {