2014-02-13 02:22:39 +00:00
|
|
|
{ stdenv, fetchurl, lcms2, jasper, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-06-19 06:20:22 +01:00
|
|
|
name = "libraw-${version}";
|
2019-01-03 12:30:21 +00:00
|
|
|
version = "0.19.2";
|
2014-02-13 02:22:39 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://www.libraw.org/data/LibRaw-${version}.tar.gz";
|
2019-01-03 12:30:21 +00:00
|
|
|
sha256 = "0i4nhjm5556xgn966x0i503ygk2wafq6z83kg0lisacjjab4f3a0";
|
2014-02-13 02:22:39 +00:00
|
|
|
};
|
|
|
|
|
2016-09-19 13:32:54 +01:00
|
|
|
outputs = [ "out" "lib" "dev" "doc" ];
|
|
|
|
|
2016-08-12 13:12:36 +01:00
|
|
|
buildInputs = [ jasper ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ lcms2 ];
|
2014-02-13 02:22:39 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
2015-04-20 19:26:09 +01:00
|
|
|
meta = {
|
2014-02-13 02:22:39 +00:00
|
|
|
description = "Library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)";
|
2017-08-02 22:50:51 +01:00
|
|
|
homepage = https://www.libraw.org/;
|
2014-02-13 02:22:39 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2017-07-13 18:38:51 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2014-02-13 02:22:39 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|