summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrik Strid <ulrik.strid@outlook.com>2024-04-16 07:54:27 +0200
committerGitHub <noreply@github.com>2024-04-16 07:54:27 +0200
commit1e4080d9bea34934d6f9b5bd10264632438ae9da (patch)
treeb602f71cc65581a3ce3b66c29e4258624947ce2c
parentMerge pull request #304254 from JohnRTitor/libreoffice-coreutils (diff)
parentocamlPackages.miou: init at 0.1.0 (diff)
downloadnixpkgs-1e4080d9bea34934d6f9b5bd10264632438ae9da.tar.gz
Merge pull request #304419 from marsam/add-ocaml-miou
ocamlPackages.miou: init at 0.1.0
-rw-r--r--pkgs/development/ocaml-modules/miou/default.nix21
-rw-r--r--pkgs/top-level/ocaml-packages.nix2
2 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/miou/default.nix b/pkgs/development/ocaml-modules/miou/default.nix
new file mode 100644
index 000000000000..fff2d16aaf58
--- /dev/null
+++ b/pkgs/development/ocaml-modules/miou/default.nix
@@ -0,0 +1,21 @@
+{ lib, buildDunePackage, fetchurl }:
+
+buildDunePackage rec {
+ pname = "miou";
+ version = "0.1.0";
+
+ minimalOCamlVersion = "5.0.0";
+
+ src = fetchurl {
+ url = "https://github.com/robur-coop/miou/releases/download/v${version}/miou-${version}.tbz";
+ hash = "sha256-WTs6L9j4z1/0wKcGIZVwaNrATRGCTN5A6RwO7tY2phE=";
+ };
+
+ meta = {
+ description = "Composable concurrency primitives for OCaml";
+ homepage = "https://git.robur.coop/robur/miou";
+ changelog = "https://git.robur.coop/robur/miou/src/tag/v${version}/CHANGES.md";
+ license = lib.licenses.mit;
+ maintainers = with lib.maintainers; [ marsam ];
+ };
+}
diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix
index 7be758b6f61b..2403b1d57300 100644
--- a/pkgs/top-level/ocaml-packages.nix
+++ b/pkgs/top-level/ocaml-packages.nix
@@ -1084,6 +1084,8 @@ let
minttea = callPackage ../development/ocaml-modules/minttea { };
+ miou = callPackage ../development/ocaml-modules/miou { };
+
mirage = callPackage ../development/ocaml-modules/mirage { };
mirage-block = callPackage ../development/ocaml-modules/mirage-block { };