pythonPackages.libcloud: fix build
This commit is contained in:
parent
82edff8207
commit
7942341ac0
|
@ -1,12 +1,14 @@
|
|||
{ stdenv
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, mock
|
||||
, pycrypto
|
||||
, requests
|
||||
, pytestrunner
|
||||
, pytest
|
||||
, requests-mock
|
||||
, typing
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -19,14 +21,14 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
checkInputs = [ mock pytest pytestrunner requests-mock ];
|
||||
propagatedBuildInputs = [ pycrypto requests ];
|
||||
propagatedBuildInputs = [ pycrypto requests ] ++ lib.optionals isPy27 [ typing ];
|
||||
|
||||
preConfigure = "cp libcloud/test/secrets.py-dist libcloud/test/secrets.py";
|
||||
|
||||
# requires a certificates file
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A unified interface to many cloud providers";
|
||||
homepage = http://incubator.apache.org/libcloud/;
|
||||
license = licenses.asl20;
|
||||
|
|
Loading…
Reference in a new issue