From 76e2d08c30045092cc7303076920573e95349d13 Mon Sep 17 00:00:00 2001 From: Mostafa Khaled Date: Sun, 22 Jun 2025 23:25:37 +0300 Subject: [PATCH] python3Packages.djoser: fix attribute ordering Move pyproject and build-system to conventional positions and correct dependencies attribute name. --- pkgs/development/python-modules/djoser/default.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/djoser/default.nix b/pkgs/development/python-modules/djoser/default.nix index f0f9669cc046..cffcd3376600 100644 --- a/pkgs/development/python-modules/djoser/default.nix +++ b/pkgs/development/python-modules/djoser/default.nix @@ -11,6 +11,7 @@ buildPythonPackage rec { pname = "djoser"; version = "2.3.1"; + pyproject = true; src = fetchFromGitHub { owner = "sunscrapers"; @@ -19,18 +20,14 @@ buildPythonPackage rec { hash = "sha256-xPhf7FiJSq5bHfAU5RKbobgnsRh/6cLcXP6vfrLdzJA="; }; - buildInputs = [ + build-system = [ poetry-core ]; + + dependencies = [ django djangorestframework-simplejwt social-auth-app-django ]; - pyproject = true; - - build-system = [ - poetry-core - ]; - # djet isn't packaged yet # nativeCheckInputs = [ pytestCheckHook ];