diff options
author | Robert Schütz <nix@dotlambda.de> | 2024-02-13 21:10:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 21:10:28 +0000 |
commit | 3455ba44dbb5a87701cd041ddcd47155d185f952 (patch) | |
tree | f58f2ac5c88ba1f9ef589884130592aa8e6ef955 /pkgs/development/python-modules/proton-vpn-api-core/default.nix | |
parent | be5c4d491ecfcd773a7f79a771c7605eb05120e2 (diff) | |
parent | 47bcf4a4ddd7cde063ad3b8c6fcca15de254f951 (diff) |
Merge pull request #287086 from dotlambda/protonvpn-gui-4.1.10
protonvpn-gui: 4.1.0-unstable-2023-10-25 -> 4.1.10
Diffstat (limited to 'pkgs/development/python-modules/proton-vpn-api-core/default.nix')
-rw-r--r-- | pkgs/development/python-modules/proton-vpn-api-core/default.nix | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/proton-vpn-api-core/default.nix b/pkgs/development/python-modules/proton-vpn-api-core/default.nix index 0906d2bd4248a..ba8869e42daa4 100644 --- a/pkgs/development/python-modules/proton-vpn-api-core/default.nix +++ b/pkgs/development/python-modules/proton-vpn-api-core/default.nix @@ -11,16 +11,16 @@ , pytestCheckHook }: -buildPythonPackage { +buildPythonPackage rec { pname = "proton-vpn-api-core"; - version = "0.20.1-unstable-2023-10-10"; + version = "0.20.3"; pyproject = true; src = fetchFromGitHub { owner = "ProtonVPN"; repo = "python-proton-vpn-api-core"; - rev = "9c03fc30d3ff08559cab3644eadde027b029375d"; - hash = "sha256-vnz1+NazQceAs9KA3Jq0tsJditRoG/LoBR+0wuDzzHk="; + rev = "refs/tags/v${version}"; + hash = "sha256-acck0Nc/15soTJBC/4y83ID9fjF/q4vrYr6SsLAAVRY="; }; nativeBuildInputs = [ @@ -38,7 +38,7 @@ buildPythonPackage { postPatch = '' substituteInPlace setup.cfg \ - --replace "--cov=proton/vpn/core/ --cov-report html --cov-report term" "" + --replace-fail "--cov=proton/vpn/core/ --cov-report html --cov-report term" "" ''; pythonImportsCheck = [ "proton.vpn.core" ]; @@ -52,11 +52,6 @@ buildPythonPackage { export HOME=$(mktemp -d) ''; - disabledTestPaths = [ - # Has a single test failing with Permission denied: '/run' - "tests/test_session.py" - ]; - meta = with lib; { description = "Acts as a facade to the other Proton VPN components, exposing a uniform API to the available Proton VPN services"; homepage = "https://github.com/ProtonVPN/python-proton-vpn-api-core"; |