mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
3a38cef8f9
Jasper has been marked insecure for a while, and upstream has not been responsive to CVEs for over a year. Fixes #55388. Signed-off-by: David Anderson <dave@natulte.net>
26 lines
660 B
Nix
26 lines
660 B
Nix
{ stdenv, fetchurl, lcms2, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libraw";
|
|
version = "0.20.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.libraw.org/data/LibRaw-${version}.tar.gz";
|
|
sha256 = "18wlsvj6c1rv036ph3695kknpgzc3lk2ikgshy8417yfl8ykh2hz";
|
|
};
|
|
|
|
outputs = [ "out" "lib" "dev" "doc" ];
|
|
|
|
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;
|
|
};
|
|
}
|
|
|