ocamlPackages.bytestring: init at 0.0.8

This commit is contained in:
Vincent Laporte 2024-05-22 07:20:51 +02:00 committed by Vincent Laporte
parent 3f656c8d99
commit aa198122d4
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ lib
, buildDunePackage
, fetchurl
, ppxlib
, rio
, sedlex
, spices
, uutf
, qcheck
}:
buildDunePackage rec {
pname = "bytestring";
version = "0.0.8";
minimalOCamlVersion = "5.1";
src = fetchurl {
url = "https://github.com/riot-ml/riot/releases/download/${version}/riot-${version}.tbz";
hash = "sha256-SsiDz53b9bMIT9Q3IwDdB3WKy98WSd9fiieU41qZpeE=";
};
propagatedBuildInputs = [
ppxlib
sedlex
spices
rio
uutf
];
checkInputs = [
qcheck
];
# Checks fail with OCaml 5.2
doCheck = false;
meta = {
description = "Efficient, immutable, pattern-matchable, UTF friendly byte strings";
homepage = "https://github.com/riot-ml/riot";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ];
};
}

View File

@ -119,6 +119,8 @@ let
bwd = callPackage ../development/ocaml-modules/bwd { };
bytestring = callPackage ../development/ocaml-modules/bytestring { };
bz2 = callPackage ../development/ocaml-modules/bz2 { };
### C ###