about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorsternenseemann <git@lukasepple.de>2020-05-21 00:55:13 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2020-05-21 21:11:21 +0200
commit3ca20e824f59f75c6af58906177e380014652ed9 (patch)
tree7c3d6dc32c240e2ee51ff30e23a4d701b5fdd42e /pkgs/development/ocaml-modules
parent45bbbdd6b4040c2b662ea0fc7f94958633b6fc34 (diff)
downloadnixlib-3ca20e824f59f75c6af58906177e380014652ed9.tar
nixlib-3ca20e824f59f75c6af58906177e380014652ed9.tar.gz
nixlib-3ca20e824f59f75c6af58906177e380014652ed9.tar.bz2
nixlib-3ca20e824f59f75c6af58906177e380014652ed9.tar.lz
nixlib-3ca20e824f59f75c6af58906177e380014652ed9.tar.xz
nixlib-3ca20e824f59f75c6af58906177e380014652ed9.tar.zst
nixlib-3ca20e824f59f75c6af58906177e380014652ed9.zip
ocamlPackages.mirage-runtime: init at 3.7.7
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/mirage/runtime.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/mirage/runtime.nix b/pkgs/development/ocaml-modules/mirage/runtime.nix
new file mode 100644
index 000000000000..c7d7cf35e2d8
--- /dev/null
+++ b/pkgs/development/ocaml-modules/mirage/runtime.nix
@@ -0,0 +1,25 @@
+{ lib, buildDunePackage, fetchurl, ipaddr, functoria-runtime
+, fmt, logs, ocaml_lwt, alcotest }:
+
+buildDunePackage rec {
+  pname = "mirage-runtime";
+  version = "3.7.7";
+
+  minimumOCamlVersion = "4.06";
+
+  src = fetchurl {
+    url = "https://github.com/mirage/mirage/releases/download/v${version}/mirage-v${version}.tbz";
+    sha256 = "1ds5zfwb0g340kbdlsjayyw4n25nj7skdl1mwyvpzmkv4qcsmdiv";
+  };
+
+  propagatedBuildInputs = [ ipaddr functoria-runtime fmt logs ocaml_lwt ];
+  checkInputs = [ alcotest ];
+  doCheck = true;
+
+  meta = with lib; {
+    homepage = "https://github.com/mirage/mirage";
+    description = "The base MirageOS runtime library, part of every MirageOS unikernel";
+    license = licenses.isc;
+    maintainers = with maintainers; [ sternenseemann ];
+  };
+}