nixpkgs/pkgs/development/libraries/libraw/default.nix
2016-04-21 23:03:46 +02:00

24 lines
628 B
Nix

{ stdenv, fetchurl, lcms2, jasper, pkgconfig }:
stdenv.mkDerivation rec {
name = "libraw-${version}";
version = "0.17.1";
src = fetchurl {
url = "http://www.libraw.org/data/LibRaw-${version}.tar.gz";
sha256 = "18fygk896gxbx47nh2rn5jp4skisgkl6pdfjqb7h0zn39hd6b6g5";
};
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;
platforms = stdenv.lib.platforms.all;
};
}