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