Unverified Commit 44b67127 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #329055 from r-ryantm/auto-update/python312Packages.requests-aws4auth

python312Packages.requests-aws4auth: 1.2.3 -> 1.3.1
parents 6e7f1a4c f3e0801d
Loading
Loading
Loading
Loading
+10 −11
Original line number Diff line number Diff line
@@ -6,33 +6,32 @@
  pytestCheckHook,
  pythonOlder,
  requests,
  six,
  setuptools,
}:

buildPythonPackage rec {
  pname = "requests-aws4auth";
  version = "1.2.3";
  format = "setuptools";
  version = "1.3.1";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "tedder";
    repo = pname;
    repo = "requests-aws4auth";
    rev = "refs/tags/v${version}";
    hash = "sha256-9ySuX7eKrSwgxgFoMdnVTsIfpnm9kVcI9AqSb+AsVaU=";
    hash = "sha256-tRo38fdWqZmutGhWv8Hks+oFaLv770RlAHYgS3S6xJA=";
  };

  propagatedBuildInputs = [
    requests
    six
  ];
  build-system = [ setuptools ];

  passthru.optional-dependencies = {
  dependencies = [ requests ];

  optional-dependencies = {
    httpx = [ httpx ];
  };

  nativeCheckInputs = [ pytestCheckHook ] ++ passthru.optional-dependencies.httpx;
  nativeCheckInputs = [ pytestCheckHook ] ++ optional-dependencies.httpx;

  pythonImportsCheck = [ "requests_aws4auth" ];