summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2022-09-15 23:26:43 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-06-07 22:04:57 +0000
commit707e76729f31b650cdd1b3c54b422ed3a97fdefa (patch)
tree7d1ba4ad66f37b0f0cb2003f532c21fa0a3eac09
parentMerge pull request #236451 from NixOS/backport-236427-to-release-23.05 (diff)
downloadnixpkgs-707e76729f31b650cdd1b3c54b422ed3a97fdefa.tar.gz
python3Packages.oauthlib: add some key reverse dependencies to passthru.tests
(cherry picked from commit f9dee9b385872f633020bbcd32d6aea604eaebd3)
-rw-r--r--pkgs/development/python-modules/oauthlib/default.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/oauthlib/default.nix b/pkgs/development/python-modules/oauthlib/default.nix
index e1d6bbc13070..424e35c5d3a9 100644
--- a/pkgs/development/python-modules/oauthlib/default.nix
+++ b/pkgs/development/python-modules/oauthlib/default.nix
@@ -7,6 +7,12 @@
, pyjwt
, pytestCheckHook
, pythonOlder
+
+# for passthru.tests
+, django-allauth
+, django-oauth-toolkit
+, google-auth-oauthlib
+, requests-oauthlib
}:
buildPythonPackage rec {
@@ -38,6 +44,14 @@ buildPythonPackage rec {
"oauthlib"
];
+ passthru.tests = {
+ inherit
+ django-allauth
+ django-oauth-toolkit
+ google-auth-oauthlib
+ requests-oauthlib;
+ };
+
meta = with lib; {
description = "Generic, spec-compliant, thorough implementation of the OAuth request-signing logic";
homepage = "https://github.com/idan/oauthlib";