2020-10-27 00:29:36 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, lcms2, pkgconfig }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libraw";
|
2020-10-27 00:29:36 +00:00
|
|
|
version = "0.20.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-10-27 00:29:36 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LibRaw";
|
|
|
|
repo = "LibRaw";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "16nm4r2l5501c9zvz25pzajq5id592jhn068scjxhr8np2cblybc";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = [ "out" "lib" "dev" "doc" ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ lcms2 ];
|
|
|
|
|
2020-10-27 00:29:36 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-10-27 00:29:36 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)";
|
|
|
|
homepage = "https://www.libraw.org/";
|
2020-10-27 00:29:36 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|