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