mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
09e0cc7cc7
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated https://repology.org/repository/nix_stable/problems
24 lines
656 B
Nix
24 lines
656 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 = https://libopenraw.freedesktop.org/wiki/Exempi/;
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|