-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
pythonPackages.capstone: 3.0.5.post1 -> 4.0.1, redesign as wrapper package around main capstone package #76913
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
Conversation
f20b23e
to
0bd6a8f
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.
Excellent, thank you for this! Very useful.
@GrahamcOfBorg build capstone pythonPackages.capstone |
0bd6a8f
to
7b63c9b
Compare
Pushed an extra commit fixing the |
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
16 package built:
boomerang capstone pwndbg python27Packages.ROPGadget python27Packages.capstone python27Packages.pwntools python27Packages.ropper python37Packages.ROPGadget python37Packages.capstone python37Packages.pwntools python37Packages.ropper python38Packages.ROPGadget python38Packages.capstone python38Packages.pwntools python38Packages.ropper wcc
@GrahamcOfBorg build boomerang capstone pwndbg python27Packages.ROPGadget python27Packages.capstone python27Packages.pwntools python27Packages.ropper python37Packages.ROPGadget python37Packages.capstone python37Packages.pwntools python37Packages.ropper python38Packages.ROPGadget python38Packages.capstone python38Packages.pwntools python38Packages.ropper wcc |
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.
I think this should be squashed into two commits, one for capstone, one for the python package
I can do that I was just trying to give people more points to bisect to if this screws things up - it also allows me to comment things separately... |
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.
I can see it either way, personally I view it as "gave darwin some love while bumping the version".
cc @FRidh
turns out capstone.pc is generated during the buildPhase, so needs PREFIX set here too for it to be correct
…ckage around main capstone package this allows us to keep the two packages in sync and handle overrides more flexibly
7b63c9b
to
7b7dcbd
Compare
Sure, done. |
@GrahamcOfBorg build boomerang capstone pwndbg python27Packages.ROPGadget python27Packages.capstone python27Packages.pwntools python27Packages.ropper python37Packages.ROPGadget python37Packages.capstone python37Packages.pwntools python37Packages.ropper python38Packages.ROPGadget python38Packages.capstone python38Packages.pwntools python38Packages.ropper wcc |
Motivation for this change
Similar to #76762, this allows us to more easily keep the main package and python bindings in sync.
Again, I've also enabled the main
capstone
package on darwin and enabled its tests too.Downstream dependency
pwntools
fails to build but that's due totox
being broken.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @thoughtpolice @bennofs