summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2023-06-08 00:41:36 +0200
committerGitHub <noreply@github.com>2023-06-08 00:41:36 +0200
commitcd55ce27bb3e6cfbf141478cfd05e4a5c2b448f2 (patch)
tree7d1ba4ad66f37b0f0cb2003f532c21fa0a3eac09
parentMerge pull request #236451 from NixOS/backport-236427-to-release-23.05 (diff)
parentpython3Packages.oauthlib: add some key reverse dependencies to passthru.tests (diff)
downloadnixpkgs-cd55ce27bb3e6cfbf141478cfd05e4a5c2b448f2.tar.gz
[Backport release-23.05] python3Packages.oauthlib: add some key reverse dependencies to `passthru.tests` (#236536)
[Backport release-23.05] python3Packages.oauthlib: add some key reverse dependencies to `passthru.tests`
-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";