libraw: 0.20.0 -> 0.20.2
Reapplying the commit from PR #101508 merge, without staging changes.
(cherry picked from commit 0594e27df3
)
This commit is contained in:
parent
961aebb1c8
commit
4effe769e2
1 changed files with 13 additions and 9 deletions
|
@ -1,25 +1,29 @@
|
||||||
{ stdenv, fetchurl, lcms2, pkgconfig }:
|
{ stdenv, fetchFromGitHub, autoreconfHook, lcms2, pkgconfig }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libraw";
|
pname = "libraw";
|
||||||
version = "0.20.0";
|
version = "0.20.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://www.libraw.org/data/LibRaw-${version}.tar.gz";
|
owner = "LibRaw";
|
||||||
sha256 = "18wlsvj6c1rv036ph3695kknpgzc3lk2ikgshy8417yfl8ykh2hz";
|
repo = "LibRaw";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "16nm4r2l5501c9zvz25pzajq5id592jhn068scjxhr8np2cblybc";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "lib" "dev" "doc" ];
|
outputs = [ "out" "lib" "dev" "doc" ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ lcms2 ];
|
propagatedBuildInputs = [ lcms2 ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
|
|
||||||
meta = {
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
description = "Library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)";
|
description = "Library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)";
|
||||||
homepage = "https://www.libraw.org/";
|
homepage = "https://www.libraw.org/";
|
||||||
license = stdenv.lib.licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue