Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 31 lines 909 B view raw
1{ lib, fetchurl, buildDunePackage 2, checkseum, optint, cmdliner 3, bigstringaf, alcotest, camlzip, base64, ctypes, fmt, crowbar, rresult 4, astring, bos 5}: 6 7buildDunePackage rec { 8 pname = "decompress"; 9 version = "1.5.2"; 10 11 minimalOCamlVersion = "4.08"; 12 duneVersion = "3"; 13 14 src = fetchurl { 15 url = "https://github.com/mirage/decompress/releases/download/v${version}/decompress-${version}.tbz"; 16 hash = "sha256-qMmmuhMlFNVq02JvvV55EkhEg2AQNQ7hYdQ7spv1di4="; 17 }; 18 19 buildInputs = [ cmdliner ]; 20 propagatedBuildInputs = [ optint checkseum ]; 21 checkInputs = [ alcotest astring bigstringaf bos ctypes fmt camlzip base64 crowbar rresult ]; 22 doCheck = true; 23 24 meta = { 25 description = "Pure OCaml implementation of Zlib"; 26 homepage = "https://github.com/mirage/decompress"; 27 license = lib.licenses.mit; 28 maintainers = [ lib.maintainers.vbgl ]; 29 mainProgram = "decompress.pipe"; 30 }; 31}