python312Packages.django_5: use pep517 lingo

This commit is contained in:
Martin Weinelt 2024-04-06 02:03:59 +02:00
parent de6e1cb562
commit 8cfb28ef2a
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
1 changed files with 7 additions and 7 deletions

View File

@ -6,7 +6,7 @@
, pythonOlder
, substituteAll
# build
# build-system
, setuptools
# patched in
@ -14,11 +14,11 @@
, gdal
, withGdal ? false
# propagates
# dependencies
, asgiref
, sqlparse
# extras
# optional-dependencies
, argon2-cffi
, bcrypt
@ -83,16 +83,16 @@ buildPythonPackage rec {
--replace-fail "test_files" "dont_test_files"
'';
nativeBuildInputs = [
build-system = [
setuptools
];
propagatedBuildInputs = [
dependencies = [
asgiref
sqlparse
];
passthru.optional-dependencies = {
optional-dependencies = {
argon2 = [
argon2-cffi
];
@ -118,7 +118,7 @@ buildPythonPackage rec {
selenium
tblib
tzdata
] ++ lib.flatten (lib.attrValues passthru.optional-dependencies);
] ++ lib.flatten (lib.attrValues optional-dependencies);
doCheck = !stdenv.isDarwin;