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