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