1{ lib
2, fetchPypi
3, buildPythonPackage
4, pyparsing
5, amply
6}:
7
8buildPythonPackage rec {
9 pname = "PuLP";
10 version = "2.5.1";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "27c2a87a98ea0e9a08c7c46e6df47d6d4e753ad9991fea2901892425d89c99a6";
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 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}