Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 24 lines 645 B view raw
1{ lib, fetchurl, buildDunePackage, cstruct }: 2 3buildDunePackage rec { 4 pname = "hex"; 5 version = "1.5.0"; 6 7 duneVersion = "3"; 8 minimalOCamlVersion = "4.08"; 9 10 src = fetchurl { 11 url = "https://github.com/mirage/ocaml-${pname}/releases/download/v${version}/hex-${version}.tbz"; 12 hash = "sha256-LmfuyhsDBJMHowgxtc1pS8stPn8qa0+1l/vbZHNRtNw="; 13 }; 14 15 propagatedBuildInputs = [ cstruct ]; 16 doCheck = true; 17 18 meta = { 19 description = "Mininal OCaml library providing hexadecimal converters"; 20 homepage = "https://github.com/mirage/ocaml-hex"; 21 license = lib.licenses.isc; 22 maintainers = with lib.maintainers; [ vbgl ]; 23 }; 24}