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

24 lines
655 B
Nix
Raw Normal View History

2017-04-21 07:10:24 +02:00
{ stdenv, fetchurl, expat, zlib, boost, libiconv, darwin }:
stdenv.mkDerivation rec {
2017-03-12 20:33:54 +01:00
name = "exempi-2.4.2";
src = fetchurl {
url = "http://libopenraw.freedesktop.org/download/${name}.tar.bz2";
2017-03-12 20:33:54 +01:00
sha256 = "1v665fc7x0yi7x6lzskvd8bd2anf7951svn2vd5384dblmgv43av";
};
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 ];
meta = with stdenv.lib; {
2014-09-19 20:31:41 +02:00
homepage = http://libopenraw.freedesktop.org/wiki/Exempi/;
2017-04-21 07:10:24 +02:00
platforms = platforms.linux ++ platforms.darwin;
license = licenses.bsd3;
};
}