2020-06-18 07:06:33 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, pyparsing
|
2020-09-25 04:45:31 +00:00
|
|
|
, amply
|
2020-06-18 07:06:33 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "PuLP";
|
2020-11-03 02:18:15 +00:00
|
|
|
version = "2.3.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-03 02:18:15 +00:00
|
|
|
sha256 = "5bbe53f854fb3b689e4faacac5bdb5fa576cb270fc12c78edef827dd46a4fb50";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
propagatedBuildInputs = [ pyparsing amply ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# only one test that requires an extra
|
|
|
|
doCheck = false;
|
2020-06-18 07:06:33 +00:00
|
|
|
pythonImportsCheck = [ "pulp" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|