aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/mirage-clock
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2020-04-08 08:24:35 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2020-04-14 06:25:03 +0200
commitd7ee3bc9683435fb24e2ee7a6c4db3c0afac7e48 (patch)
tree67270ffc6e919fbf877802109876fcd6325fa4fc /pkgs/development/ocaml-modules/mirage-clock
parentad098ac026203cb8d024d7ac4f0f3fa6af87262b (diff)
ocamlPackages.mirage-clock: init at 3.0.1
Diffstat (limited to 'pkgs/development/ocaml-modules/mirage-clock')
-rw-r--r--pkgs/development/ocaml-modules/mirage-clock/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/mirage-clock/default.nix b/pkgs/development/ocaml-modules/mirage-clock/default.nix
new file mode 100644
index 000000000000..c5f0b1fc93c1
--- /dev/null
+++ b/pkgs/development/ocaml-modules/mirage-clock/default.nix
@@ -0,0 +1,20 @@
+{ lib, buildDunePackage, fetchurl }:
+
+buildDunePackage rec {
+ pname = "mirage-clock";
+ version = "3.0.1";
+
+ src = fetchurl {
+ url = "https://github.com/mirage/mirage-clock/releases/download/v${version}/mirage-clock-v${version}.tbz";
+ sha256 = "12m2dph69r843clrbcgfjj2gcxmq2kdb7g5d91kfj16g13b0vsa3";
+ };
+
+ meta = {
+ description = "Libraries and module types for portable clocks";
+ homepage = "https://github.com/mirage/mirage-clock";
+ license = lib.licenses.isc;
+ maintainers = [ lib.maintainers.vbgl ];
+ };
+}
+
+