Commit 92938784 authored by Vincent Laporte's avatar Vincent Laporte Committed by Vincent Laporte
Browse files

ocamlPackages.stdlib-random: init at 1.2.0

parent 1f9fe921
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
{
  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 ];
  };

}
+2 −0
Original line number Diff line number Diff line
@@ -1934,6 +1934,8 @@ let

        stdint = callPackage ../development/ocaml-modules/stdint { };

        stdlib-random = callPackage ../development/ocaml-modules/stdlib-random { };

        stdlib-shims = callPackage ../development/ocaml-modules/stdlib-shims { };

        stdune = callPackage ../development/ocaml-modules/stdune { };