2018-03-22 15:55:27 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, zlib, libpng, cmake }:
|
2010-05-03 04:45:52 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-07-18 19:33:13 +01:00
|
|
|
version = "0.3.95";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "lensfun";
|
2010-05-03 04:45:52 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://sourceforge/lensfun/${version}/${pname}-${version}.tar.gz";
|
2018-07-18 19:33:13 +01:00
|
|
|
sha256 = "0218f3xrlln0jmh4gcf1zbpvi2bidgl3b2mblf6c810n7j1rrhl2";
|
2010-05-03 04:45:52 +01:00
|
|
|
};
|
|
|
|
|
2018-03-22 15:55:27 +00:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
buildInputs = [ glib zlib libpng ];
|
2010-05-03 04:45:52 +01:00
|
|
|
|
2018-07-25 22:44:21 +01:00
|
|
|
configureFlags = [ "-v" ];
|
2010-08-18 16:56:40 +01:00
|
|
|
|
2010-05-03 04:45:52 +01:00
|
|
|
meta = with stdenv.lib; {
|
2018-08-01 10:04:22 +01:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
maintainers = with maintainers; [ enzime ];
|
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
|
|
|
};
|
|
|
|
}
|