nixpkgs-suyu/pkgs/development/libraries/libraw/default.nix

28 lines
705 B
Nix
Raw Normal View History

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}";
version = "0.19.2";
2014-02-13 03:22:39 +01:00
src = fetchurl {
url = "https://www.libraw.org/data/LibRaw-${version}.tar.gz";
sha256 = "0i4nhjm5556xgn966x0i503ygk2wafq6z83kg0lisacjjab4f3a0";
2014-02-13 03:22:39 +01:00
};
2016-09-19 14:32:54 +02:00
outputs = [ "out" "lib" "dev" "doc" ];
buildInputs = [ jasper ];
propagatedBuildInputs = [ lcms2 ];
2014-02-13 03:22:39 +01:00
nativeBuildInputs = [ pkgconfig ];
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)";
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
};
}