summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorAlexander V. Nikolaev <avn@avnik.info>2016-11-11 12:27:08 +0200
committerAlexander V. Nikolaev <avn@avnik.info>2016-11-11 14:18:06 +0200
commitacbd916119eb7240345a1138dee5f701242765ea (patch)
treec1a6648ea0c23cf9aeee56152f0cfbb924c5fbad /pkgs/applications/graphics
parent13fbc6ccd12113d2789bb445eb76a7cfd8d276ee (diff)
downloadnixpkgs-acbd916119eb7240345a1138dee5f701242765ea.tar
nixpkgs-acbd916119eb7240345a1138dee5f701242765ea.tar.gz
nixpkgs-acbd916119eb7240345a1138dee5f701242765ea.tar.bz2
nixpkgs-acbd916119eb7240345a1138dee5f701242765ea.tar.lz
nixpkgs-acbd916119eb7240345a1138dee5f701242765ea.tar.xz
nixpkgs-acbd916119eb7240345a1138dee5f701242765ea.tar.zst
nixpkgs-acbd916119eb7240345a1138dee5f701242765ea.zip
gimp-lensfun: 0.1.1 -> 0.2.4
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/gimp/plugins/default.nix17
1 files 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 = {