depot/third_party/nixpkgs/pkgs/development/ocaml-modules/hex/default.nix
Default email 410b979fe2 Project import generated by Copybara.
GitOrigin-RevId: a64e169e396460d6b5763a1de1dd197df8421688
2023-03-24 01:07:29 +01:00

24 lines
645 B
Nix

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