New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eduvpn client: init at 1.0.1 #36122
Eduvpn client: init at 1.0.1 #36122
Conversation
@GrahamcOfBorg build eduvpn-client |
@GrahamcOfBorg build pythonPackages.eduvpn-client python3Packages.eduvpn-client |
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
Failure on x86_64-linux (full log) Partial log (click to expand)
|
Failure on x86_64-linux (full log) Partial log (click to expand)
|
Failure on aarch64-linux (full log) Partial log (click to expand)
|
Failure on aarch64-linux (full log) Partial log (click to expand)
|
pytest pytestrunner mock | ||
]; | ||
|
||
nativeBuildInputs = [ wrapGAppsHook ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pytestrunner
needs to be moved here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reason: #36114 (comment)
pkgs/top-level/python-packages.nix
Outdated
@@ -21199,6 +21199,8 @@ EOF | |||
}; | |||
}; | |||
|
|||
eduvpn-client = callPackage ../applications/networking/python-eduvpn-client { }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we want this to live inside pythonPackages
, then default.nix
would need to be moved to developments/python-modules/eduvpn-client
and the python dependencies would have to be specified as arguments.
However, I think if the API is not used we shouldn't have it inside pythonPackages
. The package supporting multiple python versions isn't an arguments because we can simply override pythonPackages = python3Packages
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Mic92 What's your opinion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leenaars You would need to address this before the PR can be merged. Everything that belongs to python-packages.nix
resides in development/python-modules
, so you would need to move the expression to developments/python-modules/eduvpn-client
as suggested above. Other option is to move eduvpn-client back to all-packages.nix
and keep it at tools/networking/
, that should be ok only if we assume that nobody is going to use the API from this package.
2366f12
to
4b91930
Compare
8e0fb07
to
e863977
Compare
requests_oauthlib six repoze_lru pillow qrcode pytestrunner | ||
]; | ||
|
||
# Checks need X environment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Providing a headless X11 environment shouldn't be a problem. For me it seems to require networkmanager first:
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
--replace "/usr/local" "$out" | ||
''; | ||
|
||
checkInputs = with pythonPackages; [ pytest mock pytestrunner ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we can't run tests, we don't need checkInputs
.
e863977
to
eb4f3d1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The location is still incorrect.
Motivation for this change
A user-friendly tool for people inside educational and research institutions to set up their VPN networks. Useful for many people to protect against rogue networks, snooping etc.
Things done
build-use-sandbox
innix.conf
on non-NixOS)./result/bin/
)