ocamlPackages.rusage: init at 1.0.0

This commit is contained in:
Vincent Laporte 2023-02-04 21:27:08 +01:00
parent 5a6b558d00
commit 3b3b487436
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{ lib, fetchurl, buildDunePackage }:
buildDunePackage rec {
pname = "rusage";
version = "1.0.0";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/CraigFe/ocaml-rusage/releases/download/${version}/rusage-${version}.tbz";
hash = "sha256-OgYA2Fe1goqoaOS45Z6FBJNNYN/uq+KQoUwG8KSo6Fk=";
};
meta = {
description = "Bindings to the GETRUSAGE(2) syscall";
homepage = "https://github.com/CraigFe/ocaml-rusage";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}

View file

@ -1233,6 +1233,8 @@ let
rock = callPackage ../development/ocaml-modules/rock { }; rock = callPackage ../development/ocaml-modules/rock { };
rusage = callPackage ../development/ocaml-modules/rusage { };
samplerate = callPackage ../development/ocaml-modules/samplerate { }; samplerate = callPackage ../development/ocaml-modules/samplerate { };
secp256k1 = callPackage ../development/ocaml-modules/secp256k1 { secp256k1 = callPackage ../development/ocaml-modules/secp256k1 {