summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2022-05-23 22:05:50 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2022-05-29 14:57:07 +0200
commita1e9a866e1cfa5ae02fdf52b2799c185ce24b0f8 (patch)
tree4ae2a88739325a3410096b0df82519aae75859cd
parentf2be2aa1d5813720c568509a85e4d04eb533c8fc (diff)
downloadnixpkgs-a1e9a866e1cfa5ae02fdf52b2799c185ce24b0f8.tar
nixpkgs-a1e9a866e1cfa5ae02fdf52b2799c185ce24b0f8.tar.gz
nixpkgs-a1e9a866e1cfa5ae02fdf52b2799c185ce24b0f8.tar.bz2
nixpkgs-a1e9a866e1cfa5ae02fdf52b2799c185ce24b0f8.tar.lz
nixpkgs-a1e9a866e1cfa5ae02fdf52b2799c185ce24b0f8.tar.xz
nixpkgs-a1e9a866e1cfa5ae02fdf52b2799c185ce24b0f8.tar.zst
nixpkgs-a1e9a866e1cfa5ae02fdf52b2799c185ce24b0f8.zip
ocamlPackages.yuujinchou: init at 2.0.0
-rw-r--r--pkgs/development/ocaml-modules/yuujinchou/default.nix26
-rw-r--r--pkgs/top-level/ocaml-packages.nix2
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/yuujinchou/default.nix b/pkgs/development/ocaml-modules/yuujinchou/default.nix
new file mode 100644
index 00000000000..5a78809d909
--- /dev/null
+++ b/pkgs/development/ocaml-modules/yuujinchou/default.nix
@@ -0,0 +1,26 @@
+{ lib, fetchFromGitHub, buildDunePackage, qcheck-alcotest }:
+
+buildDunePackage rec {
+  pname = "yuujinchou";
+  version = "2.0.0";
+
+  minimalOCamlVersion = "4.12";
+
+  src = fetchFromGitHub {
+    owner = "RedPRL";
+    repo = pname;
+    rev = version;
+    sha256 = "sha256:1nhz44cyipy922anzml856532m73nn0g7iwkg79yzhq6yb87109w";
+  };
+
+  doCheck = true;
+  checkInputs = [ qcheck-alcotest ];
+
+  meta = {
+    description = "Name pattern combinators";
+    inherit (src.meta) homepage;
+    license = lib.licenses.asl20;
+    maintainers = [ lib.maintainers.vbgl ];
+  };
+}
+
diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix
index e61eedf151e..546c37149f7 100644
--- a/pkgs/top-level/ocaml-packages.nix
+++ b/pkgs/top-level/ocaml-packages.nix
@@ -1457,6 +1457,8 @@ let
 
     yuscii = callPackage ../development/ocaml-modules/yuscii { };
 
+    yuujinchou = callPackage ../development/ocaml-modules/yuujinchou { };
+
     z3 = callPackage ../development/ocaml-modules/z3 {
       inherit (pkgs) z3;
     };