1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 15:41:40 +00:00
nixpkgs/pkgs/development/libraries/lensfun/default.nix
2014-07-28 11:31:14 +02:00

25 lines
712 B
Nix

{ stdenv, fetchurl, pkgconfig, python, glib, zlib, libpng }:
stdenv.mkDerivation rec {
name = "lensfun-0.2.8";
src = fetchurl {
url = "mirror://sourceforge/lensfun/${name}.tar.bz2";
sha256 = "0j0smagnksdm9gjnk13w200hjxshmxf2kvyxxnra4nc2qzxrg3zq";
};
patchPhase = "sed -e 's@/usr/bin/python@${python}/bin/python@' -i configure";
buildInputs = [ pkgconfig glib zlib libpng ];
configureFlags = "-v";
meta = with stdenv.lib; {
platforms = platforms.all;
maintainers = [ maintainers.urkud ];
license = stdenv.lib.licenses.lgpl3;
description = "An opensource database of photographic lenses and their characteristics";
homepage = http://lensfun.sourceforge.net/;
};
}