diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/timed/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/timed/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/timed/default.nix b/pkgs/development/ocaml-modules/timed/default.nix new file mode 100644 index 000000000000..988cb3f5487f --- /dev/null +++ b/pkgs/development/ocaml-modules/timed/default.nix @@ -0,0 +1,28 @@ +{ lib +, fetchFromGitHub +, ocaml +, buildDunePackage +}: + +buildDunePackage rec { + version = "1.1"; + pname = "timed"; + + minimalOCamlVersion = "4.08"; + + src = fetchFromGitHub { + owner = "rlepigre"; + repo = "ocaml-${pname}"; + rev = version; + sha256 = "sha256-wUoI9j/j0IGYW2NfJHmyR2XEYfYejyoYLWnKsuWdFas="; + }; + + doCheck = true; + + meta = with lib; { + description = "Timed references for imperative state"; + homepage = "https://github.com/rlepigre/ocaml-timed"; + license = licenses.mit; + maintainers = with maintainers; [ bcdarwin ]; + }; +} |