nixpkgs/pkgs/development/libraries/lensfun/default.nix

25 lines
731 B
Nix
Raw Normal View History

2015-03-24 21:06:19 +01:00
{ stdenv, fetchurl, pkgconfig, python, glib, zlib, libpng, gnumake3 }:
stdenv.mkDerivation rec {
2014-07-12 13:09:45 +02:00
name = "lensfun-0.2.8";
src = fetchurl {
url = "mirror://sourceforge/lensfun/${name}.tar.bz2";
2014-07-12 13:09:45 +02:00
sha256 = "0j0smagnksdm9gjnk13w200hjxshmxf2kvyxxnra4nc2qzxrg3zq";
};
patchPhase = "sed -e 's@/usr/bin/python@${python}/bin/python@' -i configure";
2015-03-24 21:06:19 +01:00
buildInputs = [ pkgconfig glib zlib libpng gnumake3 ];
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/;
};
}