From 271d7abb49faa5da0e026c994e33ef42a5932fc1 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Mon, 21 Nov 2022 01:39:54 -0800 Subject: [PATCH] python310Packages.unicode-slugify: remove unittest2 --- .../development/python-modules/unicode-slugify/default.nix | 7 +++++-- 1 file 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 102af56618b8..3d91368dd60a 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";