python3Packages.djoser: fix attribute ordering
Move pyproject and build-system to conventional positions and correct dependencies attribute name.
This commit is contained in:
@@ -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 ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user