Files
nixpkgs/pkgs/development/ocaml-modules/hex/default.nix
Ben Siraphob f82dc8ebe9 pkgs/development: fix typos
Assisted-by: Claude Code (claude-opus-5)
2026-08-02 15:56:57 -07:00

30 lines
681 B
Nix

{
lib,
fetchurl,
buildDunePackage,
cstruct,
}:
buildDunePackage (finalAttrs: {
pname = "hex";
version = "1.5.0";
duneVersion = "3";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/mirage/ocaml-hex/releases/download/v${finalAttrs.version}/hex-${finalAttrs.version}.tbz";
hash = "sha256-LmfuyhsDBJMHowgxtc1pS8stPn8qa0+1l/vbZHNRtNw=";
};
propagatedBuildInputs = [ cstruct ];
doCheck = true;
meta = {
description = "Minimal OCaml library providing hexadecimal converters";
homepage = "https://github.com/mirage/ocaml-hex";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ vbgl ];
};
})