28 lines
704 B
Nix
28 lines
704 B
Nix
{ stdenv, fetchurl, lcms2, jasper, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libraw-${version}";
|
|
version = "0.18.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.libraw.org/data/LibRaw-${version}.tar.gz";
|
|
sha256 = "1imby9x88pjx4ad1frdi3bfb8dw90ccyj5pb6w3i6i0iijrnndnf";
|
|
};
|
|
|
|
outputs = [ "out" "lib" "dev" "doc" ];
|
|
|
|
buildInputs = [ jasper ];
|
|
|
|
propagatedBuildInputs = [ lcms2 ];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
meta = {
|
|
description = "Library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)";
|
|
homepage = https://www.libraw.org/;
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|
|
|