nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildDunePackage,
4 fetchFromGitLab,
5 ocaml,
6}:
7
8buildDunePackage rec {
9 pname = "memprof-limits";
10 version = "0.2.1";
11
12 src = fetchFromGitLab {
13 owner = "gadmm";
14 repo = pname;
15 rev = "v${version}";
16 hash = "sha256-Pmuln5TihPoPZuehZlqPfERif6lf7O+0454kW9y3aKc=";
17 };
18
19 minimalOCamlVersion = "4.12";
20
21 meta = {
22 homepage = "https://ocaml.org/p/memprof-limits/latest";
23 description = "Memory limits, allocation limits, and thread cancellation for OCaml";
24 license = lib.licenses.lgpl3;
25 maintainers = with lib.maintainers; [ alizter ];
26 broken = !(lib.versionOlder ocaml.version "5.0.0");
27 };
28}