mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
255fe81ed6
The fixes are potentially relevant from security point of view.
30 lines
793 B
Nix
30 lines
793 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, lcms2, pkg-config }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "libraw";
|
|
version = "0.20.2.p2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "LibRaw";
|
|
repo = "LibRaw";
|
|
rev = "fedad11e87daad7b7d389a3ef84ccf10b5e84710"; # current 0.20-stable branch
|
|
sha256 = "1mklf8lzybzyg75ja34822xlv6h9nw93griyrjjna7darl1dyvja";
|
|
};
|
|
|
|
outputs = [ "out" "lib" "dev" "doc" ];
|
|
|
|
propagatedBuildInputs = [ lcms2 ];
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "Library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)";
|
|
homepage = "https://www.libraw.org/";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|
|
|