From 1d4bfa2a9d06ed73f415e8a8e1ad838771f63b9a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 7 Jun 2022 14:07:35 +0200 Subject: [PATCH] python310Packages.oauthenticator: add format --- .../python-modules/oauthenticator/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/oauthenticator/default.nix b/pkgs/development/python-modules/oauthenticator/default.nix index bf2a30fb5b2a..b3a4c5db7a0e 100644 --- a/pkgs/development/python-modules/oauthenticator/default.nix +++ b/pkgs/development/python-modules/oauthenticator/default.nix @@ -15,11 +15,13 @@ buildPythonPackage rec { pname = "oauthenticator"; version = "15.0.0"; + format = "setuptools"; + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-d1toYgrufnVd10QhJ4nhQqyDRaq4CjWLDjC+7ABNp6Y="; + hash = "sha256-d1toYgrufnVd10QhJ4nhQqyDRaq4CjWLDjC+7ABNp6Y="; }; propagatedBuildInputs = [ @@ -37,12 +39,14 @@ buildPythonPackage rec { ]; disabledTests = [ - # Test are outdated, https://github.com/jupyterhub/oauthenticator/issues/432 + # Tests are outdated, https://github.com/jupyterhub/oauthenticator/issues/432 "test_azuread" "test_mediawiki" ]; - pythonImportsCheck = [ "oauthenticator" ]; + pythonImportsCheck = [ + "oauthenticator" + ]; meta = with lib; { description = "Authenticate JupyterHub users with common OAuth providers, including GitHub, Bitbucket, and more.";