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-09-25 04:45:31 +00:00
|
|
|
version = "2.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "9d8ecf532868cc31fa9ff59ee5d5b2049600c5c902c18c794a2bad677c1f92e5";
|
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;
|
|
|
|
};
|
|
|
|
}
|