summary refs log tree commit diff
diff options
context:
space:
mode:
authorArtturi <Artturin@artturin.com>2022-11-21 21:56:14 +0200
committerGitHub <noreply@github.com>2022-11-21 21:56:14 +0200
commita851c6c6e48acc281c97b6c7eb0d26cc84a6ed76 (patch)
treef99c3a24a00d0501dee75a99e5a4d39282da4944
parent3f1058adb1ac9df62f97a1e8fe59c31d3bfa4787 (diff)
parent271d7abb49faa5da0e026c994e33ef42a5932fc1 (diff)
Merge pull request #202167 from tjni/unicode-slugify
python310Packages.unicode-slugify: remove unittest2
-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";