2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, zlib, libpng, gnumake3, cmake }:
|
2010-05-03 04:45:52 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-11-06 14:04:49 +00:00
|
|
|
version = "0.3.2";
|
|
|
|
name = "lensfun-${version}";
|
2010-05-03 04:45:52 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-11-06 14:04:49 +00:00
|
|
|
url = "mirror://sourceforge/lensfun/${version}/${name}.tar.gz";
|
|
|
|
sha256 = "0cfk8jjhs9nbfjfdy98plrj9ayi59aph0nx6ppslgjhlcvacm2xf";
|
2010-05-03 04:45:52 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ glib zlib libpng cmake gnumake3 ];
|
2010-05-03 04:45:52 +01:00
|
|
|
|
2010-08-18 16:56:40 +01:00
|
|
|
configureFlags = "-v";
|
|
|
|
|
2010-05-03 04:45:52 +01:00
|
|
|
meta = with stdenv.lib; {
|
2016-09-01 18:39:33 +01:00
|
|
|
platforms = platforms.linux;
|
2017-03-27 18:11:17 +01:00
|
|
|
maintainers = [ ];
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.lgpl3;
|
2010-08-18 16:56:40 +01:00
|
|
|
description = "An opensource database of photographic lenses and their characteristics";
|
2014-05-18 12:25:43 +01:00
|
|
|
homepage = http://lensfun.sourceforge.net/;
|
2010-05-03 04:45:52 +01:00
|
|
|
};
|
|
|
|
}
|