My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/development/python-modules/requests-aws4auth/default.nix

31 lines
796 B

{ lib, buildPythonPackage, fetchPypi, python, requests, six }:
with lib;
buildPythonPackage rec {
pname = "requests-aws4auth";
version = "1.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-694GYtzNpQI1RgVexMvkRwyuAX7L/OjTaLgLXkqU1hk=";
};
propagatedBuildInputs = [ requests six ];
# pypi package no longer contains tests
doCheck = false;
checkPhase = ''
cd requests_aws4auth
${python.interpreter} test/requests_aws4auth_test.py
'';
pythonImportsCheck = [ "requests_aws4auth" ];
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 ];
};
}