2010-05-03 05:45:52 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, python, glib, zlib, libpng }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-04 05:31:25 +01:00
|
|
|
name = "lensfun-0.2.7";
|
2010-05-03 05:45:52 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.berlios.de/lensfun/${name}.tar.bz2";
|
2013-12-04 05:31:25 +01:00
|
|
|
sha256 = "0xv4h219zn0ldhhjnjc1q2bgpbfqzpd4b31gf9yyrwbapm3hgprx";
|
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 ];
|
|
|
|
license = "LGPL3";
|
2010-08-18 17:56:40 +02:00
|
|
|
description = "An opensource database of photographic lenses and their characteristics";
|
2010-05-03 05:45:52 +02:00
|
|
|
};
|
|
|
|
}
|