git.iko.soy/typeable/nixpkgs
on master help sign in
libraw: 0.20.0 -> 0.20.2

Reapplying the commit from PR #101508 merge, without staging changes. (cherry picked from commit 0594e27df32346d3953d3f025d283451bfd7561a)

commit4effe769e2b892aa2d406486b2800e4309b565af authorTredwellGit <tredwell@tutanota.com> dateFri 23 Oct 2020, 22:40 (6 years ago) parent961aebb
1 file changed+13−9
pkgs/development/libraries/libraw/default.nix+13−9
pkgs/development/libraries/libraw/default.nix+13−9
@@ -1,25 +1,29 @@
1−{ stdenv, fetchurl, lcms2, pkgconfig }:
1+{ stdenv, fetchFromGitHub, autoreconfHook, lcms2, pkgconfig }:
22
33stdenv.mkDerivation rec {
44 pname = "libraw";
5− version = "0.20.0";
5+ version = "0.20.2";
66
7− src = fetchurl {
8− url = "https://www.libraw.org/data/LibRaw-${version}.tar.gz";
9− sha256 = "18wlsvj6c1rv036ph3695kknpgzc3lk2ikgshy8417yfl8ykh2hz";
7+ src = fetchFromGitHub {
8+ owner = "LibRaw";
9+ repo = "LibRaw";
10+ rev = version;
11+ sha256 = "16nm4r2l5501c9zvz25pzajq5id592jhn068scjxhr8np2cblybc";
1012 };
1113
1214 outputs = [ "out" "lib" "dev" "doc" ];
1315
1416 propagatedBuildInputs = [ lcms2 ];
1517
16− nativeBuildInputs = [ pkgconfig ];
18+ nativeBuildInputs = [ autoreconfHook pkgconfig ];
1719
18− meta = {
20+ enableParallelBuilding = true;
21+
22+ meta = with stdenv.lib; {
1923 description = "Library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)";
2024 homepage = "https://www.libraw.org/";
21− license = stdenv.lib.licenses.gpl2Plus;
22− platforms = stdenv.lib.platforms.unix;
25+ license = licenses.gpl2Plus;
26+ platforms = platforms.unix;
2327 };
2428}
2529