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

24 lines
629 B
Nix
Raw Normal View History

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