nixpkgs-suyu/pkgs/development/libraries/lensfun/default.nix
Vladimír Čunát 8e9ead8656 berlios.de probably shut down, replace it
The shutdown was announced years ago, only now it stopped working.
2014-05-18 13:30:27 +02:00

24 lines
694 B
Nix

{ stdenv, fetchurl, pkgconfig, python, glib, zlib, libpng }:
stdenv.mkDerivation rec {
name = "lensfun-0.2.7";
src = fetchurl {
url = "mirror://sourceforge/lensfun/${name}.tar.bz2";
sha256 = "0xv4h219zn0ldhhjnjc1q2bgpbfqzpd4b31gf9yyrwbapm3hgprx";
};
patchPhase = "sed -e 's@/usr/bin/python@${python}/bin/python@' -i configure";
buildInputs = [ pkgconfig glib zlib libpng ];
configureFlags = "-v";
meta = with stdenv.lib; {
platforms = platforms.all;
maintainers = [ maintainers.urkud ];
license = "LGPL3";
description = "An opensource database of photographic lenses and their characteristics";
homepage = http://lensfun.sourceforge.net/;
};
}