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
Add python3Packages.ckcc-protocol
package, and list it as a dependency for electrum
.
#66516
Conversation
Ping @FRidh. Let me know if there's anything needed from me here to help with the review process and get this closer to being merged. |
python3Packages.ckcc-protocol
package, and list is as a dependency for electrum
.python3Packages.ckcc-protocol
package, and list it as a dependency for electrum
.
1d2affa
to
542ea0f
Compare
cc @mmahut @worldofpeace. Sorry for semi-randomly pulling both of you into this PR, but I wanted to check for your advice on how to proceed with this ~1.5 months old PR to add a new package and list it as a dependency for Thanks in advance! |
I'm sorry for missing this mention. @GrahamcOfBorg build pythonPackages.ckcc-protocol python3Packages.ckcc-protocol |
Looks like ckcc-protocol requires python 3.6+, please use something like |
542ea0f
to
76454ef
Compare
Thanks for the review @mmahut and @jb55, please take another look!
I added the following to ckcc-protocol package, using other Python packages as a reference:
I've also bumped the package version to 0.8.0, which was published between the time I sent this PR out and at time of writing. |
76454ef
to
7b71629
Compare
Thanks for the review @jonringer. I've addressed your suggestions at this time, please take another look. |
@GrahamcOfBorg build python3Packages.ckcc-protocol electrum |
The ckcc-protocol package installs https://github.com/Coldcard/ckcc-protocol, which allows communication with the https://coldcardwallet.com/ hardware wallet.
Similar to keepkey, trezor and btchip, ckcc-protocol is a plugin, allowing electrum to communicate with the https://coldcardwallet.com/ hardware wallet.
Ping @jonringer @mmahut @jb55. Any chance for a review so this ~4 month old PR can move towards merging? Thanks in advance! |
7b71629
to
9f483af
Compare
the rebase, "Showing 4,569 changed files with 111,966 additions and 116,126 deletions.". That's a lot of changes in a few months O.o |
Agreed, although with 200k+ commits in the repo, I guess this is to be expected? https://github.com/NixOS/nixpkgs/commits/master Or did I misunderstand, and there's some issue with the two commits I'd like to merge here, or the way I'm rebasing on top of recent commits in upstream's master? |
you're good, it's just the force push "brings along all the changes" in the force-push view. Your PR looks good though, reviewing now |
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.
diff LGTM
commits LGTM
ckcc shows usage
electrum starts up just fine
only a very small difference in closure size:
$ nix path-info -Sh ./result
/nix/store/if5bzxc9ls6wmrql4fqkfsq3hbv0h1d8-electrum-3.3.8 654.4M
[nix-shell:/home/jon/.cache/nix-review/pr-66516]$ nix path-info -Sh ./results/electrum
/nix/store/nmc3fraynkghqjm0cysgf38l9f50yz4m-electrum-3.3.8 654.5M
[5 built, 29 copied (17.1 MiB), 10.0 MiB DL]
https://github.com/NixOS/nixpkgs/pull/66516
3 package were built:
electrum python37Packages.ckcc-protocol python38Packages.ckcc-protocol
@GrahamcOfBorg build electrum python37Packages.ckcc-protocol python38Packages.ckcc-protocol |
Motivation for this change
The https://coldcardwallet.com/ is a hardware wallet for Bitcoin. This change adds the
python3Packages.ckcc-protocol
package, and lists it as a dependency forelectrum
.Similar to
keepkey
,trezor
andbtchip
,ckcc-protocol
is a plugin,allowing electrum to communicate with the https://coldcardwallet.com/.
Also
addlisthkjn
to maintainers, andhkjn
as initial maintainer forckcc-protocol
. (Would be happy to hand over to official Coldcard maintainers at any point, if they are willing.)Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
N/A