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

24 lines
628 B
Nix
Raw Normal View History

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