From 69b41146f1d5bb64dfacc282de42a673320aa84a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 17 Oct 2023 22:30:16 +0000 Subject: [PATCH 1/3] python311Packages.social-auth-app-django: 5.3.0 -> 5.4.0 --- .../python-modules/social-auth-app-django/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/social-auth-app-django/default.nix b/pkgs/development/python-modules/social-auth-app-django/default.nix index ea35dfed1b16..c62cb9f5650a 100644 --- a/pkgs/development/python-modules/social-auth-app-django/default.nix +++ b/pkgs/development/python-modules/social-auth-app-django/default.nix @@ -2,13 +2,13 @@ buildPythonPackage rec { pname = "social-auth-app-django"; - version = "5.3.0"; + version = "5.4.0"; src = fetchFromGitHub { owner = "python-social-auth"; repo = "social-app-django"; rev = "refs/tags/${version}"; - hash = "sha256-YJsE8YfLaUsBjwehheic6YG+6robWeBzKL3T7V0c8E8="; + hash = "sha256-CZF1DA4UUnmGfdmWlBJ0zJIYx1E03a7Z7Y6WJNFU68M="; }; propagatedBuildInputs = [ From 6679012e6656a3b0e7e29c7278e8903e8bb1f3db Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 18 Oct 2023 08:46:11 +0200 Subject: [PATCH 2/3] python311Packages.social-auth-app-django: add changelog to meta --- .../social-auth-app-django/default.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/social-auth-app-django/default.nix b/pkgs/development/python-modules/social-auth-app-django/default.nix index c62cb9f5650a..b9372f196a80 100644 --- a/pkgs/development/python-modules/social-auth-app-django/default.nix +++ b/pkgs/development/python-modules/social-auth-app-django/default.nix @@ -1,4 +1,10 @@ -{ lib, buildPythonPackage, fetchFromGitHub, social-auth-core, django, python }: +{ lib +, buildPythonPackage +, fetchFromGitHub +, social-auth-core +, django +, python +}: buildPythonPackage rec { pname = "social-auth-app-django"; @@ -15,7 +21,9 @@ buildPythonPackage rec { social-auth-core ]; - pythonImportsCheck = [ "social_django" ]; + pythonImportsCheck = [ + "social_django" + ]; nativeCheckInputs = [ django @@ -26,8 +34,9 @@ buildPythonPackage rec { ''; meta = with lib; { + description = "Module for social authentication/registration mechanism"; homepage = "https://github.com/python-social-auth/social-app-django"; - description = "Python Social Auth - Application - Django"; + changelog = "https://github.com/python-social-auth/social-app-django/blob/${version}/CHANGELOG.md"; license = licenses.bsd3; maintainers = with maintainers; [ n0emis ]; }; From d7ee0417aa6a88cc5ab6b7454846eda32a950732 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 18 Oct 2023 09:46:51 +0200 Subject: [PATCH 3/3] python311Packages.social-auth-app-django: add format - disable on unsupported Python releases --- .../python-modules/social-auth-app-django/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/social-auth-app-django/default.nix b/pkgs/development/python-modules/social-auth-app-django/default.nix index b9372f196a80..a8fd2503dbe0 100644 --- a/pkgs/development/python-modules/social-auth-app-django/default.nix +++ b/pkgs/development/python-modules/social-auth-app-django/default.nix @@ -4,11 +4,15 @@ , social-auth-core , django , python +, pythonOlder }: buildPythonPackage rec { pname = "social-auth-app-django"; version = "5.4.0"; + format = "setuptools"; + + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "python-social-auth";