2020-10-23 15:40:06 -07:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, lcms2, pkgconfig }:
|
2014-02-12 18:22:39 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "libraw";
|
2020-10-23 15:40:06 -07:00
|
|
|
version = "0.20.2";
|
2014-02-12 18:22:39 -08:00
|
|
|
|
2020-10-23 15:40:06 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LibRaw";
|
|
|
|
repo = "LibRaw";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "16nm4r2l5501c9zvz25pzajq5id592jhn068scjxhr8np2cblybc";
|
2014-02-12 18:22:39 -08:00
|
|
|
};
|
|
|
|
|
2016-09-19 05:32:54 -07:00
|
|
|
outputs = [ "out" "lib" "dev" "doc" ];
|
|
|
|
|
2016-08-12 05:12:36 -07:00
|
|
|
propagatedBuildInputs = [ lcms2 ];
|
2014-02-12 18:22:39 -08:00
|
|
|
|
2020-10-23 15:40:06 -07:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2014-02-12 18:22:39 -08:00
|
|
|
|
2020-10-23 15:40:06 -07:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2014-02-12 18:22:39 -08:00
|
|
|
description = "Library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://www.libraw.org/";
|
2020-10-23 15:40:06 -07:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
2014-02-12 18:22:39 -08:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|