-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
packetry: init at 0.4.0 #351392
packetry: init at 0.4.0 #351392
Conversation
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.
Is there a reason you are opening your third PR for the same package?
If it is for the version change please just change PR and commit.
I figured that would be more appropriate than bumping the existing pr without changing the version reference in my branch, but I could just name it with an agnostic name.
Sure, will do so in the future. |
347def5
to
f221ee0
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.
nixpkgs-review
result
Generated using nixpkgs-review
.
Command: nixpkgs-review pr 351392
x86_64-linux
✅ 1 package built:
- packetry
|
||
# Tests need a display to run | ||
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.
postInstall = lib.optionalString (!hostPlatform.isWindows) '' | |
rm $out/bin/packetry-cli | |
''; |
packetry-cli
is only needed on windows atm: greatscottgadgets/packetry#154
So we could remove it. Not tested.
The check for windows
is not needed so long as meta.platforms
doesn't include it but better be safe than sorry?
Upstream builds for windows but I can't test it so I will not suggest adding it to meta.platforms
.
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 added this, but I am a little conflicted about adding the hostPlatform check when windows is not part of the supported platforms (in this package.nix).
I am also unaware of how to approach testing the build on windows.
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.
Maybe instead of the check a comment about it being needed only on windows with a link to the pr?
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.
Yep, I opted to do that instead.
f9a2e0b
to
ddfa597
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.
LGTM: builds and gui starts.
Further room for improvement but not necessary right now:
- add desktop item file, see https://github.com/greatscottgadgets/packetry/tree/main/appimage/dist
- maybe enable non gui checks, see separate comment
@carlossless: could you mark the code comments as resolved (minus preCheck
), thanks
e13ef86
to
7d50137
Compare
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/4793 |
7d50137
to
745b82d
Compare
|
745b82d
to
0abe065
Compare
Co-authored-by: zi3m5f <[email protected]>
0abe065
to
d051f42
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.
LGTM
A fast, intuitive USB 2.0 protocol analysis application for use with Cynthion. https://github.com/greatscottgadgets/packetry
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.
Related to #81418