summary refs log tree commit diff
path: root/pkgs/development/libraries/lensfun/default.nix
blob: 6137638222eff661ce8ca9c35e4cc26e660d9902 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchurl, pkgconfig, glib, zlib, libpng, cmake }:

stdenv.mkDerivation rec {
  version = "0.3.95";
  pname = "lensfun";

  src = fetchurl {
    url = "mirror://sourceforge/lensfun/${version}/${pname}-${version}.tar.gz";
    sha256 = "0218f3xrlln0jmh4gcf1zbpvi2bidgl3b2mblf6c810n7j1rrhl2";
  };

  nativeBuildInputs = [ cmake pkgconfig ];
  buildInputs = [ glib zlib libpng ];

  configureFlags = [ "-v" ];

  meta = with stdenv.lib; {
    platforms = platforms.linux ++ platforms.darwin;
    maintainers = with maintainers; [ enzime ];
    license = stdenv.lib.licenses.lgpl3;
    description = "An opensource database of photographic lenses and their characteristics";
    homepage = http://lensfun.sourceforge.net/;
  };
}