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