diff options
author | Ludovic Courtès <ludo@gnu.org> | 2011-09-03 17:31:10 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2011-09-03 17:31:10 +0000 |
commit | db867607cb3e0838a00ded4d52bb97dfc3e855a7 (patch) | |
tree | a25972e21c1726fd492cc2be28d90f94148cda46 /pkgs/applications/graphics/gimp | |
parent | 2c0eddaeaa45d445542dcbcf9cc214ae754aadfd (diff) | |
download | nixlib-db867607cb3e0838a00ded4d52bb97dfc3e855a7.tar nixlib-db867607cb3e0838a00ded4d52bb97dfc3e855a7.tar.gz nixlib-db867607cb3e0838a00ded4d52bb97dfc3e855a7.tar.bz2 nixlib-db867607cb3e0838a00ded4d52bb97dfc3e855a7.tar.lz nixlib-db867607cb3e0838a00ded4d52bb97dfc3e855a7.tar.xz nixlib-db867607cb3e0838a00ded4d52bb97dfc3e855a7.tar.zst nixlib-db867607cb3e0838a00ded4d52bb97dfc3e855a7.zip |
Add GimpLensfun.
svn path=/nixpkgs/trunk/; revision=28997
Diffstat (limited to 'pkgs/applications/graphics/gimp')
-rw-r--r-- | pkgs/applications/graphics/gimp/plugins/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix index f988ddf8209a..3c900ca1eba2 100644 --- a/pkgs/applications/graphics/gimp/plugins/default.nix +++ b/pkgs/applications/graphics/gimp/plugins/default.nix @@ -195,6 +195,35 @@ rec { "; }; + gimplensfun = pluginDerivation rec { + name = "gimplensfun-0.1.1"; + + src = fetchurl { + url = "http://lensfun.sebastiankraft.net/${name}.tar.gz"; + sha256 = "0kr296n4k7gsjqg1abmvpysxi88iq5wrzdpcg7vm7l1ifvbs972q"; + }; + + patchPhase = '' sed -i Makefile -e's|/usr/bin/g++|g++|' ''; + + buildInputs = [ gimp pkgconfig glib gimp.gtk pkgs.lensfun pkgs.exiv2 ]; + + installPhase = " + installPlugins gimplensfun + ensureDir $out/bin + cp gimplensfun $out/bin + "; + + meta = { + description = "GIMP plugin to correct lens distortion using the lensfun library and database"; + + homepage = http://lensfun.sebastiankraft.net/; + + license = "GPLv3+"; + maintainers = [ stdenv.lib.maintainers.ludo ]; + platforms = stdenv.lib.platforms.gnu; + }; + }; + /* =============== simple script files ==================== */ # also have a look at enblendenfuse in all-packages.nix |