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

28 lines
704 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}";
2018-01-28 18:09:15 +03:00
version = "0.18.7";
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";
2018-01-28 18:09:15 +03:00
sha256 = "0wap67mb03fl2himbs20yncnnrr71mszsfm2v4spks58c714gqw7";
2014-02-13 06:22:39 +04:00
};
2016-09-19 15:32:54 +03:00
outputs = [ "out" "lib" "dev" "doc" ];
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 = https://www.libraw.org/;
2014-02-13 06:22:39 +04:00
license = stdenv.lib.licenses.gpl2Plus;
2017-07-13 20:38:51 +03:00
platforms = stdenv.lib.platforms.unix;
2014-02-13 06:22:39 +04:00
};
}