Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage, fetchurl }:
2
3buildDunePackage rec {
4 pname = "mirage-clock";
5 version = "3.1.0";
6
7 useDune2 = true;
8
9 minimumOCamlVersion = "4.06";
10
11 src = fetchurl {
12 url = "https://github.com/mirage/mirage-clock/releases/download/v${version}/mirage-clock-v${version}.tbz";
13 sha256 = "0cqa07aqkamw0dvis1fl46brvk81zvb92iy5076ik62gv9n5a0mn";
14 };
15
16 meta = {
17 description = "Libraries and module types for portable clocks";
18 homepage = "https://github.com/mirage/mirage-clock";
19 license = lib.licenses.isc;
20 maintainers = [ lib.maintainers.vbgl ];
21 };
22}
23
24