about summary refs log tree commit diff
path: root/pkgs/development/python-modules/aspell-python
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2024-05-22 16:01:06 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2024-05-22 17:32:03 +0200
commit59b1aef59071cae6e87859dc65de973d2cc595c0 (patch)
tree18c3aaf31188cb7430359a1bb130d637a363351e /pkgs/development/python-modules/aspell-python
parent691216eca3d0ce5ad6ac10562e75910fa02415b0 (diff)
python3Packages: format with nixfmt
Diffstat (limited to 'pkgs/development/python-modules/aspell-python')
-rw-r--r--pkgs/development/python-modules/aspell-python/default.nix39
1 files changed, 15 insertions, 24 deletions
diff --git a/pkgs/development/python-modules/aspell-python/default.nix b/pkgs/development/python-modules/aspell-python/default.nix
index 1f66b49869e04..37c708bed5c07 100644
--- a/pkgs/development/python-modules/aspell-python/default.nix
+++ b/pkgs/development/python-modules/aspell-python/default.nix
@@ -1,12 +1,13 @@
-{ lib
-, aspell
-, aspellDicts
-, buildPythonPackage
-, fetchPypi
-, isPy27
-, pytestCheckHook
-, pythonAtLeast
-, setuptools
+{
+  lib,
+  aspell,
+  aspellDicts,
+  buildPythonPackage,
+  fetchPypi,
+  isPy27,
+  pytestCheckHook,
+  pythonAtLeast,
+  setuptools,
 }:
 
 buildPythonPackage rec {
@@ -23,26 +24,18 @@ buildPythonPackage rec {
     hash = "sha256-IEKRDmQY5fOH9bQk0dkUAy7UzpBOoZW4cNtVvLMcs40=";
   };
 
-  build-system = [
-    setuptools
-  ];
+  build-system = [ setuptools ];
 
-  buildInputs = [
-    aspell
-  ];
+  buildInputs = [ aspell ];
 
-  nativeCheckInputs = [
-    pytestCheckHook
-  ];
+  nativeCheckInputs = [ pytestCheckHook ];
 
   preCheck = ''
     export ASPELL_CONF="dict-dir ${aspellDicts.en}/lib/aspell"
     export HOME=$(mktemp -d)
   '';
 
-  pytestFlagsArray = [
-    "test/unittests.py"
-  ];
+  pytestFlagsArray = [ "test/unittests.py" ];
 
   disabledTests = lib.optionals (pythonAtLeast "3.10") [
     # https://github.com/WojciechMula/aspell-python/issues/22
@@ -51,9 +44,7 @@ buildPythonPackage rec {
     "test_saveall"
   ];
 
-  pythonImportsCheck = [
-    "aspell"
-  ];
+  pythonImportsCheck = [ "aspell" ];
 
   meta = with lib; {
     description = "Python wrapper for aspell (C extension and Python version)";