mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
4effe769e2
Reapplying the commit from PR #101508 merge, without staging changes.
(cherry picked from commit 0594e27df3
)
30 lines
730 B
Nix
30 lines
730 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, lcms2, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libraw";
|
|
version = "0.20.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "LibRaw";
|
|
repo = "LibRaw";
|
|
rev = version;
|
|
sha256 = "16nm4r2l5501c9zvz25pzajq5id592jhn068scjxhr8np2cblybc";
|
|
};
|
|
|
|
outputs = [ "out" "lib" "dev" "doc" ];
|
|
|
|
propagatedBuildInputs = [ lcms2 ];
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.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;
|
|
};
|
|
}
|
|
|