at 24.11-pre 30 lines 888 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.3"; 10 11 minimalOCamlVersion = "4.08"; 12 13 src = fetchurl { 14 url = "https://github.com/mirage/decompress/releases/download/v${version}/decompress-${version}.tbz"; 15 hash = "sha256-+R5peL7/P8thRA0y98mcmfHoZUtPsYQIdB02A1NzrGA="; 16 }; 17 18 buildInputs = [ cmdliner ]; 19 propagatedBuildInputs = [ optint checkseum ]; 20 checkInputs = [ alcotest astring bigstringaf bos ctypes fmt camlzip base64 crowbar rresult ]; 21 doCheck = true; 22 23 meta = { 24 description = "Pure OCaml implementation of Zlib"; 25 homepage = "https://github.com/mirage/decompress"; 26 license = lib.licenses.mit; 27 maintainers = [ lib.maintainers.vbgl ]; 28 mainProgram = "decompress.pipe"; 29 }; 30}