* Provide an old version of Boto for euca2ools.

svn path=/nixpkgs/branches/modular-python/; revision=26608
This commit is contained in:
Eelco Dolstra 2011-03-30 14:42:20 +00:00
parent 45159cdc89
commit 83b4c9cd8f
2 changed files with 28 additions and 1 deletions

View File

@ -13,7 +13,8 @@ stdenv.mkDerivation rec {
buildInputs = [ which pythonPackages.python pythonPackages.wrapPython ];
pythonPath = [ pythonPackages.setuptools pythonPackages.boto pythonPackages.m2crypto pythonPackages.ssl ];
# We need boto 1.9 for now. See https://bugs.launchpad.net/euca2ools/devel/+bug/623888
pythonPath = [ pythonPackages.setuptools pythonPackages.boto_1_9 pythonPackages.m2crypto pythonPackages.ssl ];
preBuild =
''

View File

@ -111,6 +111,32 @@ python.modules // rec {
};
});
# euca2ools (and maybe Nova) needs boto 1.9, 2.0 doesn't work.
boto_1_9 = buildPythonPackage (rec {
name = "boto-1.9b";
src = fetchurl {
url = "http://boto.googlecode.com/files/${name}.tar.gz";
sha1 = "00a033b0a593c3ca82927867950f73d88b831155";
};
meta = {
homepage = http://code.google.com/p/boto/;
license = "bsd";
description = "Python interface to Amazon Web Services";
longDescription = ''
The boto module is an integrated interface to current and
future infrastructural services offered by Amazon Web
Services. This includes S3, SQS, EC2, among others.
'';
};
});
boto = buildPythonPackage (rec {
name = "boto-2.0b4";