nixpkgs/pkgs/development/libraries/exempi/default.nix

24 lines
656 B
Nix
Raw Normal View History

2017-04-21 05:10:24 +00:00
{ stdenv, fetchurl, expat, zlib, boost, libiconv, darwin }:
stdenv.mkDerivation rec {
name = "exempi-2.4.5";
src = fetchurl {
url = "http://libopenraw.freedesktop.org/download/${name}.tar.bz2";
sha256 = "07i29xmg8bqriviaf4vi1mwha4lrw85kfla29cfym14fp3z8aqa0";
};
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 ];
meta = with stdenv.lib; {
homepage = https://libopenraw.freedesktop.org/wiki/Exempi/;
2017-04-21 05:10:24 +00:00
platforms = platforms.linux ++ platforms.darwin;
license = licenses.bsd3;
};
}