pythonPackages.pyomo: init at 5.6.1
This commit is contained in:
parent
bdda0c091d
commit
4480aec8d5
41
pkgs/development/python-modules/pyomo/default.nix
Normal file
41
pkgs/development/python-modules/pyomo/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pyutilib
|
||||
, appdirs
|
||||
, ply
|
||||
, six
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyomo";
|
||||
version = "5.6.1";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "Pyomo";
|
||||
inherit version;
|
||||
sha256 = "449be9a4c9b3caee7c89dbe5f0e4e5ad0eaeef8be110a860641cd249986e362c";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
propagatedBuildInputs = [
|
||||
pyutilib
|
||||
appdirs
|
||||
ply
|
||||
six
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
rm pyomo/bilevel/tests/test_blp.py \
|
||||
pyomo/version/tests/test_installer.py
|
||||
nosetests
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pyomo: Python Optimization Modeling Objects";
|
||||
homepage = http://pyomo.org;
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -3819,6 +3819,8 @@ in {
|
||||
pylint = if isPy3k then callPackage ../development/python-modules/pylint { }
|
||||
else callPackage ../development/python-modules/pylint/1.9.nix { };
|
||||
|
||||
pyomo = callPackage ../development/python-modules/pyomo { };
|
||||
|
||||
pyopencl = callPackage ../development/python-modules/pyopencl { };
|
||||
|
||||
pyotp = callPackage ../development/python-modules/pyotp { };
|
||||
|
Loading…
Reference in New Issue
Block a user