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

30 lines
629 B
Nix
Raw Normal View History

2020-06-03 01:17:33 +01:00
{ stdenv
, fetchPypi
, buildPythonPackage
, pyparsing
, amply
2020-06-03 01:17:33 +01:00
}:
buildPythonPackage rec {
pname = "PuLP";
2020-10-28 13:55:01 +00:00
version = "2.3.1";
src = fetchPypi {
inherit pname version;
2020-10-28 13:55:01 +00:00
sha256 = "5bbe53f854fb3b689e4faacac5bdb5fa576cb270fc12c78edef827dd46a4fb50";
};
propagatedBuildInputs = [ pyparsing amply ];
# only one test that requires an extra
doCheck = false;
2020-06-03 01:17:33 +01: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;
};
}