python3Packages: format with nixfmt
This commit is contained in:
@@ -1,22 +1,23 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
|
||||
# build-system
|
||||
, setuptools
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
, importlib-metadata
|
||||
, importlib-resources
|
||||
, mako
|
||||
, sqlalchemy
|
||||
, typing-extensions
|
||||
# dependencies
|
||||
importlib-metadata,
|
||||
importlib-resources,
|
||||
mako,
|
||||
sqlalchemy,
|
||||
typing-extensions,
|
||||
|
||||
# tests
|
||||
, pytest7CheckHook
|
||||
, pytest-xdist
|
||||
, python-dateutil
|
||||
# tests
|
||||
pytest7CheckHook,
|
||||
pytest-xdist,
|
||||
python-dateutil,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -31,22 +32,20 @@ buildPythonPackage rec {
|
||||
hash = "sha256-STLIVYv2jy7pK5u8uCGGccYnBk1bCJOUN69td9wF5ZU=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
mako
|
||||
sqlalchemy
|
||||
typing-extensions
|
||||
] ++ lib.optionals (pythonOlder "3.9") [
|
||||
importlib-resources
|
||||
importlib-metadata
|
||||
];
|
||||
dependencies =
|
||||
[
|
||||
mako
|
||||
sqlalchemy
|
||||
typing-extensions
|
||||
]
|
||||
++ lib.optionals (pythonOlder "3.9") [
|
||||
importlib-resources
|
||||
importlib-metadata
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"alembic"
|
||||
];
|
||||
pythonImportsCheck = [ "alembic" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest7CheckHook
|
||||
|
||||
Reference in New Issue
Block a user