Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 740 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, mock 5, pycrypto 6, requests 7, pytestrunner 8, pytest 9, requests-mock 10}: 11 12buildPythonPackage rec { 13 pname = "apache-libcloud"; 14 version = "2.4.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "0daj3mkzw79v5zin2r1s2wkrz1hplfc16bwj4ss68i5qjq4l2p0j"; 19 }; 20 21 checkInputs = [ mock pytest pytestrunner requests-mock ]; 22 propagatedBuildInputs = [ pycrypto requests ]; 23 24 preConfigure = "cp libcloud/test/secrets.py-dist libcloud/test/secrets.py"; 25 26 # requires a certificates file 27 doCheck = false; 28 29 meta = with stdenv.lib; { 30 description = "A unified interface to many cloud providers"; 31 homepage = http://incubator.apache.org/libcloud/; 32 license = licenses.asl20; 33 }; 34 35}