mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
Add lensfun library
svn path=/nixpkgs/trunk/; revision=21560
This commit is contained in:
parent
19cc1226d4
commit
83f4846c49
22
pkgs/development/libraries/lensfun/default.nix
Normal file
22
pkgs/development/libraries/lensfun/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ 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 ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.urkud ];
|
||||
license = "LGPL3";
|
||||
description = "An opensource database of photographic lenses and their
|
||||
characteristics";
|
||||
};
|
||||
}
|
|
@ -4216,6 +4216,11 @@ let
|
|||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
lensfun = import ../development/libraries/lensfun {
|
||||
inherit fetchurl stdenv libpng python zlib pkgconfig;
|
||||
inherit (gnome) glib;
|
||||
};
|
||||
|
||||
lesstif = import ../development/libraries/lesstif {
|
||||
inherit fetchurl stdenv x11;
|
||||
inherit (xlibs) libXp libXau;
|
||||
|
|
Loading…
Reference in a new issue