nixpkgs-suyu/pkgs/development/ocaml-modules/hex/default.nix

26 lines
698 B
Nix
Raw Normal View History

2020-10-28 06:31:05 +01:00
{ stdenv, fetchurl, buildDunePackage, bigarray-compat, cstruct }:
buildDunePackage rec {
pname = "hex";
2020-10-28 06:31:05 +01:00
version = "1.4.0";
useDune2 = true;
2017-12-05 06:51:44 +01:00
minimumOCamlVersion = "4.02";
2017-12-05 06:51:44 +01:00
src = fetchurl {
2019-02-10 15:44:58 +01:00
url = "https://github.com/mirage/ocaml-${pname}/releases/download/v${version}/hex-v${version}.tbz";
2020-10-28 06:31:05 +01:00
sha256 = "07b9y0lmnflsslkrm6xilkj40n8sf2hjqkyqghnk7sw5l0plkqsp";
};
2020-10-28 06:31:05 +01:00
propagatedBuildInputs = [ bigarray-compat cstruct ];
2015-12-15 22:02:15 +01:00
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 ];
};
}