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

gaphor: 2.8.2 -> 2.25.1; better-exceptions: init at 0.3.3 #322887

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

Conversation

TJesionowski
Copy link

Motivation for this change

#291281

Description of changes

Bumped version number and added/updated dependencies as needed.

Added better-exceptions as a new package because it is a dependency of gaphor.

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/)
  • 24.11 Release Notes (or backporting 23.11 and 24.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.

@TJesionowski
Copy link
Author

/marvin opt-in
/status needs_reviewer

@JohnRTitor JohnRTitor changed the title gaphor: 2.8.2 -> 2.25.1 gaphor: 2.8.2 -> 2.25.1; better-exceptions: init at 0.3.3 Jun 28, 2024

src = fetchPypi {
inherit pname version;
sha256 = "sha256-5Oa8GERNXwTm6JSxA4Hl6SHT1UQkBBgWLH21fp6zRTs=";
Copy link
Contributor

Choose a reason for hiding this comment

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

At present, it is not recommended to use sha256 as a parameter for fetcher, but to use the hash of SRI mode as a parameter.

You could use following command to generate SRI hash.
nix hash to-sri --type sha256 $(nix-prefetch-url )

Suggested change
sha256 = "sha256-5Oa8GERNXwTm6JSxA4Hl6SHT1UQkBBgWLH21fp6zRTs=";
hash = "sha256- ... =";

Comment on lines +22 to +27
meta = with lib; {
description = "Pretty and helpful exceptions, automatically";
homepage = "https://github.com/qix-/better-exceptions";
license = licenses.mit;
maintainers = [ ];
};
Copy link
Contributor

Choose a reason for hiding this comment

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

Currently, use with lib in meta is not recommanded anymore.
Consider to add yourself as package maintainers.
I not sure if package from pypi should add binaryNativeCode. You may consider if it should be.

Suggested change
meta = with lib; {
description = "Pretty and helpful exceptions, automatically";
homepage = "https://github.com/qix-/better-exceptions";
license = licenses.mit;
maintainers = [ ];
};
meta = {
description = "Pretty and helpful exceptions, automatically";
homepage = "https://github.com/qix-/better-exceptions";
license = lib.licenses.mit;
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
maintainers = with lib.maintainers; [ ];
};


format = "pyproject";

src = fetchPypi {
inherit pname version;
sha256 = "sha256-+qqsSLjdY2I19fxdfkOEQ9DhTTHccUDll4O5yqtLiz0=";
sha256 = "sha256-9PNgU1/9RL6QXba0gn4zHCAtSV3iY0HOY1Rf6bkyzxY=";
Copy link
Contributor

Choose a reason for hiding this comment

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

same as previous

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants