summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/aspell-python/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/aspell-python/default.nix')
-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 1f66b49869e0..37c708bed5c0 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)";