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

28 lines
695 B
Nix
Raw Normal View History

2014-02-12 18:22:39 -08:00
{ stdenv, fetchurl, lcms2, jasper, pkgconfig }:
stdenv.mkDerivation rec {
pname = "libraw";
version = "0.19.3";
2014-02-12 18:22:39 -08:00
src = fetchurl {
url = "https://www.libraw.org/data/LibRaw-${version}.tar.gz";
sha256 = "0xs1qb6pcvc4c43fy5xi3nkqxcif77gakkw99irf0fc5iccdd5px";
2014-02-12 18:22:39 -08:00
};
2016-09-19 05:32:54 -07:00
outputs = [ "out" "lib" "dev" "doc" ];
buildInputs = [ jasper ];
propagatedBuildInputs = [ lcms2 ];
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 = https://www.libraw.org/;
2014-02-12 18:22:39 -08:00
license = stdenv.lib.licenses.gpl2Plus;
2017-07-13 10:38:51 -07:00
platforms = stdenv.lib.platforms.unix;
2014-02-12 18:22:39 -08:00
};
}