mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
24 lines
655 B
Nix
24 lines
655 B
Nix
{ stdenv, fetchurl, expat, zlib, boost, libiconv, darwin }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "exempi-2.4.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://libopenraw.freedesktop.org/download/${name}.tar.bz2";
|
|
sha256 = "1v665fc7x0yi7x6lzskvd8bd2anf7951svn2vd5384dblmgv43av";
|
|
};
|
|
|
|
configureFlags = [
|
|
"--with-boost=${boost.dev}"
|
|
];
|
|
|
|
buildInputs = [ expat zlib boost ]
|
|
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.CoreServices ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://libopenraw.freedesktop.org/wiki/Exempi/;
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|