12 , backports_ssl_match_hostname
15 buildPythonPackage rec {
16 pname = "apache-libcloud";
20 inherit pname version;
21 sha256 = "70096690b24a7832cc5abdfda1954b49fddc1c09a348a1e6caa781ac867ed4c6";
24 checkInputs = [ mock pytest pytestrunner requests-mock ];
25 propagatedBuildInputs = [ pycrypto requests ]
26 ++ lib.optionals isPy27 [ typing backports_ssl_match_hostname ];
28 preConfigure = "cp libcloud/test/secrets.py-dist libcloud/test/secrets.py";
30 # requires a certificates file
34 description = "A unified interface to many cloud providers";
35 homepage = "http://incubator.apache.org/libcloud/";
36 license = licenses.asl20;