depot/third_party/nixpkgs/pkgs/development/ocaml-modules/hex/default.nix
Default email a4fd2de975 Project import generated by Copybara.
GitOrigin-RevId: 34ad166a830d3ac1541dcce571c52231f2f0865a
2020-11-02 21:18:15 -05:00

25 lines
698 B
Nix

{ stdenv, fetchurl, buildDunePackage, bigarray-compat, cstruct }:
buildDunePackage rec {
pname = "hex";
version = "1.4.0";
useDune2 = true;
minimumOCamlVersion = "4.02";
src = fetchurl {
url = "https://github.com/mirage/ocaml-${pname}/releases/download/v${version}/hex-v${version}.tbz";
sha256 = "07b9y0lmnflsslkrm6xilkj40n8sf2hjqkyqghnk7sw5l0plkqsp";
};
propagatedBuildInputs = [ bigarray-compat cstruct ];
doCheck = true;
meta = {
description = "Mininal OCaml library providing hexadecimal converters";
homepage = "https://github.com/mirage/ocaml-hex";
license = stdenv.lib.licenses.isc;
maintainers = with stdenv.lib.maintainers; [ vbgl ];
};
}