pythonPackages.requests-aws4auth: init at 0.9

Needed by elasticsearch-curator.
This commit is contained in:
Bas van Dijk 2018-08-25 16:34:56 +02:00
parent 16ce3c8f74
commit 61b646741c
3 changed files with 25 additions and 0 deletions

View File

@ -4,6 +4,7 @@
, boto3 , boto3
, click , click
, certifi , certifi
, requests-aws4auth
, voluptuous , voluptuous
, pyyaml , pyyaml
, elasticsearch , elasticsearch
@ -31,6 +32,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
click click
certifi certifi
requests-aws4auth
voluptuous voluptuous
pyyaml pyyaml
elasticsearch elasticsearch

View File

@ -0,0 +1,21 @@
{ lib, buildPythonPackage, fetchPypi, requests }:
buildPythonPackage rec {
pname = "requests-aws4auth";
version = "0.9";
src = fetchPypi {
inherit pname version;
sha256 = "0g52a1pm53aqkc9qb5q1m918c1qy6q47c1qz63p5ilynfbs3m5y9";
};
propagatedBuildInputs = [ requests ];
doCheck = false;
meta = with lib; {
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 ];
};
}

View File

@ -2009,6 +2009,8 @@ in {
requests-unixsocket = callPackage ../development/python-modules/requests-unixsocket {}; requests-unixsocket = callPackage ../development/python-modules/requests-unixsocket {};
requests-aws4auth = callPackage ../development/python-modules/requests-aws4auth { };
howdoi = callPackage ../development/python-modules/howdoi {}; howdoi = callPackage ../development/python-modules/howdoi {};
neurotools = callPackage ../development/python-modules/neurotools {}; neurotools = callPackage ../development/python-modules/neurotools {};