61f1594378
The last commit that touched this library updated the version number but not the hash. I opted into fixing the version number rather than the hash because actually updating libraw into version 0.16.1 or later causes a build failure in libkdcraw and therefore breaks gwenview (which is one of the main KDE apps).
23 lines
587 B
Nix
23 lines
587 B
Nix
{ stdenv, fetchurl, lcms2, jasper, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libraw-${version}";
|
|
version = "0.16.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.libraw.org/data/LibRaw-${version}.tar.gz";
|
|
sha256 = "15ng4s24grib39r0nlgrf18r2j9yh43qyx4vbif38d95xiqkix3i";
|
|
};
|
|
|
|
buildInputs = [ lcms2 jasper ] ;
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
meta = {
|
|
description = "Library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)";
|
|
homepage = http://www.libraw.org/;
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
};
|
|
}
|
|
|