1 { lib, stdenv, fetchurl, fetchpatch, expat, zlib, boost, libiconv, darwin }:
3 stdenv.mkDerivation rec {
8 url = "https://libopenraw.freedesktop.org/download/${pname}-${version}.tar.bz2";
9 sha256 = "07i29xmg8bqriviaf4vi1mwha4lrw85kfla29cfym14fp3z8aqa0";
13 "--with-boost=${boost.dev}"
16 buildInputs = [ expat zlib boost ]
17 ++ lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.CoreServices ];
19 doCheck = stdenv.isLinux;
22 description = "An implementation of XMP (Adobe's Extensible Metadata Platform)";
23 homepage = "https://libopenraw.freedesktop.org/wiki/Exempi/";
24 platforms = platforms.linux ++ platforms.darwin;
25 license = licenses.bsd3;