From 5bbb301be2b91eee486949389abe254bc6643bbb Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Tue, 18 Apr 2023 09:45:39 +0300 Subject: [PATCH] ocamlPackages.bdd: init at unstable-2022-07-14 --- .../development/ocaml-modules/bdd/default.nix | 30 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/ocaml-modules/bdd/default.nix diff --git a/pkgs/development/ocaml-modules/bdd/default.nix b/pkgs/development/ocaml-modules/bdd/default.nix new file mode 100644 index 000000000000..1ddb8634f3cc --- /dev/null +++ b/pkgs/development/ocaml-modules/bdd/default.nix @@ -0,0 +1,30 @@ +{ lib +, buildDunePackage +, fetchFromGitHub +, stdlib-shims +}: + +buildDunePackage { + pname = "bdd"; + version = "unstable-2022-07-14"; + + duneVersion = "3"; + + src = fetchFromGitHub { + owner = "backtracking"; + repo = "ocaml-bdd"; + rev = "6d1b1d3c24e5784b87e599a00230ce652acb2dcc"; + hash = "sha256-3mJZlAFQsI7AgrNQOe6N94CDfX5gXYqQBooV0jcoYEA="; + }; + + propagatedBuildInputs = [ + stdlib-shims + ]; + + meta = with lib; { + description = "Quick implementation of a Binary Decision Diagrams (BDD) library for OCaml"; + homepage = "https://github.com/backtracking/ocaml-bdd"; + license = licenses.lgpl21Plus; + maintainers = with maintainers; [ wegank ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 4bda5279c747..cf20f93b060f 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -66,6 +66,8 @@ let batteries = callPackage ../development/ocaml-modules/batteries { }; + bdd = callPackage ../development/ocaml-modules/bdd { }; + benchmark = callPackage ../development/ocaml-modules/benchmark { }; bheap = callPackage ../development/ocaml-modules/bheap { };