2020-03-14 08:30:31 +00:00
|
|
|
{ stdenv, fetchurl, lcms2, pkgconfig }:
|
2014-02-13 02:22:39 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libraw";
|
2020-07-25 07:46:20 +01:00
|
|
|
version = "0.20.0";
|
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";
|
2020-07-25 07:46:20 +01:00
|
|
|
sha256 = "18wlsvj6c1rv036ph3695kknpgzc3lk2ikgshy8417yfl8ykh2hz";
|
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
|
|
|
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)";
|
2020-04-01 02:11: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
|
|
|
};
|
|
|
|
}
|
|
|
|
|