Skip to content

pngpaste: refactor package.nix and hardcode repo.#414766

Merged
pbsds merged 1 commit intoNixOS:masterfrom
guylamar2006:refactor-pngpaste
Jun 11, 2025
Merged

pngpaste: refactor package.nix and hardcode repo.#414766
pbsds merged 1 commit intoNixOS:masterfrom
guylamar2006:refactor-pngpaste

Conversation

@guylamar2006
Copy link
Contributor

@guylamar2006 guylamar2006 commented Jun 7, 2025

Refactor package.nix and hardcode repo from pname and change rev -> tag, and apply nixpkgs-hammering fixes.

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/)
  • Nixpkgs 25.11 Release Notes (or backporting 24.11 and 25.05 Nixpkgs Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
  • NixOS 25.11 Release Notes (or backporting 24.11 and 25.05 NixOS Release notes)
    • (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 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Jun 7, 2025
@nix-owners nix-owners bot requested a review from wlcx June 7, 2025 15:11
@guylamar2006 guylamar2006 force-pushed the refactor-pngpaste branch 2 times, most recently from 1dbbaf2 to 84cd904 Compare June 7, 2025 15:54
@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. and removed 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. labels Jun 7, 2025
@guylamar2006 guylamar2006 force-pushed the refactor-pngpaste branch 2 times, most recently from b9d892b to 8e05c14 Compare June 7, 2025 16:24
@github-actions github-actions bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. labels Jun 7, 2025
@guylamar2006
Copy link
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 414766

Logs: https://github.com/guylamar2006/nixpkgs-review-gha/actions/runs/15509649828


x86_64-darwin (sandbox = true)

✅ 1 package built:
  • pngpaste

aarch64-darwin (sandbox = true)

✅ 1 package built:
  • pngpaste

Copy link
Contributor

@wlcx wlcx left a comment

Choose a reason for hiding this comment

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

Thanks, looks good other than a very minor suggestion while we're here

@guylamar2006 guylamar2006 force-pushed the refactor-pngpaste branch 2 times, most recently from 816ba90 to eea6237 Compare June 8, 2025 13:31
@wlcx
Copy link
Contributor

wlcx commented Jun 8, 2025

LGTM! Probably worth squashing into one commit. Happy to merge after.

pngpaste: switch to finalAttrs

pngpaste: simplify installPhase logic

Co-authored-by: Sam W <sam@wlcx.cc>
@wlcx
Copy link
Contributor

wlcx commented Jun 8, 2025

@NixOS/nixpkgs-merge-bot merge

@nixpkgs-merge-bot
Copy link
Contributor

@wlcx merge not permitted (#305350):
CommitterPR: pr author is not committer
R-Ryantm Maintainer merge: pr author is not r-ryantm

@wlcx
Copy link
Contributor

wlcx commented Jun 8, 2025

Guess that only works with bot generated MRs then 🤷

@wegank wegank added 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. 12.approvals: 1 This PR was reviewed and approved by one person. labels Jun 9, 2025
@pbsds pbsds merged commit 6c4002b into NixOS:master Jun 11, 2025
18 of 20 checks passed
@guylamar2006 guylamar2006 deleted the refactor-pngpaste branch June 11, 2025 00:24
@pbsds pbsds mentioned this pull request Jun 15, 2025
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants