2017-04-21 05:10:24 +00:00
|
|
|
{ stdenv, fetchurl, expat, zlib, boost, libiconv, darwin }:
|
2014-01-09 16:21:19 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-26 04:54:48 +00:00
|
|
|
name = "exempi-2.4.4";
|
2014-01-09 16:21:19 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://libopenraw.freedesktop.org/download/${name}.tar.bz2";
|
2018-02-26 04:54:48 +00:00
|
|
|
sha256 = "1c1xxiw9lazdaz4zvrnvcy9pif9l1wib7zy91m48i7a4bnf9mmd2";
|
2014-01-09 16:21:19 +00:00
|
|
|
};
|
|
|
|
|
2015-07-27 20:04:20 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-boost=${boost.dev}"
|
|
|
|
];
|
2014-10-11 08:51:47 +00:00
|
|
|
|
2017-04-21 05:10:24 +00:00
|
|
|
buildInputs = [ expat zlib boost ]
|
|
|
|
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.CoreServices ];
|
2014-01-09 16:21:19 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-02 21:50:51 +00:00
|
|
|
homepage = https://libopenraw.freedesktop.org/wiki/Exempi/;
|
2017-04-21 05:10:24 +00:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2014-01-09 16:21:19 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|