mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 09:43:14 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
28 lines
695 B
Nix
28 lines
695 B
Nix
{ stdenv, fetchurl, lcms2, jasper, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libraw";
|
|
version = "0.19.3";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.libraw.org/data/LibRaw-${version}.tar.gz";
|
|
sha256 = "0xs1qb6pcvc4c43fy5xi3nkqxcif77gakkw99irf0fc5iccdd5px";
|
|
};
|
|
|
|
outputs = [ "out" "lib" "dev" "doc" ];
|
|
|
|
buildInputs = [ jasper ];
|
|
|
|
propagatedBuildInputs = [ lcms2 ];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
meta = {
|
|
description = "Library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)";
|
|
homepage = https://www.libraw.org/;
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|
|
|