2021-01-23 16:29:22 -08:00
|
|
|
{ lib
|
2020-06-02 17:17:33 -07:00
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, pyparsing
|
2020-09-13 05:23:13 -07:00
|
|
|
, amply
|
2020-06-02 17:17:33 -07:00
|
|
|
}:
|
2018-01-28 21:40:54 -08:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "PuLP";
|
2020-12-21 22:23:13 -08:00
|
|
|
version = "2.4";
|
2018-01-28 21:40:54 -08:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-21 22:23:13 -08:00
|
|
|
sha256 = "b2aff10989b3692e3a59301a0cb0acddeb25dcea378f8804c86007075eae55b5";
|
2018-01-28 21:40:54 -08:00
|
|
|
};
|
|
|
|
|
2020-09-13 05:23:13 -07:00
|
|
|
propagatedBuildInputs = [ pyparsing amply ];
|
2018-01-28 21:40:54 -08:00
|
|
|
|
|
|
|
# only one test that requires an extra
|
|
|
|
doCheck = false;
|
2020-06-02 17:17:33 -07:00
|
|
|
pythonImportsCheck = [ "pulp" ];
|
2018-01-28 21:40:54 -08:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/coin-or/pulp";
|
2018-01-28 21:40:54 -08:00
|
|
|
description = "PuLP is an LP modeler written in python";
|
|
|
|
maintainers = with maintainers; [ teto ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|