Skip to content
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

pinentry-dmenu: init at 0.2.2 #387479

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sweiglbosker
Copy link
Contributor

Added package for pinentry-dmenu, a pinentry fronted based on dmenu.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1 10.rebuild-linux: 1-10 labels Mar 6, 2025
@FliegendeWurst FliegendeWurst added the 8.has: package (new) This PR adds a new package label Mar 6, 2025
Comment on lines 24 to 26
repo = finalAttrs.pname;
rev = finalAttrs.version;
sha256 = "sha256-FmP9tI/oU7VM8x+Wu6bbeg1CVopZc6oOWnd4qUptVV8=";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
repo = finalAttrs.pname;
rev = finalAttrs.version;
sha256 = "sha256-FmP9tI/oU7VM8x+Wu6bbeg1CVopZc6oOWnd4qUptVV8=";
repo = "pinentry-dmenu";
tag = finalAttrs.version;
hash = "sha256-FmP9tI/oU7VM8x+Wu6bbeg1CVopZc6oOWnd4qUptVV8=";

use of pname like that is discouraged as it breaks overrides

)
'';

meta = with lib; {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove with lib; as it increases eval times

meta = with lib; {
description = "Pinentry implementation based on dmenu";
homepage = "https://github.com/ritze/pinentry-dmenu";
license = licenses.gpl2;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
license = licenses.gpl2;
license = licenses.gpl2Only;


meta = with lib; {
description = "Pinentry implementation based on dmenu";
homepage = "https://github.com/ritze/pinentry-dmenu";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
homepage = "https://github.com/ritze/pinentry-dmenu";
homepage = "https://github.com/ritze/pinentry-dmenu";
changelog = "https://github.com/ritze/pinentry-dmenu/releases/tag/${finalAttrs.version}";

@sweiglbosker
Copy link
Contributor Author

done, should I squash?

@ethancedwards8
Copy link
Member

Yes please

@sweiglbosker sweiglbosker force-pushed the pinentry-dmenu branch 2 times, most recently from 21f508f to d730cd6 Compare March 7, 2025 17:13
@sweiglbosker
Copy link
Contributor Author

Ok, it should be ok?

@ethancedwards8
Copy link
Member

The maintainer commit should be first

pinentry-dmenu: refactor to use finalAttrs pattern

pinentry-dmenu: refactor

pinentry-dmenu: init at 0.2.2
@sweiglbosker
Copy link
Contributor Author

done

Copy link
Member

@ethancedwards8 ethancedwards8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one reputable person label Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 10.rebuild-linux: 1 12.approvals: 1 This PR was reviewed and approved by one reputable person
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants