Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib
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 = [ topkg findlib ocamlbuild ocaml ];
21 buildInputs = [ topkg ];
22
23 inherit (topkg) buildPhase installPhase;
24
25 meta = { inherit (ocaml.meta) platforms; };
26}