openstack: use python2

Changed files
+16 -17
pkgs
applications
virtualization
+4 -5
pkgs/applications/virtualization/openstack/glance.nix
···
-
{ stdenv, fetchurl, pythonPackages, sqlite, which, strace }:
-
-
pythonPackages.buildPythonApplication rec {
name = "glance-${version}";
version = "11.0.0";
namePrefix = "";
···
};
# https://github.com/openstack/glance/blob/stable/liberty/requirements.txt
-
propagatedBuildInputs = with pythonPackages; [
pbr sqlalchemy anyjson eventlet PasteDeploy routes webob sqlalchemy_migrate
httplib2 pycrypto iso8601 stevedore futurist keystonemiddleware paste
jsonschema keystoneclient pyopenssl six retrying semantic-version qpid-python
···
MySQL_python
];
-
buildInputs = with pythonPackages; [
Babel coverage fixtures mox3 mock oslosphinx requests2 testrepository pep8
testresources testscenarios testtools psutil_1 oslotest psycopg2
sqlite which strace
···
+
{ stdenv, fetchurl, python2Packages, sqlite, which, strace }:
+
python2Packages.buildPythonApplication rec {
name = "glance-${version}";
version = "11.0.0";
namePrefix = "";
···
};
# https://github.com/openstack/glance/blob/stable/liberty/requirements.txt
+
propagatedBuildInputs = with python2Packages; [
pbr sqlalchemy anyjson eventlet PasteDeploy routes webob sqlalchemy_migrate
httplib2 pycrypto iso8601 stevedore futurist keystonemiddleware paste
jsonschema keystoneclient pyopenssl six retrying semantic-version qpid-python
···
MySQL_python
];
+
buildInputs = with python2Packages; [
Babel coverage fixtures mox3 mock oslosphinx requests2 testrepository pep8
testresources testscenarios testtools psutil_1 oslotest psycopg2
sqlite which strace
+4 -4
pkgs/applications/virtualization/openstack/keystone.nix
···
-
{ stdenv, fetchurl, pythonPackages, xmlsec, which, openssl }:
-
pythonPackages.buildPythonApplication rec {
name = "keystone-${version}";
version = "8.0.0";
namePrefix = "";
···
patches = [ ./remove-oslo-policy-tests.patch ];
# https://github.com/openstack/keystone/blob/stable/liberty/requirements.txt
-
propagatedBuildInputs = with pythonPackages; [
pbr webob eventlet greenlet PasteDeploy paste routes cryptography six
sqlalchemy sqlalchemy_migrate stevedore passlib keystoneclient memcached
keystonemiddleware oauthlib pysaml2 dogpile_cache jsonschema pycadf msgpack
···
oslo-utils
];
-
buildInputs = with pythonPackages; [
coverage fixtures mock subunit tempest-lib testtools testrepository
ldap ldappool webtest requests2 oslotest pep8 pymongo which
];
···
+
{ stdenv, fetchurl, python2Packages, xmlsec, which, openssl }:
+
python2Packages.buildPythonApplication rec {
name = "keystone-${version}";
version = "8.0.0";
namePrefix = "";
···
patches = [ ./remove-oslo-policy-tests.patch ];
# https://github.com/openstack/keystone/blob/stable/liberty/requirements.txt
+
propagatedBuildInputs = with python2Packages; [
pbr webob eventlet greenlet PasteDeploy paste routes cryptography six
sqlalchemy sqlalchemy_migrate stevedore passlib keystoneclient memcached
keystonemiddleware oauthlib pysaml2 dogpile_cache jsonschema pycadf msgpack
···
oslo-utils
];
+
buildInputs = with python2Packages; [
coverage fixtures mock subunit tempest-lib testtools testrepository
ldap ldappool webtest requests2 oslotest pep8 pymongo which
];
+4 -4
pkgs/applications/virtualization/openstack/neutron.nix
···
-
{ stdenv, fetchurl, pythonPackages, xmlsec, which, dnsmasq }:
-
pythonPackages.buildPythonApplication rec {
name = "neutron-${version}";
version = "7.0.0";
namePrefix = "";
···
};
# https://github.com/openstack/neutron/blob/stable/liberty/requirements.txt
-
propagatedBuildInputs = with pythonPackages; [
pbr paste PasteDeploy routes debtcollector eventlet greenlet httplib2 requests2
jinja2 keystonemiddleware netaddr retrying sqlalchemy webob alembic six
stevedore pecan ryu networking-hyperv MySQL_python
···
'';
patches = [ ./neutron-iproute-4.patch ];
-
buildInputs = with pythonPackages; [
cliff coverage fixtures mock subunit requests-mock oslosphinx testrepository
testtools testresources testscenarios webtest oslotest os-testr tempest-lib
ddt pep8
···
+
{ stdenv, fetchurl, python2Packages, xmlsec, which, dnsmasq }:
+
python2Packages.buildPythonApplication rec {
name = "neutron-${version}";
version = "7.0.0";
namePrefix = "";
···
};
# https://github.com/openstack/neutron/blob/stable/liberty/requirements.txt
+
propagatedBuildInputs = with python2Packages; [
pbr paste PasteDeploy routes debtcollector eventlet greenlet httplib2 requests2
jinja2 keystonemiddleware netaddr retrying sqlalchemy webob alembic six
stevedore pecan ryu networking-hyperv MySQL_python
···
'';
patches = [ ./neutron-iproute-4.patch ];
+
buildInputs = with python2Packages; [
cliff coverage fixtures mock subunit requests-mock oslosphinx testrepository
testtools testresources testscenarios webtest oslotest os-testr tempest-lib
ddt pep8
+4 -4
pkgs/applications/virtualization/openstack/nova.nix
···
-
{ stdenv, fetchurl, pythonPackages, openssl, openssh }:
-
pythonPackages.buildPythonApplication rec {
name = "nova-${version}";
version = "12.0.0";
namePrefix = "";
···
'';
# https://github.com/openstack/nova/blob/stable/liberty/requirements.txt
-
propagatedBuildInputs = with pythonPackages; [
pbr sqlalchemy boto decorator eventlet jinja2 lxml routes cryptography
webob greenlet PasteDeploy paste prettytable sqlalchemy_migrate netaddr
netifaces paramiko Babel iso8601 jsonschema keystoneclient requests2 six
···
cinderclient neutronclient glanceclient
];
-
buildInputs = with pythonPackages; [
coverage fixtures mock mox3 subunit requests-mock pillow oslosphinx
oslotest testrepository testresources testtools tempest-lib bandit
oslo-vmware pep8 barbicanclient ironicclient openssl openssh
···
+
{ stdenv, fetchurl, python2Packages, openssl, openssh }:
+
python2Packages.buildPythonApplication rec {
name = "nova-${version}";
version = "12.0.0";
namePrefix = "";
···
'';
# https://github.com/openstack/nova/blob/stable/liberty/requirements.txt
+
propagatedBuildInputs = with python2Packages; [
pbr sqlalchemy boto decorator eventlet jinja2 lxml routes cryptography
webob greenlet PasteDeploy paste prettytable sqlalchemy_migrate netaddr
netifaces paramiko Babel iso8601 jsonschema keystoneclient requests2 six
···
cinderclient neutronclient glanceclient
];
+
buildInputs = with python2Packages; [
coverage fixtures mock mox3 subunit requests-mock pillow oslosphinx
oslotest testrepository testresources testtools tempest-lib bandit
oslo-vmware pep8 barbicanclient ironicclient openssl openssh