3e2acf8aff
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
30 lines
859 B
Nix
30 lines
859 B
Nix
{ lib, fetchurl, buildDunePackage
|
|
, checkseum, bigarray-compat, optint, cmdliner
|
|
, bigstringaf, alcotest, camlzip, base64, ctypes, fmt
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
version = "1.4.0";
|
|
pname = "decompress";
|
|
|
|
minimumOCamlVersion = "4.07";
|
|
|
|
useDune2 = true;
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/decompress/releases/download/v${version}/decompress-v${version}.tbz";
|
|
sha256 = "d1669e07446d73dd5e16f020d4a1682abcbb1b7a1e3bf19b805429636c26a19b";
|
|
};
|
|
|
|
buildInputs = [ cmdliner ];
|
|
propagatedBuildInputs = [ optint bigarray-compat checkseum ];
|
|
checkInputs = [ alcotest bigstringaf ctypes fmt camlzip base64 ];
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "Pure OCaml implementation of Zlib";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
homepage = "https://github.com/mirage/decompress";
|
|
};
|
|
}
|