forked from mirrors/nixpkgs
Merge pull request #287086 from dotlambda/protonvpn-gui-4.1.10
protonvpn-gui: 4.1.0-unstable-2023-10-25 -> 4.1.10
This commit is contained in:
commit
3455ba44db
|
@ -27,14 +27,14 @@
|
|||
|
||||
buildPythonApplication rec {
|
||||
pname = "protonvpn-gui";
|
||||
version = "4.1.0-unstable-2023-10-25";
|
||||
version = "4.1.10";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ProtonVPN";
|
||||
repo = "proton-vpn-gtk-app";
|
||||
rev = "713324e9e4ee9f030c8115072cae379eb3340c42";
|
||||
hash = "sha256-DfuM4b2cSIA8j9Ux3TzInRCvzQGb9LvJDSwRhfadBPY=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-D06dMMjzFE7gIGFpIH/+0xmVCckqAWLkb3lc2ZmxNZs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -71,7 +71,7 @@ buildPythonApplication rec {
|
|||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov=proton --cov-report=html --cov-report=term" ""
|
||||
--replace-fail "--cov=proton --cov-report=html --cov-report=term" ""
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -9,16 +9,16 @@
|
|||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
buildPythonPackage rec {
|
||||
pname = "proton-vpn-connection";
|
||||
version = "0.11.0-unstable-2023-09-05";
|
||||
version = "0.11.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ProtonVPN";
|
||||
repo = "python-proton-vpn-connection";
|
||||
rev = "747ccacb5350ad59f2a09953b8d20c5c161aab54";
|
||||
hash = "sha256-WyMG0kmwBKoWc0mHnaop9E0upPAYHFwS/A9I1//WwlY=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-RuLnc/olI8S09WFG126N2xZgW4gf+DDpRstcelqMhs4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -34,7 +34,7 @@ buildPythonPackage {
|
|||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov=proton.vpn.connection --cov-report html --cov-report term" ""
|
||||
--replace-fail "--cov=proton.vpn.connection --cov-report html --cov-report term" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "proton.vpn.connection" ];
|
||||
|
|
|
@ -6,16 +6,16 @@
|
|||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
buildPythonPackage rec {
|
||||
pname = "proton-vpn-logger";
|
||||
version = "0.2.1-unstable-2023-05-10";
|
||||
version = "0.2.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ProtonVPN";
|
||||
repo = "python-proton-vpn-logger";
|
||||
rev = "0acbc1ab41a65cbc9ceb340e3db011e6f89eb65a";
|
||||
hash = "sha256-VIggBKopAAKiNdQ5ypG1qI74E2WMDwDSriSuka/DBKA=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-/LfMjyTs/EusgnKEQugsdJzqDZBvaAhbsTUVLDCRw0I=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -28,7 +28,7 @@ buildPythonPackage {
|
|||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov=proton/vpn/logging/ --cov-report html --cov-report term" ""
|
||||
--replace-fail "--cov=proton/vpn/logging/ --cov-report html --cov-report term" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "proton.vpn.logging" ];
|
||||
|
|
|
@ -8,19 +8,20 @@
|
|||
, proton-vpn-connection
|
||||
, pycairo
|
||||
, pygobject3
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
buildPythonPackage rec {
|
||||
pname = "proton-vpn-network-manager";
|
||||
version = "0.3.0-unstable-2023-09-05";
|
||||
version = "0.3.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ProtonVPN";
|
||||
repo = "python-proton-vpn-network-manager";
|
||||
rev = "6ffd04fa0ae88a89d2b733443317066ef23b3ccd";
|
||||
hash = "sha256-Bqlwo7U/mwodQarl30n3/BNETqit1MVQUJT+mAhC6AI=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-UEXoIFLB3/q3G3ASrgsXxF21iT5rCWm4knGezcmxmnk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -40,12 +41,13 @@ buildPythonPackage {
|
|||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov=proton/vpn/backend/linux/networkmanager --cov-report html --cov-report term" ""
|
||||
--replace-fail "--cov=proton/vpn/backend/linux/networkmanager --cov-report html --cov-report term" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "proton.vpn.backend.linux.networkmanager" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
|
|
@ -14,16 +14,16 @@
|
|||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
buildPythonPackage rec {
|
||||
pname = "proton-vpn-session";
|
||||
version = "0.6.2-unstable-2023-10-24";
|
||||
version = "0.6.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ProtonVPN";
|
||||
repo = "python-proton-vpn-session";
|
||||
rev = "419b25bd1823f78d1219dc4cc441eeaf37646068";
|
||||
hash = "sha256-YPyNxbKxw+670bNQZ7U5nljyUjsNJ+k7eL+HpGiSCLk=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-1oyCxBO9YqMopbw88UJF8k4BJFP4+m23NwSrqTYqcg8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -40,7 +40,7 @@ buildPythonPackage {
|
|||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov=proton.vpn.session --cov-report term" ""
|
||||
--replace-fail "--cov=proton.vpn.session --cov-report term" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "proton.vpn.session" ];
|
||||
|
|
Loading…
Reference in a new issue