python3Packages.pywebpush: fix build

Updates dependencies and migrates test from nosetests to pytest.
This commit is contained in:
Martin Weinelt 2021-03-27 01:22:40 +01:00 committed by Frederik Rietdijk
parent 2cb255c7ad
commit 45e6b6019e

View file

@ -1,6 +1,16 @@
{ lib, fetchPypi, buildPythonPackage { lib
, coverage, flake8, mock, nose , fetchPypi
, http-ece, py-vapid, requests }: , buildPythonPackage
, cryptography
, http-ece
, py-vapid
, requests
, six
, coverage
, flake8
, mock
, pytestCheckHook
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pywebpush"; pname = "pywebpush";
@ -12,11 +22,18 @@ buildPythonPackage rec {
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
http-ece py-vapid requests cryptography
http-ece
py-vapid
requests
six
]; ];
checkInputs = [ checkInputs = [
coverage flake8 mock nose coverage
flake8
mock
pytestCheckHook
]; ];
meta = with lib; { meta = with lib; {