about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorUlrik Strid <ulrik.strid@outlook.com>2022-04-20 09:24:51 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2022-04-20 11:37:19 +0200
commita7e62c21c1fbb36588e06dadd252f3fced6dbda2 (patch)
tree0d226f7fd7aa9f9a88c882fd1becc100ddf07511 /pkgs/development/ocaml-modules
parent4f3a868e59722ab9af1624ea6d86cfa9c4e9f4fe (diff)
ocamlPackages.pure-splitmix: init at 0.3
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/pure-splitmix/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/pure-splitmix/default.nix b/pkgs/development/ocaml-modules/pure-splitmix/default.nix
new file mode 100644
index 0000000000000..228f8ad8c488b
--- /dev/null
+++ b/pkgs/development/ocaml-modules/pure-splitmix/default.nix
@@ -0,0 +1,22 @@
+{ lib, fetchFromGitHub, buildDunePackage }:
+
+buildDunePackage rec {
+  pname = "pure-splitmix";
+  version = "0.3";
+
+  src = fetchFromGitHub {
+    owner = "Lysxia";
+    repo = pname;
+    rev = version;
+    sha256 = "RUnsAB4hMV87ItCyGhc47bHGY1iOwVv9kco2HxnzqbU=";
+  };
+
+  doCheck = true;
+
+  meta = with lib; {
+    homepage = "https://github.com/Lysxia/pure-splitmix";
+    description = "Purely functional splittable PRNG";
+    license = licenses.mit;
+    maintainers = [ maintainers.ulrikstrid ];
+  };
+}