ocamlPackages.ohex: init at 0.2.0

This commit is contained in:
Vincent Laporte 2024-10-11 21:06:45 +02:00 committed by Vincent Laporte
parent 6d59693e05
commit 33546d99d4
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{
lib,
fetchurl,
buildDunePackage,
alcotest,
}:
buildDunePackage rec {
pname = "ohex";
version = "0.2.0";
src = fetchurl {
url = "https://github.com/ocaml/opam-source-archives/raw/main/ohex-${version}.tar.gz";
hash = "sha256-prV7rbo0sAx3S2t4YtjniJEVq43uLXK8ZMsqoMzn2Ow=";
};
doCheck = true;
checkInputs = [ alcotest ];
meta = {
description = "Hexadecimal encoding and decoding";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vbgl ];
};
}

View File

@ -1407,6 +1407,8 @@ let
ogg = callPackage ../development/ocaml-modules/ogg { };
ohex = callPackage ../development/ocaml-modules/ohex { };
ojs = callPackage ../development/ocaml-modules/gen_js_api/ojs.nix { };
omd = callPackage ../development/ocaml-modules/omd { };