Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 26 lines 650 B view raw
1{ lib, buildDunePackage, ocaml, fetchurl, alcotest, fmt }: 2 3buildDunePackage rec { 4 pname = "gmap"; 5 version = "0.3.0"; 6 7 duneVersion = "3"; 8 9 src = fetchurl { 10 url = "https://github.com/hannesm/gmap/releases/download/${version}/gmap-${version}.tbz"; 11 sha256 = "073wa0lrb0jj706j87cwzf1a8d1ff14100mnrjs8z3xc4ri9xp84"; 12 }; 13 14 minimalOCamlVersion = "4.03"; 15 16 checkInputs = [ alcotest fmt ]; 17 18 doCheck = lib.versionAtLeast ocaml.version "4.08"; 19 20 meta = { 21 description = "Heterogenous maps over a GADT"; 22 homepage = "https://github.com/hannesm/gmap"; 23 license = lib.licenses.isc; 24 maintainers = [ lib.maintainers.vbgl ]; 25 }; 26}