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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
645 B
Nix
Raw Normal View History

2023-03-22 13:10:51 +00:00
{ lib, fetchurl, buildDunePackage, cstruct }:
buildDunePackage rec {
pname = "hex";
2023-03-22 13:10:51 +00:00
version = "1.5.0";
2020-10-28 05:31:05 +00:00
2023-03-22 13:10:51 +00:00
duneVersion = "3";
minimalOCamlVersion = "4.08";
2017-12-05 05:51:44 +00:00
src = fetchurl {
2023-03-22 13:10:51 +00:00
url = "https://github.com/mirage/ocaml-${pname}/releases/download/v${version}/hex-${version}.tbz";
hash = "sha256-LmfuyhsDBJMHowgxtc1pS8stPn8qa0+1l/vbZHNRtNw=";
};
2023-03-22 13:10:51 +00:00
propagatedBuildInputs = [ cstruct ];
2015-12-15 21:02:15 +00:00
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 ];
};
}