Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchurl, buildDunePackage }:
2
3buildDunePackage rec {
4 pname = "rusage";
5 version = "1.0.0";
6
7 duneVersion = "3";
8
9 src = fetchurl {
10 url = "https://github.com/CraigFe/ocaml-rusage/releases/download/${version}/rusage-${version}.tbz";
11 hash = "sha256-OgYA2Fe1goqoaOS45Z6FBJNNYN/uq+KQoUwG8KSo6Fk=";
12 };
13
14 meta = {
15 description = "Bindings to the GETRUSAGE(2) syscall";
16 homepage = "https://github.com/CraigFe/ocaml-rusage";
17 license = lib.licenses.mit;
18 maintainers = [ lib.maintainers.vbgl ];
19 };
20}