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}";
|
2015-08-29 01:50:55 +01:00
|
|
|
version = "0.17.0";
|
2014-02-13 02:22:39 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-06-19 06:20:22 +01:00
|
|
|
url = "http://www.libraw.org/data/LibRaw-${version}.tar.gz";
|
2015-08-29 01:50:55 +01:00
|
|
|
sha256 = "043kckxjqanw8dl3m9f6kvsf0l20ywxmgxd1xb0slj6m8l4w4hz6";
|
2014-02-13 02:22:39 +00:00
|
|
|
};
|
|
|
|
|
2015-04-20 19:26:09 +01:00
|
|
|
buildInputs = [ lcms2 jasper (stdenv.cc.cc.lib or null) ] ;
|
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)";
|
|
|
|
homepage = http://www.libraw.org/;
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2015-08-29 01:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2014-02-13 02:22:39 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|