about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/mccs
diff options
context:
space:
mode:
authorsuperherointj <5861043+superherointj@users.noreply.github.com>2021-06-13 18:03:59 -0300
committerVincent Laporte <vbgl@users.noreply.github.com>2021-06-14 04:37:07 +0200
commitfdc3bf4178563c85d86bb86c10f207b7c16e5c40 (patch)
tree57b0c4aaa5d030f9df94fe392403598abcfb29a8 /pkgs/development/ocaml-modules/mccs
parent29647c9b582338b23577be9f9bddba4295e16111 (diff)
ocamlPackages.mccs: init 1.1+13
Diffstat (limited to 'pkgs/development/ocaml-modules/mccs')
-rw-r--r--pkgs/development/ocaml-modules/mccs/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/mccs/default.nix b/pkgs/development/ocaml-modules/mccs/default.nix
new file mode 100644
index 0000000000000..3b396215e5756
--- /dev/null
+++ b/pkgs/development/ocaml-modules/mccs/default.nix
@@ -0,0 +1,29 @@
+{ lib, fetchFromGitHub, buildDunePackage, cudf }:
+
+buildDunePackage rec {
+  pname = "mccs";
+  version = "1.1+13";
+
+  src = fetchFromGitHub {
+    owner = "AltGr";
+    repo = "ocaml-mccs";
+    rev = version;
+    sha256 = "sha256-K249E9qkWNK4BC+ynaR3bVEyu9Tk8iCE7GptKk/aVJc=";
+  };
+
+  useDune2 = true;
+
+  buildInputs = [
+    cudf
+  ];
+
+  doCheck = true;
+
+  meta = with lib; {
+    description = "A library providing a multi criteria CUDF solver, part of MANCOOSI project.";
+    downloadPage = "https://github.com/AltGr/ocaml-mccs";
+    homepage = "https://www.i3s.unice.fr/~cpjm/misc/";
+    license = with licenses; [ lgpl21 gpl3 ];
+    maintainers = with maintainers; [ superherointj ];
+  };
+}