Loading pkgs/development/python-modules/mohawk/default.nix +13 −11 Original line number Diff line number Diff line Loading @@ -2,9 +2,8 @@ lib, buildPythonPackage, fetchPypi, mock, nose, pytest, fetchpatch2, pytestCheckHook, six, }: Loading @@ -18,17 +17,20 @@ buildPythonPackage rec { sha256 = "08wppsv65yd0gdxy5zwq37yp6jmxakfz4a2yx5wwq2d222my786j"; }; patches = [ (fetchpatch2 { # https://github.com/kumar303/mohawk/pull/59 name = "nose-to-pytest.patch"; url = "https://github.com/kumar303/mohawk/compare/b7899166880e890f01cf2531b5686094ba08df8f...66157c7efbf6b0d18c30a9ffe5dfd84bef27bd3a.patch"; hash = "sha256-w3sP5XeBqOwoPGsWzYET4djYwuKPaS4OOlC3HBPD0NI="; }) ]; propagatedBuildInputs = [ six ]; nativeCheckInputs = [ mock nose pytest ]; nativeCheckInputs = [ pytestCheckHook ]; checkPhase = '' pytest mohawk/tests.py ''; pytestFlagsArray = [ "mohawk/tests.py" ]; meta = { description = "Python library for Hawk HTTP authorization"; Loading Loading
pkgs/development/python-modules/mohawk/default.nix +13 −11 Original line number Diff line number Diff line Loading @@ -2,9 +2,8 @@ lib, buildPythonPackage, fetchPypi, mock, nose, pytest, fetchpatch2, pytestCheckHook, six, }: Loading @@ -18,17 +17,20 @@ buildPythonPackage rec { sha256 = "08wppsv65yd0gdxy5zwq37yp6jmxakfz4a2yx5wwq2d222my786j"; }; patches = [ (fetchpatch2 { # https://github.com/kumar303/mohawk/pull/59 name = "nose-to-pytest.patch"; url = "https://github.com/kumar303/mohawk/compare/b7899166880e890f01cf2531b5686094ba08df8f...66157c7efbf6b0d18c30a9ffe5dfd84bef27bd3a.patch"; hash = "sha256-w3sP5XeBqOwoPGsWzYET4djYwuKPaS4OOlC3HBPD0NI="; }) ]; propagatedBuildInputs = [ six ]; nativeCheckInputs = [ mock nose pytest ]; nativeCheckInputs = [ pytestCheckHook ]; checkPhase = '' pytest mohawk/tests.py ''; pytestFlagsArray = [ "mohawk/tests.py" ]; meta = { description = "Python library for Hawk HTTP authorization"; Loading