git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.ocplib-simplex: init at 0.3

ocplib-simplex is a (fully) functional OCaml implementation of the simplex algorithm for solving systems of linear inequalities. homepage: https://github.com/OCamlPro-Iguernlala/ocplib-simplex

commit97a496a472ded2ca22a5a1bdf91752cd3e1b8df0 authorVincent Laporte <Vincent.Laporte@gmail.com> dateTue 22 Nov 2016, 21:07 (10 years ago) parentb75e13b
2 files changed+31
pkgs/development/ocaml-modules/ocplib-simplex/default.nix+29 pkgs/top-level/ocaml-packages.nix+2
pkgs/development/ocaml-modules/ocplib-simplex/default.nixnew file+29
@@ -0,0 +1,29 @@
1+{ stdenv, fetchFromGitHub, autoreconfHook, ocaml, findlib }:
2+
3+let
4+ pname = "ocplib-simplex";
5+ version = "0.3";
6+in
7+
8+stdenv.mkDerivation {
9+ name = "ocaml${ocaml.version}-${pname}-${version}";
10+
11+ src = fetchFromGitHub {
12+ owner = "OCamlPro-Iguernlala";
13+ repo = pname;
14+ rev = version;
15+ sha256 = "1fmz38w2cj9fny4adqqyil59dvndqkr59s7wk2gqs47r72b6sisa";
16+ };
17+
18+ buildInputs = [ autoreconfHook ocaml findlib ];
19+
20+ createFindlibDestdir = true;
21+
22+ meta = {
23+ description = "An OCaml library implementing a simplex algorithm, in a functional style, for solving systems of linear inequalities";
24+ homepage = https://github.com/OCamlPro-Iguernlala/ocplib-simplex;
25+ inherit (ocaml.meta) platforms;
26+ license = stdenv.lib.licenses.lgpl21;
27+ maintainers = [ stdenv.lib.maintainers.vbgl ];
28+ };
29+}
pkgs/top-level/ocaml-packages.nix+2
@@ -339,6 +339,8 @@ let
339339
340340 ocplib-endian = callPackage ../development/ocaml-modules/ocplib-endian { };
341341
342+ ocplib-simplex = callPackage ../development/ocaml-modules/ocplib-simplex { };
343+
342344 ocsigen_server = callPackage ../development/ocaml-modules/ocsigen-server { };
343345
344346 ojquery = callPackage ../development/ocaml-modules/ojquery { };