summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/yuujinchou/default.nix
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 /pkgs/development/ocaml-modules/yuujinchou/default.nix
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
Diffstat (limited to 'pkgs/development/ocaml-modules/yuujinchou/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/yuujinchou/default.nix26
1 files changed, 26 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 ];
+  };
+}
+