about summary refs log tree commit diff
path: root/pkgs/development/python-modules/unicode-slugify/default.nix
diff options
context:
space:
mode:
authorTheodore Ni <3806110+tjni@users.noreply.github.com>2022-11-21 01:39:54 -0800
committerTheodore Ni <3806110+tjni@users.noreply.github.com>2022-11-21 01:39:54 -0800
commit271d7abb49faa5da0e026c994e33ef42a5932fc1 (patch)
tree1f8de5b0fee17e6cf36769806b6872104fb59f51 /pkgs/development/python-modules/unicode-slugify/default.nix
parent551296c6578f603460d750b5be8fa09278d9b8b9 (diff)
python310Packages.unicode-slugify: remove unittest2
Diffstat (limited to 'pkgs/development/python-modules/unicode-slugify/default.nix')
-rw-r--r--pkgs/development/python-modules/unicode-slugify/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/unicode-slugify/default.nix b/pkgs/development/python-modules/unicode-slugify/default.nix
index 102af56618b8b..3d91368dd60a8 100644
--- a/pkgs/development/python-modules/unicode-slugify/default.nix
+++ b/pkgs/development/python-modules/unicode-slugify/default.nix
@@ -3,8 +3,8 @@
 , fetchPypi
 , nose
 , six
-, unittest2
 , unidecode
+, unittestCheckHook
 }:
 
 buildPythonPackage rec {
@@ -18,7 +18,10 @@ buildPythonPackage rec {
 
   propagatedBuildInputs = [ six unidecode ];
 
-  checkInputs = [ nose unittest2 ];
+  checkInputs = [
+    nose
+    unittestCheckHook
+  ];
 
   meta = with lib; {
     description = "Generates unicode slugs";