1 { lib, stdenv, fetchFromGitHub, autoreconfHook, lcms2, pkg-config }:
7 src = fetchFromGitHub {
10 rev = "fedad11e87daad7b7d389a3ef84ccf10b5e84710"; # current 0.20-stable branch
11 sha256 = "1mklf8lzybzyg75ja34822xlv6h9nw93griyrjjna7darl1dyvja";
14 outputs = [ "out" "lib" "dev" "doc" ];
16 propagatedBuildInputs = [ lcms2 ];
18 nativeBuildInputs = [ autoreconfHook pkg-config ];
20 enableParallelBuilding = true;
23 description = "Library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)";
24 homepage = "https://www.libraw.org/";
25 license = licenses.gpl2Plus;
26 platforms = platforms.unix;