mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
c7e16f5ce5
Fixes at least CVE-2017-13735, CVE-2017-14265, CVE-2017-14348.
28 lines
704 B
Nix
28 lines
704 B
Nix
{ stdenv, fetchurl, lcms2, jasper, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libraw-${version}";
|
|
version = "0.18.5";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.libraw.org/data/LibRaw-${version}.tar.gz";
|
|
sha256 = "0y519nlvl4bfnnxbwry35f6gbcv6jbbpd2lmiwv6pbyzv4a7saps";
|
|
};
|
|
|
|
outputs = [ "out" "lib" "dev" "doc" ];
|
|
|
|
buildInputs = [ jasper ];
|
|
|
|
propagatedBuildInputs = [ lcms2 ];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
meta = {
|
|
description = "Library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)";
|
|
homepage = https://www.libraw.org/;
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|
|
|