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

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