nixpkgs/pkgs/development/python-modules/pulp/default.nix

30 lines
627 B
Nix
Raw Normal View History

2020-06-03 00:17:33 +00:00
{ stdenv
, fetchPypi
, buildPythonPackage
, pyparsing
, amply
2020-06-03 00:17:33 +00:00
}:
buildPythonPackage rec {
pname = "PuLP";
2020-08-16 17:31:10 +00:00
version = "2.3";
src = fetchPypi {
inherit pname version;
2020-08-16 17:31:10 +00:00
sha256 = "9d8ecf532868cc31fa9ff59ee5d5b2049600c5c902c18c794a2bad677c1f92e5";
};
propagatedBuildInputs = [ pyparsing amply ];
# only one test that requires an extra
doCheck = false;
2020-06-03 00:17:33 +00:00
pythonImportsCheck = [ "pulp" ];
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;
};
}