summary refs log tree commit diff
path: root/pkgs/development/python-modules/pulp
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2018-01-29 14:40:54 +0900
committerMatthieu Coudron <mattator@gmail.com>2018-01-30 08:56:09 +0900
commit04b45828c671d8ff26560ff5c347e31de802e01a (patch)
tree180eb9e4fc84bf1d7eab524edfcd67fb33218e4c /pkgs/development/python-modules/pulp
parent8ecadc12502d59fc8117ca0ed41ede010448fca4 (diff)
downloadnixlib-04b45828c671d8ff26560ff5c347e31de802e01a.tar
nixlib-04b45828c671d8ff26560ff5c347e31de802e01a.tar.gz
nixlib-04b45828c671d8ff26560ff5c347e31de802e01a.tar.bz2
nixlib-04b45828c671d8ff26560ff5c347e31de802e01a.tar.lz
nixlib-04b45828c671d8ff26560ff5c347e31de802e01a.tar.xz
nixlib-04b45828c671d8ff26560ff5c347e31de802e01a.tar.zst
nixlib-04b45828c671d8ff26560ff5c347e31de802e01a.zip
pulp: init at 1.6.0
A python Linear Programming API.
Diffstat (limited to 'pkgs/development/python-modules/pulp')
-rw-r--r--pkgs/development/python-modules/pulp/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pulp/default.nix b/pkgs/development/python-modules/pulp/default.nix
new file mode 100644
index 000000000000..aacac72d2aaa
--- /dev/null
+++ b/pkgs/development/python-modules/pulp/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchPypi, buildPythonPackage, pyparsing }:
+
+buildPythonPackage rec {
+  pname = "PuLP";
+  version = "1.6.8";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1irzpfnnm5f0qf8y9ddxi489nwixyj0q4zlvqafm621bijkxdv6g";
+  };
+
+  buildInputs = [];
+  propagatedBuildInputs = [ pyparsing ];
+
+  # only one test that requires an extra
+  doCheck = false;
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/coin-or/pulp;
+    description = "PuLP is an LP modeler written in python";
+    maintainers = with maintainers; [ teto ];
+    license = licenses.mit;
+  };
+}