diff options
Diffstat (limited to 'pkgs/development/python-modules/pyphen')
-rw-r--r-- | pkgs/development/python-modules/pyphen/default.nix | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/pkgs/development/python-modules/pyphen/default.nix b/pkgs/development/python-modules/pyphen/default.nix index 15eb6342988fb..b8464e1852bbe 100644 --- a/pkgs/development/python-modules/pyphen/default.nix +++ b/pkgs/development/python-modules/pyphen/default.nix @@ -1,43 +1,42 @@ -{ lib -, buildPythonPackage -, fetchPypi -, flit -, pytestCheckHook -, pythonOlder +{ + lib, + buildPythonPackage, + fetchPypi, + flit, + pytestCheckHook, + pythonOlder, }: buildPythonPackage rec { pname = "pyphen"; - version = "0.14.0"; + version = "0.16.0"; format = "pyproject"; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-WWyLO+HBpwQRul9lF9nM/jCDx1iuK5SkXycHNG2OZvo="; + hash = "sha256-LABrPd8HLJVxq5dgbZqzwmqS6s7UwNWf0dJpiPMI9BM="; }; - nativeBuildInputs = [ - flit - ]; + nativeBuildInputs = [ flit ]; preCheck = '' sed -i '/addopts/d' pyproject.toml ''; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ - "pyphen" - ]; + pythonImportsCheck = [ "pyphen" ]; meta = with lib; { description = "Module to hyphenate text"; homepage = "https://github.com/Kozea/Pyphen"; changelog = "https://github.com/Kozea/Pyphen/releases/tag/${version}"; - license = with licenses; [gpl2 lgpl21 mpl20]; + license = with licenses; [ + gpl2 + lgpl21 + mpl20 + ]; }; } |