mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 00:54:11 +00:00
f917848b1e
Semi-automatic update. These checks were performed: - built on NixOS - found 2.4.4 with grep in /nix/store/9039bglagidwg2w8qskvi9l6mbmvwdvh-exempi-2.4.4 - found 2.4.4 in filename of file in /nix/store/9039bglagidwg2w8qskvi9l6mbmvwdvh-exempi-2.4.4
24 lines
656 B
Nix
24 lines
656 B
Nix
{ stdenv, fetchurl, expat, zlib, boost, libiconv, darwin }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "exempi-2.4.4";
|
|
|
|
src = fetchurl {
|
|
url = "http://libopenraw.freedesktop.org/download/${name}.tar.bz2";
|
|
sha256 = "1c1xxiw9lazdaz4zvrnvcy9pif9l1wib7zy91m48i7a4bnf9mmd2";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|