Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 939 B view raw
1{ pkgs 2, buildPythonPackage 3, fetchPypi 4, isPy38 5, python 6, nose 7, mock 8, requests 9, httpretty 10}: 11 12buildPythonPackage rec { 13 pname = "boto"; 14 version = "2.49.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "ea0d3b40a2d852767be77ca343b58a9e3a4b00d9db440efb8da74b4e58025e5a"; 19 }; 20 21 checkPhase = '' 22 ${python.interpreter} tests/test.py default 23 ''; 24 25 doCheck = (!isPy38); # hmac functionality has changed 26 checkInputs = [ nose mock ]; 27 propagatedBuildInputs = [ requests httpretty ]; 28 29 meta = with pkgs.lib; { 30 homepage = "https://github.com/boto/boto"; 31 license = licenses.mit; 32 description = "Python interface to Amazon Web Services"; 33 longDescription = '' 34 The boto module is an integrated interface to current and 35 future infrastructural services offered by Amazon Web 36 Services. This includes S3, SQS, EC2, among others. 37 ''; 38 maintainers = [ maintainers.costrouc ]; 39 }; 40}