3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libraw/default.nix

28 lines
704 B
Nix
Raw Normal View History

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}";
version = "0.18.5";
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";
sha256 = "0y519nlvl4bfnnxbwry35f6gbcv6jbbpd2lmiwv6pbyzv4a7saps";
2014-02-13 02:22:39 +00:00
};
2016-09-19 13:32:54 +01:00
outputs = [ "out" "lib" "dev" "doc" ];
buildInputs = [ jasper ];
propagatedBuildInputs = [ lcms2 ];
2014-02-13 02:22:39 +00:00
nativeBuildInputs = [ pkgconfig ];
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 = 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
};
}