{ stdenv , buildPythonPackage , fetchPypi , mock , pycrypto , requests , pytestrunner , pytest , requests-mock }: buildPythonPackage rec { pname = "apache-libcloud"; version = "2.5.0"; src = fetchPypi { inherit pname version; sha256 = "1dj8jh5ccjv7qbydf49cw17py7z3jjkaxk4jj2gx6mq2f4w304wg"; }; checkInputs = [ mock pytest pytestrunner requests-mock ]; propagatedBuildInputs = [ pycrypto requests ]; preConfigure = "cp libcloud/test/secrets.py-dist libcloud/test/secrets.py"; # requires a certificates file doCheck = false; meta = with stdenv.lib; { description = "A unified interface to many cloud providers"; homepage = http://incubator.apache.org/libcloud/; license = licenses.asl20; }; }