diff options
author | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2010-05-03 03:45:52 +0000 |
---|---|---|
committer | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2010-05-03 03:45:52 +0000 |
commit | 83f4846c49580be3a12e0643d5baa97225135270 (patch) | |
tree | 24b67c96ce735e94304e6dd1644022b96fbf81e5 /pkgs/development/libraries/lensfun | |
parent | 19cc1226d42690006eeb8cbd54bf7670f11385be (diff) | |
download | nixpkgs-83f4846c49580be3a12e0643d5baa97225135270.tar nixpkgs-83f4846c49580be3a12e0643d5baa97225135270.tar.gz nixpkgs-83f4846c49580be3a12e0643d5baa97225135270.tar.bz2 nixpkgs-83f4846c49580be3a12e0643d5baa97225135270.tar.lz nixpkgs-83f4846c49580be3a12e0643d5baa97225135270.tar.xz nixpkgs-83f4846c49580be3a12e0643d5baa97225135270.tar.zst nixpkgs-83f4846c49580be3a12e0643d5baa97225135270.zip |
Add lensfun library
svn path=/nixpkgs/trunk/; revision=21560
Diffstat (limited to 'pkgs/development/libraries/lensfun')
-rw-r--r-- | pkgs/development/libraries/lensfun/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/libraries/lensfun/default.nix b/pkgs/development/libraries/lensfun/default.nix new file mode 100644 index 00000000000..6aa5867d8ff --- /dev/null +++ b/pkgs/development/libraries/lensfun/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl, pkgconfig, python, glib, zlib, libpng }: + +stdenv.mkDerivation rec { + name = "lensfun-0.2.5"; + + src = fetchurl { + url = "http://download.berlios.de/lensfun/${name}.tar.bz2"; + sha256 = "11zvi3lk60iljync3a495h9la7makx6lf22fbvr4lwc933mrh562"; + }; + + patchPhase = "sed -e 's@/usr/bin/python@${python}/bin/python@' -i configure"; + + buildInputs = [ pkgconfig glib zlib libpng ]; + + meta = with stdenv.lib; { + platforms = platforms.all; + maintainers = [ maintainers.urkud ]; + license = "LGPL3"; + description = "An opensource database of photographic lenses and their + characteristics"; + }; +} |