Skip to content

Commit

Permalink
ocamlPackages.odds: init at 1.2 (#368180)
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada authored Dec 27, 2024
2 parents df50ecf + be15762 commit 69c90fc
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/development/ocaml-modules/odds/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
lib,
fetchFromGitHub,
buildDunePackage,
menhir,
cmdliner,
}:
buildDunePackage rec {
pname = "odds";
version = "1.2";

minimalOcamlVersion = "5.0.0";

src = fetchFromGitHub {
owner = "raphael-proust";
repo = pname;
tag = version;
hash = "sha256-tPDowkpsJQKCoeuXOb9zPORoudUvkRBZ3OzkH2QE2zg=";
};

propagatedBuildInputs = [
cmdliner
];

nativeBuildInputs = [
menhir
];

meta = {
description = "Dice roller";
homepage = "https://github.com/raphael-proust/odds";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.Denommus ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1408,6 +1408,8 @@ let

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

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

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

odoc = callPackage ../development/ocaml-modules/odoc { };
Expand Down

0 comments on commit 69c90fc

Please sign in to comment.