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

26 lines
660 B
Nix
Raw Normal View History

{ stdenv, fetchurl, lcms2, pkgconfig }:
2014-02-13 02:22:39 +00:00
stdenv.mkDerivation rec {
pname = "libraw";
2020-07-25 07:46:20 +01:00
version = "0.20.0";
2014-02-13 02:22:39 +00:00
src = fetchurl {
url = "https://www.libraw.org/data/LibRaw-${version}.tar.gz";
2020-07-25 07:46:20 +01:00
sha256 = "18wlsvj6c1rv036ph3695kknpgzc3lk2ikgshy8417yfl8ykh2hz";
2014-02-13 02:22:39 +00:00
};
2016-09-19 13:32:54 +01:00
outputs = [ "out" "lib" "dev" "doc" ];
propagatedBuildInputs = [ lcms2 ];
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 = "https://www.libraw.org/";
2014-02-13 02:22:39 +00:00
license = stdenv.lib.licenses.gpl2Plus;
2017-07-13 18:38:51 +01:00
platforms = stdenv.lib.platforms.unix;
2014-02-13 02:22:39 +00:00
};
}