nixpkgs/pkgs/development/libraries/lensfun/default.nix

25 lines
752 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, glib, zlib, libpng, gnumake3, cmake }:
stdenv.mkDerivation rec {
version = "0.3.95";
2016-11-06 14:04:49 +00:00
name = "lensfun-${version}";
src = fetchurl {
2016-11-06 14:04:49 +00:00
url = "mirror://sourceforge/lensfun/${version}/${name}.tar.gz";
sha256 = "0218f3xrlln0jmh4gcf1zbpvi2bidgl3b2mblf6c810n7j1rrhl2";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib zlib libpng cmake gnumake3 ];
2018-07-25 21:44:21 +00:00
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/;
};
}