Merge pull request #59545 from costrouc/python-pyomo-init
pythonPackages.pyomo: init at 5.6.5
This commit is contained in:
commit
e5830bac6d
3 changed files with 77 additions and 0 deletions
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 ];
|
||||
};
|
||||
}
|
32
pkgs/development/python-modules/pyutilib/default.nix
Normal file
32
pkgs/development/python-modules/pyutilib/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyutilib";
|
||||
version = "5.6.5";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "PyUtilib";
|
||||
inherit version;
|
||||
sha256 = "4730084624be98f2c326da88f3852831c6aa919e11babab2c34b0299c8f5ce2a";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
nose
|
||||
six
|
||||
];
|
||||
|
||||
# tests require text files that are not included in the pypi package
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "PyUtilib: A collection of Python utilities";
|
||||
homepage = https://github.com/PyUtilib/pyutilib;
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
|
@ -3836,6 +3836,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 { };
|
||||
|
@ -4024,6 +4026,8 @@ in {
|
|||
|
||||
pyutil = callPackage ../development/python-modules/pyutil { };
|
||||
|
||||
pyutilib = callPackage ../development/python-modules/pyutilib { };
|
||||
|
||||
pywal = callPackage ../development/python-modules/pywal { };
|
||||
|
||||
pywebkitgtk = callPackage ../development/python-modules/pywebkitgtk { };
|
||||
|
|
Loading…
Reference in a new issue