proton-vpn-killswitch: use pytest-cov-stub, add sebtm as maintainer

This commit is contained in:
Sebastian Sellmeier
2024-09-13 21:51:26 +02:00
parent e40d48e875
commit 5f37311137
@@ -5,6 +5,7 @@
setuptools,
proton-core,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
@@ -23,19 +24,17 @@ buildPythonPackage rec {
propagatedBuildInputs = [ proton-core ];
postPatch = ''
substituteInPlace setup.cfg \
--replace "--cov=proton --cov-report=html --cov-report=term" ""
'';
pythonImportsCheck = [ "proton.vpn.killswitch.interface" ];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
meta = with lib; {
meta = {
description = "Defines the ProtonVPN kill switch interface";
homepage = "https://github.com/ProtonVPN/python-proton-vpn-killswitch";
license = licenses.gpl3Only;
maintainers = [ ];
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ sebtm ];
};
}