Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 27 lines 705 B view raw
1{ stdenv, fetchurl, lcms2, jasper, pkgconfig }: 2 3stdenv.mkDerivation rec { 4 name = "libraw-${version}"; 5 version = "0.18.11"; 6 7 src = fetchurl { 8 url = "http://www.libraw.org/data/LibRaw-${version}.tar.gz"; 9 sha256 = "07a7k83hx7icahh6jaxfbd7pw5jjm5i11xcqjj31b28d1aj29xvw"; 10 }; 11 12 outputs = [ "out" "lib" "dev" "doc" ]; 13 14 buildInputs = [ jasper ]; 15 16 propagatedBuildInputs = [ lcms2 ]; 17 18 nativeBuildInputs = [ pkgconfig ]; 19 20 meta = { 21 description = "Library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)"; 22 homepage = https://www.libraw.org/; 23 license = stdenv.lib.licenses.gpl2Plus; 24 platforms = stdenv.lib.platforms.unix; 25 }; 26} 27