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

opshin: init at 0.20.0 #291245

Merged
merged 7 commits into from
Mar 19, 2024
Merged

opshin: init at 0.20.0 #291245

merged 7 commits into from
Mar 19, 2024

Conversation

t4ccer
Copy link
Member

@t4ccer t4ccer commented Feb 24, 2024

Description of changes

Added opshin package, required dependencies, and fixed pycardano build

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.05 Release Notes (or backporting 23.05 and 23.11 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.

@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by the maintainer of the package it changes 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 labels Feb 24, 2024
@t4ccer
Copy link
Member Author

t4ccer commented Feb 25, 2024

Switching to draft, have some issues with relaxed bounds

@t4ccer t4ccer marked this pull request as draft February 25, 2024 01:47
@t4ccer t4ccer marked this pull request as ready for review February 25, 2024 02:48
, setuptools
}:

buildPythonPackage rec {
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah I know but #271387 is not merged yet

Copy link
Contributor

Choose a reason for hiding this comment

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

ok, thanks

pkgs/development/python-modules/pluthon/default.nix Outdated Show resolved Hide resolved
@t4ccer t4ccer force-pushed the t4/opshin/init branch 2 times, most recently from 0a54ff2 to b0b2d5a Compare March 18, 2024 21:51
@t4ccer t4ccer changed the title python3Packages.opshin: init at 0.20.0 opshin: init at 0.20.0 Mar 18, 2024
@t4ccer t4ccer requested review from jnsgruk and nim65s March 18, 2024 22:07
Copy link
Member

@jnsgruk jnsgruk left a comment

Choose a reason for hiding this comment

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

Looks good!

};

propagatedBuildInputs = with python3.pkgs; [
setuptools
Copy link
Member

Choose a reason for hiding this comment

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

Non-blocking nit: I generally prefer lists like this to be alphabetically ordered to make updating/reasoning about them a bit easier later on 😄

@wegank wegank added the 12.approvals: 2 This PR was reviewed and approved by two reputable people label Mar 19, 2024
@jnsgruk jnsgruk merged commit 8e90afb into NixOS:master Mar 19, 2024
25 of 26 checks passed
@trofi
Copy link
Contributor

trofi commented Apr 21, 2024

] ++ lib.optionals (pythonOlder "3.9") graphlib-backport;

lib.optionals implies a list as an input parameter. Without that it fails the eval for older pythons. Proposed the fix as:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: python 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 11.by: package-maintainer This PR was created by the maintainer of the package it changes 12.approvals: 2 This PR was reviewed and approved by two reputable people
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants