Processing ./openconnect_sso-0.7.1-py3-none-any.whl
...
ERROR: Could not find a version that satisfies the requirement keyring<23.0.0,>=21.1 (from openconnect-sso==0.7.1) (from versions: none)
ERROR: No matching distribution found for keyring<23.0.0,>=21.1 (from openconnect-sso==0.7.1)
builder for '/nix/store/35r2gwjkp2srq1z4xgnrli6xss1vhllz-python3.8-openconnect-sso-0.7.1.drv' failed with exit code 1
...
I don't immediately see why this should fail. If I nix-shell -p python38Packages.keyring on my NixOS 20.09 I get keyring v21.3.1 which should satisfy openconnect-sso's requirement. I've tried this on a couple of machines, and also via home-manager or from /etc/nixos/configuration.nix, still with the same build failure.
There are multiple workarounds:
Install via nix-env
Apply the overlay to a different NixOS version. Both 20.03 and unstable seems to work for me.
For now I am running with this (which works well for me):
Trying to install openconnect-sso via home-manager on my NixOS 20.09 (the current stable NixOS version) like this:
fails (after lots of build activity with:
I don't immediately see why this should fail. If I
nix-shell -p python38Packages.keyring
on my NixOS 20.09 I get keyring v21.3.1 which should satisfy openconnect-sso's requirement. I've tried this on a couple of machines, and also via home-manager or from/etc/nixos/configuration.nix
, still with the same build failure.There are multiple workarounds:
For now I am running with this (which works well for me):