mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
25 lines
645 B
Nix
25 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 ];
|
|
};
|
|
}
|