diff options
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/pure-splitmix/default.nix | 22 |
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 ]; + }; +} |