Commit be157625 authored by Yuri Albuquerque's avatar Yuri Albuquerque
Browse files

ocamlPackages.odds: init at 1.2

parent 672d1f1d
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
{
  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 −0
Original line number Diff line number Diff line
@@ -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 { };