nixpkgs/pkgs/development/ocaml-modules/rusage/default.nix
2023-02-04 22:14:29 +01:00

21 lines
530 B
Nix

{ 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 ];
};
}