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
yubikey-manager: 0.4.0 -> 0.7.0 #42728
Conversation
buildPythonPackage rec { | ||
pname = "fido2"; | ||
version = "0.3.0"; | ||
name = "${pname}-${version}"; |
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 name
attribute is added by buildPython*
and should therefore be removed.
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.
This has been addressed
pname = "fido2"; | ||
version = "0.3.0"; | ||
|
||
src = fetchFromGitHub { |
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.
Please use fetchPypi
: https://pypi.org/project/fido2/
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 version on pypi appears to fail the test suite.
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.
Then we can use fetchFromGitHub
until Yubico/python-fido2#8 is merged.
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.
Let's just leave doCheck = false
in there instead of changing the source again.
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.
Then please sqash the last two commits. And it would be nice if there was a comment why doCheck = false
.
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.
Done and done.
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.
Thanks!
@GrahamcOfBorg build python27Packages.fido2 python36Packages.fido2 yubikey-manager |
Success on aarch64-linux (full log) Attempted: python27Packages.fido2, python36Packages.fido2, yubikey-manager Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: python27Packages.fido2, python36Packages.fido2, yubikey-manager Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: python27Packages.fido2, python36Packages.fido2, yubikey-manager Partial log (click to expand)
|
@GrahamcOfBorg build python27Packages.fido2 python36Packages.fido2 yubikey-manager |
Success on x86_64-linux (full log) Attempted: python27Packages.fido2, python36Packages.fido2, yubikey-manager Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: python27Packages.fido2, python36Packages.fido2, yubikey-manager Partial log (click to expand)
|
Motivation for this change
0.4.0 is over a year old and doesn't work correctly.
Things done
Depends on the fido2 library, packaged in a separate commit for convenient cherry picking.
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)