about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyphen
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-08-26 21:32:42 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-09-01 21:23:12 +0200
commite51ced4f4e83b04602a1948bed8b749a21f52f99 (patch)
tree29f868887998d8af8614af51f5221e9153ed1ff5 /pkgs/development/python-modules/pyphen
parent4da98882e46d2603fa720d576a378ab53f4202e3 (diff)
python3Packages.Pyphen: 0.10.0 -> 0.11.0
Diffstat (limited to 'pkgs/development/python-modules/pyphen')
-rw-r--r--pkgs/development/python-modules/pyphen/default.nix20
1 files changed, 16 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/pyphen/default.nix b/pkgs/development/python-modules/pyphen/default.nix
index 2f573b67838bc..74581ba7e33c2 100644
--- a/pkgs/development/python-modules/pyphen/default.nix
+++ b/pkgs/development/python-modules/pyphen/default.nix
@@ -1,14 +1,26 @@
-{ lib, buildPythonPackage, fetchPypi }:
+{ lib
+, buildPythonPackage
+, fetchPypi
+, pytestCheckHook
+}:
 
 buildPythonPackage rec {
-  pname = "Pyphen";
-  version = "0.10.0";
+  pname = "pyphen";
+  version = "0.11.0";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "719b21dfb4b04fbc11cc0f6112418535fe35474021120cccfffc43a25fe63128";
+    sha256 = "e2c3ed82c3a04317df5102addafe89652b0876bc6c6265f5dd4c3efaf02315e8";
   };
 
+  preCheck = ''
+    sed -i '/addopts/d' pyproject.toml
+  '';
+
+  checkInputs = [
+    pytestCheckHook
+  ];
+
   meta = with lib; {
     description = "Pure Python module to hyphenate text";
     homepage = "https://github.com/Kozea/Pyphen";