nixpkgs/pkgs/development/ocaml-modules/ohex/default.nix
2024-10-21 07:01:12 +02:00

26 lines
501 B
Nix

{
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 ];
};
}