From e5340bb5ef150a8a34742c81d1514b8edfd22fc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Merlin=20G=C3=B6ttlinger?= Date: Wed, 7 Aug 2019 12:28:49 +0200 Subject: [PATCH] ocaml-minisat: init at 0.2 --- .../ocaml-modules/minisat/default.nix | 22 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/ocaml-modules/minisat/default.nix diff --git a/pkgs/development/ocaml-modules/minisat/default.nix b/pkgs/development/ocaml-modules/minisat/default.nix new file mode 100644 index 000000000000..79820b16e6ca --- /dev/null +++ b/pkgs/development/ocaml-modules/minisat/default.nix @@ -0,0 +1,22 @@ +{ lib, buildDunePackage, fetchFromGitHub }: + +buildDunePackage rec { + pname = "minisat"; + version = "0.2"; + + minimumOCamlVersion = "4.05"; + + src = fetchFromGitHub { + owner = "c-cube"; + repo = "ocaml-minisat"; + rev = version; + sha256 = "1jibylmb1ww0x42n6wl8bdwicaysgxp0ag244x7w5m3jifq3xs6q"; + }; + + meta = { + homepage = https://c-cube.github.io/ocaml-minisat/; + description = "Simple bindings to Minisat-C"; + license = lib.licenses.bsd2; + maintainers = with lib.maintainers; [ mgttlinger ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 5249f848d01b..f363d0f1b315 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -444,6 +444,8 @@ let mezzo = callPackage ../development/compilers/mezzo { }; + minisat = callPackage ../development/ocaml-modules/minisat { }; + mlgmp = callPackage ../development/ocaml-modules/mlgmp { }; mlgmpidl = callPackage ../development/ocaml-modules/mlgmpidl { };