Skip to content

Commit

Permalink
ocamlPackages.odds: init at 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Denommus committed Dec 25, 2024
1 parent 672d1f1 commit 02bb713
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
37 changes: 37 additions & 0 deletions pkgs/development/ocaml-modules/odds/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
lib,
fetchFromGitHub,
buildDunePackage,
menhir,
cmdliner,
}:
buildDunePackage rec {
pname = "odds";
version = "1.2";

duneVersion = "3";

minimalOcamlVersion = "5.0.0";

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

propagatedBuildInputs = [
cmdliner
];

nativeBuildInputs = [
menhir
];

meta = with lib; {
description = "Dice roller";
homepage = "https://github.com/raphael-proust/odds";
license = licenses.isc;
maintainers = with 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 02bb713

Please sign in to comment.