mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
* Added euca2ools.
svn path=/nixpkgs/branches/modular-python/; revision=26607
This commit is contained in:
parent
8df32943a0
commit
45159cdc89
34
pkgs/tools/virtualization/euca2ools/default.nix
Normal file
34
pkgs/tools/virtualization/euca2ools/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ stdenv, fetchurl, which, pythonPackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "euca2ools-1.3.1";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://eucalyptussoftware.com/downloads/releases/${name}.tar.gz";
|
||||
sha256 = "1k4hakbxqsv2gzcdrf6dbyrpnajcan9yilddhs47cg7lgqw7b41f";
|
||||
};
|
||||
|
||||
makeFlags = "PREFIX=$(out)";
|
||||
|
||||
buildInputs = [ which pythonPackages.python pythonPackages.wrapPython ];
|
||||
|
||||
pythonPath = [ pythonPackages.setuptools pythonPackages.boto pythonPackages.m2crypto pythonPackages.ssl ];
|
||||
|
||||
preBuild =
|
||||
''
|
||||
substituteInPlace Makefile --replace "-o root" ""
|
||||
|
||||
substituteInPlace euca2ools/Makefile \
|
||||
--replace 'python setup.py install' "python setup.py install --prefix=$out"
|
||||
'';
|
||||
|
||||
postInstall = "wrapPythonPrograms";
|
||||
|
||||
meta = {
|
||||
homepage = http://open.eucalyptus.com/downloads;
|
||||
description = "Tools for interacting with Amazon EC2/S3-compatible cloud computing services";
|
||||
maintainers = [ stdenv.lib.maintainers.eelco ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -602,6 +602,8 @@ let
|
||||
|
||||
ethtool = callPackage ../tools/misc/ethtool { };
|
||||
|
||||
euca2ools = callPackage ../tools/virtualization/euca2ools { };
|
||||
|
||||
exif = callPackage ../tools/graphics/exif { };
|
||||
|
||||
exiftags = callPackage ../tools/graphics/exiftags { };
|
||||
|
Loading…
Reference in New Issue
Block a user