2015-03-24 20:06:19 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, python, glib, zlib, libpng, gnumake3 }:
|
2010-05-03 04:45:52 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-07-12 12:09:45 +01:00
|
|
|
name = "lensfun-0.2.8";
|
2010-05-03 04:45:52 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-05-18 12:25:43 +01:00
|
|
|
url = "mirror://sourceforge/lensfun/${name}.tar.bz2";
|
2014-07-12 12:09:45 +01:00
|
|
|
sha256 = "0j0smagnksdm9gjnk13w200hjxshmxf2kvyxxnra4nc2qzxrg3zq";
|
2010-05-03 04:45:52 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = "sed -e 's@/usr/bin/python@${python}/bin/python@' -i configure";
|
|
|
|
|
2015-03-24 20:06:19 +00:00
|
|
|
buildInputs = [ pkgconfig glib zlib libpng gnumake3 ];
|
2010-05-03 04:45:52 +01:00
|
|
|
|
2010-08-18 16:56:40 +01:00
|
|
|
configureFlags = "-v";
|
|
|
|
|
2010-05-03 04:45:52 +01:00
|
|
|
meta = with stdenv.lib; {
|
2016-09-01 18:39:33 +01:00
|
|
|
platforms = platforms.linux;
|
2010-05-03 04:45:52 +01:00
|
|
|
maintainers = [ maintainers.urkud ];
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.lgpl3;
|
2010-08-18 16:56:40 +01:00
|
|
|
description = "An opensource database of photographic lenses and their characteristics";
|
2014-05-18 12:25:43 +01:00
|
|
|
homepage = http://lensfun.sourceforge.net/;
|
2010-05-03 04:45:52 +01:00
|
|
|
};
|
|
|
|
}
|