1{ stdenv
2, fetchPypi
3, buildPythonPackage
4, pyparsing
5, amply
6}:
7
8buildPythonPackage rec {
9 pname = "PuLP";
10 version = "2.3";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "9d8ecf532868cc31fa9ff59ee5d5b2049600c5c902c18c794a2bad677c1f92e5";
15 };
16
17 propagatedBuildInputs = [ pyparsing amply ];
18
19 # only one test that requires an extra
20 doCheck = false;
21 pythonImportsCheck = [ "pulp" ];
22
23 meta = with stdenv.lib; {
24 homepage = "https://github.com/coin-or/pulp";
25 description = "PuLP is an LP modeler written in python";
26 maintainers = with maintainers; [ teto ];
27 license = licenses.mit;
28 };
29}