treewide: migrate to pythonPackages.unittestCheckHook

This commit is contained in:
Winter
2022-08-06 12:32:04 -04:00
parent e8fbb38a51
commit 19adc3341c
82 changed files with 278 additions and 417 deletions

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, unidecode, regex, python }:
{ lib, buildPythonPackage, fetchPypi, unidecode, regex, unittestCheckHook }:
buildPythonPackage rec {
pname = "awesome-slugify";
@@ -20,9 +20,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ unidecode regex ];
checkPhase = ''
${python.interpreter} -m unittest discover
'';
checkInputs = [ unittestCheckHook ];
meta = with lib; {
homepage = "https://github.com/dimka665/awesome-slugify";