depot/third_party/nixpkgs/pkgs/development/python-modules/requests-aws4auth/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

25 lines
687 B
Nix

{ lib, buildPythonPackage, fetchPypi, python, requests }:
with lib;
buildPythonPackage rec {
pname = "requests-aws4auth";
version = "1.0";
src = fetchPypi {
inherit pname version;
sha256 = "2950f6ff686b5a452a269076d990e4821d959b61cfac319c3d3c6daaa5db55ce";
};
propagatedBuildInputs = [ requests ];
checkPhase = ''
cd requests_aws4auth
${python.interpreter} test/requests_aws4auth_test.py
'';
meta = {
description = "Amazon Web Services version 4 authentication for the Python Requests library.";
homepage = "https://github.com/sam-washington/requests-aws4auth";
license = licenses.mit;
maintainers = [ maintainers.basvandijk ];
};
}