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

30 lines
758 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, pkg-config, glib, zlib, libpng, cmake }:
let
version = "0.3.95";
pname = "lensfun";
in
stdenv.mkDerivation {
inherit pname version;
src = fetchFromGitHub {
owner = "lensfun";
repo = "lensfun";
rev = "v${version}";
sha256 = "0isli0arns8bmxqpbr1jnbnqh5wvspixdi51adm671f9ngng7x5r";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ glib zlib libpng ];
2018-07-25 22:44:21 +01:00
configureFlags = [ "-v" ];
meta = with stdenv.lib; {
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ ];
license = stdenv.lib.licenses.lgpl3;
description = "An opensource database of photographic lenses and their characteristics";
homepage = "https://lensfun.github.io";
};
}