forked from mirrors/nixpkgs
* Added `boto', a Python interface to AWS.
* Add boto as a dependency to duplicity to support backups to Amazon S3. svn path=/nixpkgs/trunk/; revision=19913
This commit is contained in:
parent
faa98ce5d6
commit
dae4ffdfdf
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, python, librsync, gnupg, makeWrapper }:
|
||||
{ stdenv, fetchurl, python, librsync, gnupg, boto, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "duplicity-0.6.06";
|
||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation {
|
|||
installPhase = ''
|
||||
python setup.py install --prefix=$out
|
||||
wrapProgram $out/bin/duplicity \
|
||||
--prefix PYTHONPATH : "$(toPythonPath $out)" \
|
||||
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${boto})" \
|
||||
--prefix PATH : "${gnupg}/bin"
|
||||
'';
|
||||
|
||||
|
|
|
@ -620,6 +620,7 @@ let
|
|||
|
||||
duplicity = import ../tools/backup/duplicity {
|
||||
inherit fetchurl stdenv librsync gnupg makeWrapper python;
|
||||
inherit (pythonPackages) boto;
|
||||
};
|
||||
|
||||
dvdplusrwtools = import ../tools/cd-dvd/dvd+rw-tools {
|
||||
|
|
|
@ -34,6 +34,29 @@ rec {
|
|||
};
|
||||
});
|
||||
|
||||
boto = buildPythonPackage (rec {
|
||||
name = "boto-1.9b";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://boto.googlecode.com/files/${name}.tar.gz";
|
||||
sha256 = "0kir3ddm79rxdf7wb5czmxpbnqzgj3j966q4mach29kkb98p48wz";
|
||||
};
|
||||
|
||||
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.
|
||||
'';
|
||||
};
|
||||
});
|
||||
|
||||
darcsver = buildPythonPackage (rec {
|
||||
name = "darcsver-1.3.1";
|
||||
|
||||
|
|
Loading…
Reference in a new issue