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

26 lines
660 B
Nix
Raw Normal View History

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