pythonPackages.libcloud: refactor move to python-modules
This commit is contained in:
parent
599b9045ba
commit
67550913a4
31
pkgs/development/python-modules/libcloud/default.nix
Normal file
31
pkgs/development/python-modules/libcloud/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mock
|
||||
, pycrypto
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "apache-libcloud";
|
||||
version = "1.2.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0qlhyz5f32xg8i10biyzqscks8d28vklk63hvj45vzy1amw60kqz";
|
||||
};
|
||||
|
||||
buildInputs = [ mock ];
|
||||
propagatedBuildInputs = [ pycrypto ];
|
||||
|
||||
preConfigure = "cp libcloud/test/secrets.py-dist libcloud/test/secrets.py";
|
||||
|
||||
# failing tests for 26 and 27
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A unified interface to many cloud providers";
|
||||
homepage = http://incubator.apache.org/libcloud/;
|
||||
license = licenses.asl20;
|
||||
};
|
||||
|
||||
}
|
@ -5688,27 +5688,7 @@ in {
|
||||
|
||||
python-Levenshtein = callPackage ../development/python-modules/python-levenshtein { };
|
||||
|
||||
libcloud = buildPythonPackage (rec {
|
||||
name = "libcloud-1.2.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/a/apache-libcloud/apache-${name}.tar.bz2";
|
||||
sha256 = "0qlhyz5f32xg8i10biyzqscks8d28vklk63hvj45vzy1amw60kqz";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ mock ];
|
||||
|
||||
propagatedBuildInputs = with self; [ pycrypto ];
|
||||
preConfigure = "cp libcloud/test/secrets.py-dist libcloud/test/secrets.py";
|
||||
|
||||
# failing tests for 26 and 27
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A unified interface to many cloud providers";
|
||||
homepage = http://incubator.apache.org/libcloud/;
|
||||
};
|
||||
});
|
||||
libcloud = callPackage ../development/python-modules/libcloud { };
|
||||
|
||||
libgpuarray = callPackage ../development/python-modules/libgpuarray {
|
||||
clblas = pkgs.clblas.override { boost = self.boost; };
|
||||
|
Loading…
x
Reference in New Issue
Block a user