python3Packages.djoser: fix attribute ordering

Move pyproject and build-system to conventional positions and correct
dependencies attribute name.
This commit is contained in:
Mostafa Khaled
2025-06-22 23:25:37 +03:00
parent 3accd8f7ec
commit 76e2d08c30
@@ -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 ];