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

26 lines
660 B
Nix
Raw Normal View History

{ stdenv, fetchurl, lcms2, pkgconfig }:
2014-02-12 18:22:39 -08:00
stdenv.mkDerivation rec {
pname = "libraw";
2020-07-24 23:46:20 -07:00
version = "0.20.0";
2014-02-12 18:22:39 -08:00
src = fetchurl {
url = "https://www.libraw.org/data/LibRaw-${version}.tar.gz";
2020-07-24 23:46:20 -07:00
sha256 = "18wlsvj6c1rv036ph3695kknpgzc3lk2ikgshy8417yfl8ykh2hz";
2014-02-12 18:22:39 -08:00
};
2016-09-19 05:32:54 -07:00
outputs = [ "out" "lib" "dev" "doc" ];
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
};
}