about summary refs log tree commit diff
path: root/pkgs/development/libraries/lensfun/default.nix
blob: 6aa5867d8ffdc4c8a1595d93c61323cf58750cfc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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";
  };
}