Files
nixpkgs/pkgs/development/ocaml-modules/stdlib-random/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

32 lines
610 B
Nix

{
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 ];
};
}