Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 25 lines 687 B view raw
1{ lib, buildPythonPackage, fetchPypi, python, requests }: 2with lib; 3buildPythonPackage rec { 4 pname = "requests-aws4auth"; 5 version = "1.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "2950f6ff686b5a452a269076d990e4821d959b61cfac319c3d3c6daaa5db55ce"; 10 }; 11 12 propagatedBuildInputs = [ requests ]; 13 14 checkPhase = '' 15 cd requests_aws4auth 16 ${python.interpreter} test/requests_aws4auth_test.py 17 ''; 18 19 meta = { 20 description = "Amazon Web Services version 4 authentication for the Python Requests library."; 21 homepage = "https://github.com/sam-washington/requests-aws4auth"; 22 license = licenses.mit; 23 maintainers = [ maintainers.basvandijk ]; 24 }; 25}