2014-02-13 02:22:39 +00:00
|
|
|
{ stdenv, fetchurl, lcms2, jasper, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-06-19 05:20:22 +00:00
|
|
|
name = "libraw-${version}";
|
2017-08-19 08:51:46 +00:00
|
|
|
version = "0.18.2";
|
2014-02-13 02:22:39 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-06-19 05:20:22 +00:00
|
|
|
url = "http://www.libraw.org/data/LibRaw-${version}.tar.gz";
|
2017-08-19 08:51:46 +00:00
|
|
|
sha256 = "1imby9x88pjx4ad1frdi3bfb8dw90ccyj5pb6w3i6i0iijrnndnf";
|
2014-02-13 02:22:39 +00:00
|
|
|
};
|
|
|
|
|
2016-09-19 12:32:54 +00:00
|
|
|
outputs = [ "out" "lib" "dev" "doc" ];
|
|
|
|
|
2016-08-12 12:12:36 +00:00
|
|
|
buildInputs = [ jasper ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ lcms2 ];
|
2014-02-13 02:22:39 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
2015-04-20 18:26:09 +00: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 21:50:51 +00:00
|
|
|
homepage = https://www.libraw.org/;
|
2014-02-13 02:22:39 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2017-07-13 17:38:51 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2014-02-13 02:22:39 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|