Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 fetchurl, 3 buildDunePackage, 4 topkg, 5 findlib, 6 ocamlbuild, 7 ocaml, 8}: 9 10buildDunePackage rec { 11 pname = "asetmap"; 12 version = "0.8.1"; 13 src = fetchurl { 14 url = "https://github.com/dbuenzli/asetmap/archive/refs/tags/v${version}.tar.gz"; 15 sha256 = "051ky0k62xp4inwi6isif56hx5ggazv4jrl7s5lpvn9cj8329frj"; 16 }; 17 18 strictDeps = true; 19 20 nativeBuildInputs = [ 21 topkg 22 findlib 23 ocamlbuild 24 ocaml 25 ]; 26 buildInputs = [ topkg ]; 27 28 inherit (topkg) buildPhase installPhase; 29 30 meta = { inherit (ocaml.meta) platforms; }; 31}