4bac34ead1
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
31 lines
909 B
Nix
31 lines
909 B
Nix
{ lib, fetchurl, buildDunePackage
|
|
, checkseum, optint, cmdliner
|
|
, bigstringaf, alcotest, camlzip, base64, ctypes, fmt, crowbar, rresult
|
|
, astring, bos
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "decompress";
|
|
version = "1.5.2";
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
duneVersion = "3";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/decompress/releases/download/v${version}/decompress-${version}.tbz";
|
|
hash = "sha256-qMmmuhMlFNVq02JvvV55EkhEg2AQNQ7hYdQ7spv1di4=";
|
|
};
|
|
|
|
buildInputs = [ cmdliner ];
|
|
propagatedBuildInputs = [ optint checkseum ];
|
|
checkInputs = [ alcotest astring bigstringaf bos ctypes fmt camlzip base64 crowbar rresult ];
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "Pure OCaml implementation of Zlib";
|
|
homepage = "https://github.com/mirage/decompress";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
mainProgram = "decompress.pipe";
|
|
};
|
|
}
|