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