2018-09-29 00:15:53 +02:00
|
|
|
{ stdenv, fetchurl, fetchpatch, expat, zlib, boost, libiconv, darwin }:
|
2014-01-09 17:21:19 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-30 20:02:47 +02:00
|
|
|
pname = "exempi";
|
|
|
|
version = "2.5.1";
|
2014-01-09 17:21:19 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-30 20:02:47 +02:00
|
|
|
url = "https://libopenraw.freedesktop.org/download/${pname}-${version}.tar.bz2";
|
2018-03-18 01:22:14 +01:00
|
|
|
sha256 = "07i29xmg8bqriviaf4vi1mwha4lrw85kfla29cfym14fp3z8aqa0";
|
2014-01-09 17:21:19 +01:00
|
|
|
};
|
|
|
|
|
2015-07-27 22:04:20 +02:00
|
|
|
configureFlags = [
|
|
|
|
"--with-boost=${boost.dev}"
|
|
|
|
];
|
2014-10-11 10:51:47 +02:00
|
|
|
|
2017-04-21 07:10:24 +02:00
|
|
|
buildInputs = [ expat zlib boost ]
|
|
|
|
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.CoreServices ];
|
2014-01-09 17:21:19 +01:00
|
|
|
|
2018-09-29 00:15:53 +02:00
|
|
|
doCheck = stdenv.isLinux;
|
|
|
|
|
2014-01-09 17:21:19 +01:00
|
|
|
meta = with stdenv.lib; {
|
2019-11-17 10:41:21 +01:00
|
|
|
description = "An implementation of XMP (Adobe's Extensible Metadata Platform)";
|
|
|
|
homepage = "https://libopenraw.freedesktop.org/wiki/Exempi/";
|
2017-04-21 07:10:24 +02:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2014-01-09 17:21:19 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|