python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / libraw / default.nix
blob758b00febf5fc387eeba8de8a68c16fde79d1710
1 { lib, stdenv, fetchFromGitHub, autoreconfHook, lcms2, pkg-config }:
3 stdenv.mkDerivation {
4   pname = "libraw";
5   version = "0.20.2.p2";
7   src = fetchFromGitHub {
8     owner = "LibRaw";
9     repo = "LibRaw";
10     rev = "fedad11e87daad7b7d389a3ef84ccf10b5e84710"; # current 0.20-stable branch
11     sha256 = "1mklf8lzybzyg75ja34822xlv6h9nw93griyrjjna7darl1dyvja";
12   };
14   outputs = [ "out" "lib" "dev" "doc" ];
16   propagatedBuildInputs = [ lcms2 ];
18   nativeBuildInputs = [ autoreconfHook pkg-config ];
20   enableParallelBuilding = true;
22   meta = with lib; {
23     description = "Library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)";
24     homepage = "https://www.libraw.org/";
25     license = licenses.gpl2Plus;
26     platforms = platforms.unix;
27   };