34682ddc49
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 2.4.5 with grep in /nix/store/l4nmjlanshgdwrh95g1h0714zcm1kk3z-exempi-2.4.5 - directory tree listing: https://gist.github.com/2d437e9ea408cfda7abaa772865a0b82
24 lines
656 B
Nix
24 lines
656 B
Nix
{ 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";
|
|
};
|
|
|
|
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 = https://libopenraw.freedesktop.org/wiki/Exempi/;
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|