mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
1e4d14863c
svn path=/nixpkgs/trunk/; revision=23233
23 lines
652 B
Nix
23 lines
652 B
Nix
{ stdenv, fetchurl, pkgconfig, python, glib, zlib, libpng }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "lensfun-0.2.5";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.berlios.de/lensfun/${name}.tar.bz2";
|
|
sha256 = "11zvi3lk60iljync3a495h9la7makx6lf22fbvr4lwc933mrh562";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|