diff options
Diffstat (limited to 'pkgs/development/python-modules/autoslot/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/autoslot/default.nix | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/pkgs/development/python-modules/autoslot/default.nix b/pkgs/development/python-modules/autoslot/default.nix index c234b35e0e58..55059da486a0 100644 --- a/pkgs/development/python-modules/autoslot/default.nix +++ b/pkgs/development/python-modules/autoslot/default.nix @@ -1,9 +1,10 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, flit-core -, pytestCheckHook -, pythonOlder +{ + lib, + buildPythonPackage, + fetchFromGitHub, + flit-core, + pytestCheckHook, + pythonOlder, }: buildPythonPackage rec { @@ -26,17 +27,11 @@ buildPythonPackage rec { --replace 'build-backend = "flit.buildapi"' 'build-backend = "flit_core.buildapi"' ''; - nativeBuildInputs = [ - flit-core - ]; + nativeBuildInputs = [ flit-core ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ - "autoslot" - ]; + pythonImportsCheck = [ "autoslot" ]; meta = with lib; { description = "Automatic __slots__ for your Python classes"; |
