3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/exempi/default.nix

28 lines
813 B
Nix
Raw Normal View History

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