lol

python312Packages.mohawk: drop nose dependency

+13 -11
+13 -11
pkgs/development/python-modules/mohawk/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchPypi, 5 - mock, 6 - nose, 7 - pytest, 5 + fetchpatch2, 6 + pytestCheckHook, 8 7 six, 9 8 }: 10 9 ··· 18 17 sha256 = "08wppsv65yd0gdxy5zwq37yp6jmxakfz4a2yx5wwq2d222my786j"; 19 18 }; 20 19 20 + patches = [ 21 + (fetchpatch2 { 22 + # https://github.com/kumar303/mohawk/pull/59 23 + name = "nose-to-pytest.patch"; 24 + url = "https://github.com/kumar303/mohawk/compare/b7899166880e890f01cf2531b5686094ba08df8f...66157c7efbf6b0d18c30a9ffe5dfd84bef27bd3a.patch"; 25 + hash = "sha256-w3sP5XeBqOwoPGsWzYET4djYwuKPaS4OOlC3HBPD0NI="; 26 + }) 27 + ]; 28 + 21 29 propagatedBuildInputs = [ six ]; 22 30 23 - nativeCheckInputs = [ 24 - mock 25 - nose 26 - pytest 27 - ]; 31 + nativeCheckInputs = [ pytestCheckHook ]; 28 32 29 - checkPhase = '' 30 - pytest mohawk/tests.py 31 - ''; 33 + pytestFlagsArray = [ "mohawk/tests.py" ]; 32 34 33 35 meta = { 34 36 description = "Python library for Hawk HTTP authorization";