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

24 lines
628 B
Nix
Raw Normal View History

2014-02-12 18:22:39 -08:00
{ stdenv, fetchurl, lcms2, jasper, pkgconfig }:
stdenv.mkDerivation rec {
2015-06-18 22:20:22 -07:00
name = "libraw-${version}";
2015-08-28 17:50:55 -07:00
version = "0.17.0";
2014-02-12 18:22:39 -08:00
src = fetchurl {
2015-06-18 22:20:22 -07:00
url = "http://www.libraw.org/data/LibRaw-${version}.tar.gz";
2015-08-28 17:50:55 -07:00
sha256 = "043kckxjqanw8dl3m9f6kvsf0l20ywxmgxd1xb0slj6m8l4w4hz6";
2014-02-12 18:22:39 -08:00
};
buildInputs = [ lcms2 jasper ];
2014-02-12 18:22:39 -08:00
nativeBuildInputs = [ pkgconfig ];
meta = {
2014-02-12 18:22:39 -08:00
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;
2015-08-28 17:50:55 -07:00
platforms = stdenv.lib.platforms.all;
2014-02-12 18:22:39 -08:00
};
}