File tree Expand file tree Collapse file tree 4 files changed +28
-15
lines changed
applications/networking/protonvpn-gui
by-name/pr/proton-vpn-local-agent
development/python-modules
proton-vpn-network-manager Expand file tree Collapse file tree 4 files changed +28
-15
lines changed Original file line number Diff line number Diff line change 55 gobject-introspection ,
66 setuptools ,
77 wrapGAppsHook3 ,
8+ libnotify ,
89 dbus-python ,
910 packaging ,
1011 proton-core ,
2122
2223buildPythonApplication rec {
2324 pname = "protonvpn-gui" ;
24- version = "4.8.2 " ;
25+ version = "4.9.5 " ;
2526 pyproject = true ;
2627
2728 src = fetchFromGitHub {
2829 owner = "ProtonVPN" ;
2930 repo = "proton-vpn-gtk-app" ;
3031 tag = "v${ version } " ;
31- hash = "sha256-kNWwrNpXCkAPvXXqv8HwOx0msYEVsO0JgrtG3wUVmQ4 =" ;
32+ hash = "sha256-mXRTXr7u049pgPRK5gwaGfQUmUl4vlKca4lRH06HZj8 =" ;
3233 } ;
3334
3435 nativeBuildInputs = [
@@ -37,12 +38,16 @@ buildPythonApplication rec {
3738 wrapGAppsHook3
3839 ] ;
3940
40- buildInputs = lib . optionals withIndicator [
41- # Adds AppIndicator3 namespace
42- libappindicator-gtk3
43- # Adds AyatanaAppIndicator3 namespace
44- libayatana-appindicator
45- ] ;
41+ buildInputs =
42+ [
43+ libnotify # gir typelib is used
44+ ]
45+ ++ lib . optionals withIndicator [
46+ # Adds AppIndicator3 namespace
47+ libappindicator-gtk3
48+ # Adds AyatanaAppIndicator3 namespace
49+ libayatana-appindicator
50+ ] ;
4651
4752 build-system = [
4853 setuptools
Original file line number Diff line number Diff line change 88
99rustPlatform . buildRustPackage rec {
1010 pname = "proton-vpn-local-agent" ;
11- version = "1.2.0 " ;
11+ version = "1.4.4 " ;
1212 useFetchCargoVendor = true ;
13- cargoHash = "sha256-KD+cTEmezTiGL+OmMryS/Q1mRR0n9jx80o3hb5X3ZYM =" ;
13+ cargoHash = "sha256-i/qJwN8693MRaWTcvGGcWMCqclyOOIb/wlqiUilOhzQ =" ;
1414
1515 src = fetchFromGitHub {
1616 owner = "ProtonVPN" ;
1717 repo = "python-proton-vpn-local-agent" ;
1818 rev = version ;
19- hash = "sha256-1iUeAWojIcXbvO6YoPEh//dbVdl90cUocyO3nfDtUEM " ;
19+ hash = "sha256-9dyyLZZEOB2080KxN0ffdkRhyvEY8xKE/7b2mA7JL+o= " ;
2020 } ;
2121
2222 sourceRoot = "${ src . name } /python-proton-vpn-local-agent" ;
Original file line number Diff line number Diff line change 1212 pytest-asyncio ,
1313 requests ,
1414 sentry-sdk ,
15+ pyxdg ,
1516 distro ,
1617 pytestCheckHook ,
1718 pytest-cov-stub ,
1819} :
1920
2021buildPythonPackage rec {
2122 pname = "proton-vpn-api-core" ;
22- version = "0.39.0 " ;
23+ version = "0.42.3 " ;
2324 pyproject = true ;
2425
2526 src = fetchFromGitHub {
2627 owner = "ProtonVPN" ;
2728 repo = "python-proton-vpn-api-core" ;
2829 rev = "v${ version } " ;
29- hash = "sha256-1GmLrX3FLwPoj+RGzPxzw1O7Q7r5M1coJelPhn2CTLI =" ;
30+ hash = "sha256-/GV5DFWc6RBWP723APNxn9FTxdePumYOtdwDQEg4ccA =" ;
3031 } ;
3132
3233 build-system = [
@@ -40,6 +41,7 @@ buildPythonPackage rec {
4041 pynacl
4142 proton-core
4243 sentry-sdk
44+ pyxdg
4345 ] ;
4446
4547 pythonImportsCheck = [
@@ -59,9 +61,11 @@ buildPythonPackage rec {
5961 pytest-cov-stub
6062 ] ;
6163
64+ # Needed for `pythonImportsCheck`, `preCheck` happens between `pythonImportsCheckPhase` and `pytestCheckPhase`.
6265 postInstall = ''
6366 # Needed for Permission denied: '/homeless-shelter'
6467 export HOME=$(mktemp -d)
68+ export XDG_RUNTIME_DIR=$(mktemp -d)
6569 '' ;
6670
6771 disabledTests = [
Original file line number Diff line number Diff line change 1212 proton-vpn-local-agent ,
1313 pycairo ,
1414 pygobject3 ,
15+ pyxdg ,
1516 pytest-asyncio ,
1617 pytestCheckHook ,
1718 pytest-cov-stub ,
1819} :
1920
2021buildPythonPackage rec {
2122 pname = "proton-vpn-network-manager" ;
22- version = "0.10.2 " ;
23+ version = "0.12.13 " ;
2324 pyproject = true ;
2425
2526 src = fetchFromGitHub {
2627 owner = "ProtonVPN" ;
2728 repo = "python-proton-vpn-network-manager" ;
2829 tag = "v${ version } " ;
29- hash = "sha256-btlTZcfocNC7MpzXOh9daCP696lXhFGtzcKI+N/x7Bc =" ;
30+ hash = "sha256-LRjC1uuAG2OG52moRBSvTR7HvqdldNmW0Tv7AZmUf60 =" ;
3031 } ;
3132
3233 nativeBuildInputs = [
@@ -46,6 +47,7 @@ buildPythonPackage rec {
4647 proton-vpn-local-agent
4748 pycairo
4849 pygobject3
50+ pyxdg
4951 ] ;
5052
5153 postPatch = ''
@@ -67,9 +69,11 @@ buildPythonPackage rec {
6769 pytest-asyncio
6870 ] ;
6971
72+ # Needed for `pythonImportsCheck`, `preCheck` happens between `pythonImportsCheckPhase` and `pytestCheckPhase`.
7073 preCheck = ''
7174 # Needed for Permission denied: '/homeless-shelter'
7275 export HOME=$(mktemp -d)
76+ export XDG_RUNTIME_DIR=$(mktemp -d)
7377 '' ;
7478
7579 meta = {
You can’t perform that action at this time.
0 commit comments