Skip to content

opshin: init at 0.20.0#291245

Merged
jnsgruk merged 7 commits intoNixOS:masterfrom
t4ccer:t4/opshin/init
Mar 19, 2024
Merged

opshin: init at 0.20.0#291245
jnsgruk merged 7 commits intoNixOS:masterfrom
t4ccer:t4/opshin/init

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.

@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Feb 24, 2024
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 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
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

@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 persons. label Mar 19, 2024
@jnsgruk jnsgruk merged commit 8e90afb into NixOS:master Mar 19, 2024
@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:

@t4ccer t4ccer deleted the t4/opshin/init branch December 22, 2025 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants