-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
python312Packages.pyscard: fix build #352828
Conversation
Hmm, now the |
Because you've not packaged https://pypi.org/project/swig/ ? Swig doesn't have python binding itself. This is not a fix. |
I've packaged swig-pypi, the swig bindings for python and used that package for pyscard instead. |
@natsukium is it needed to keep attribute name the same with pypi name? |
Better fix in #353230, and upstream issue for yubikey-manager-qt: Yubico/yubikey-manager-qt#366 |
Yes, the pypi name needs to be adopted and then normalized according to PEP503.
|
Regarding swig-pypi, if we want to package it, we should create our own stub like cmake/ninja. |
I will make a stub like cmake/ninja for swig if we want to, but this branch isn't needed anymore |
this package got a build failure in 2bdb00d,
this was because swig got added to the required build-inputs.
Adding it to the nix build-inputs did not work so I made a replace which fixed it.
closes #352598
ZHF #352882
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.