3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pulp/default.nix
2021-08-20 13:52:28 +02:00

30 lines
619 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, pyparsing
, amply
}:
buildPythonPackage rec {
pname = "PuLP";
version = "2.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "5dc7d76bfb1da06ac048066ced75603340d0d7ba8a7dbfce4040d6f126eda0d5";
};
propagatedBuildInputs = [ pyparsing amply ];
# only one test that requires an extra
doCheck = false;
pythonImportsCheck = [ "pulp" ];
meta = with lib; {
homepage = "https://github.com/coin-or/pulp";
description = "PuLP is an LP modeler written in python";
maintainers = with maintainers; [ teto ];
license = licenses.mit;
};
}