nixpkgs/pkgs/development/libraries/libraw/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
793 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, lcms2, pkg-config }:
2014-02-13 02:22:39 +00:00
stdenv.mkDerivation {
pname = "libraw";
version = "0.20.2.p2";
2014-02-13 02:22:39 +00:00
src = fetchFromGitHub {
owner = "LibRaw";
repo = "LibRaw";
rev = "fedad11e87daad7b7d389a3ef84ccf10b5e84710"; # current 0.20-stable branch
sha256 = "1mklf8lzybzyg75ja34822xlv6h9nw93griyrjjna7darl1dyvja";
2014-02-13 02:22:39 +00:00
};
2016-09-19 12:32:54 +00:00
outputs = [ "out" "lib" "dev" "doc" ];
propagatedBuildInputs = [ lcms2 ];
2014-02-13 02:22:39 +00:00
nativeBuildInputs = [ autoreconfHook pkg-config ];
2014-02-13 02:22:39 +00:00
enableParallelBuilding = true;
meta = with lib; {
2014-02-13 02:22:39 +00:00
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;
2014-02-13 02:22:39 +00:00
};
}