ocamlPackages.stdlib-random: init at 1.2.0
This commit is contained in:
parent
1f9fe92184
commit
929387843b
31
pkgs/development/ocaml-modules/stdlib-random/default.nix
Normal file
31
pkgs/development/ocaml-modules/stdlib-random/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildDunePackage,
|
||||||
|
fetchFromGitHub,
|
||||||
|
cppo,
|
||||||
|
version ? "1.2.0",
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildDunePackage {
|
||||||
|
pname = "stdlib-random";
|
||||||
|
inherit version;
|
||||||
|
|
||||||
|
minimalOCamlVersion = "4.08";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ocaml";
|
||||||
|
repo = "stdlib-random";
|
||||||
|
tag = version;
|
||||||
|
hash = "sha256-rtdPQ/zXdywjhjLi60nMe1rks2yLP2TH4xUg5z/Bpjk=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cppo ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
license = lib.licenses.lgpl21Only;
|
||||||
|
description = "Compatibility library for Random number generation";
|
||||||
|
homepage = "https://github.com/ocaml/stdlib-random";
|
||||||
|
maintainers = [ lib.maintainers.vbgl ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1934,6 +1934,8 @@ let
|
|||||||
|
|
||||||
stdint = callPackage ../development/ocaml-modules/stdint { };
|
stdint = callPackage ../development/ocaml-modules/stdint { };
|
||||||
|
|
||||||
|
stdlib-random = callPackage ../development/ocaml-modules/stdlib-random { };
|
||||||
|
|
||||||
stdlib-shims = callPackage ../development/ocaml-modules/stdlib-shims { };
|
stdlib-shims = callPackage ../development/ocaml-modules/stdlib-shims { };
|
||||||
|
|
||||||
stdune = callPackage ../development/ocaml-modules/stdune { };
|
stdune = callPackage ../development/ocaml-modules/stdune { };
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user