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