depot/third_party/nixpkgs/pkgs/development/python-modules/pulp/default.nix
Default email f61cd259d4 Project import generated by Copybara.
GitOrigin-RevId: 82155ff501c7622cb2336646bb62f7624261f6d7
2021-10-01 17:20:50 +08:00

29 lines
619 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, pyparsing
, amply
}:
buildPythonPackage rec {
pname = "PuLP";
version = "2.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "27c2a87a98ea0e9a08c7c46e6df47d6d4e753ad9991fea2901892425d89c99a6";
};
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;
};
}