depot/third_party/nixpkgs/pkgs/development/libraries/lensfun/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

24 lines
737 B
Nix

{ 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/";
};
}