nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 24 lines 577 B view raw
1{ lib, buildDunePackage, fetchurl, alcotest }: 2 3buildDunePackage rec { 4 pname = "gmap"; 5 version = "0.3.0"; 6 7 src = fetchurl { 8 url = "https://github.com/hannesm/gmap/releases/download/${version}/gmap-${version}.tbz"; 9 sha256 = "073wa0lrb0jj706j87cwzf1a8d1ff14100mnrjs8z3xc4ri9xp84"; 10 }; 11 12 minimumOCamlVersion = "4.03"; 13 14 buildInputs = [ alcotest ]; 15 16 doCheck = true; 17 18 meta = { 19 description = "Heterogenous maps over a GADT"; 20 homepage = "https://github.com/hannesm/gmap"; 21 license = lib.licenses.isc; 22 maintainers = [ lib.maintainers.vbgl ]; 23 }; 24}