1{ stdenv, fetchurl, pkgconfig, python, glib, zlib, libpng, gnumake3 }:
2
3stdenv.mkDerivation rec {
4 name = "lensfun-0.2.8";
5
6 src = fetchurl {
7 url = "mirror://sourceforge/lensfun/${name}.tar.bz2";
8 sha256 = "0j0smagnksdm9gjnk13w200hjxshmxf2kvyxxnra4nc2qzxrg3zq";
9 };
10
11 patchPhase = "sed -e 's@/usr/bin/python@${python}/bin/python@' -i configure";
12
13 buildInputs = [ pkgconfig glib zlib libpng gnumake3 ];
14
15 configureFlags = "-v";
16
17 meta = with stdenv.lib; {
18 platforms = platforms.all;
19 maintainers = [ maintainers.urkud ];
20 license = stdenv.lib.licenses.lgpl3;
21 description = "An opensource database of photographic lenses and their characteristics";
22 homepage = http://lensfun.sourceforge.net/;
23 };
24}