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

binary: init at 0.3 #322087

Merged
merged 1 commit into from
Jun 29, 2024
Merged

binary: init at 0.3 #322087

merged 1 commit into from
Jun 29, 2024

Conversation

getchoo
Copy link
Member

@getchoo getchoo commented Jun 24, 2024

Description of changes

Binary is a small and simple app to convert numbers to a different base

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.

@getchoo getchoo force-pushed the pkgs/binary/init branch from 5210875 to 1cac088 Compare June 24, 2024 03:03
@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: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 10.rebuild-linux: 1 labels Jun 24, 2024
python3Packages.buildPythonApplication rec {
pname = "binary";
version = "0.3";
pyproject = false;
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
pyproject = false;
format = "other";

Copy link
Member Author

Choose a reason for hiding this comment

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

i've applied the change for now, but i'm a bit confused by this suggestion with #253154. is this (eventual) deprecation not meant to affect packages that use a non python-based build system like in this case? cc @figsoda

Copy link
Member

Choose a reason for hiding this comment

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

Nowadays we use pyproject = false.

Why did you suggest the opposite, @SuperSandro2000 ?

@getchoo getchoo force-pushed the pkgs/binary/init branch from ac28727 to a72c27f Compare June 24, 2024 22:54
@getchoo getchoo requested a review from SuperSandro2000 June 24, 2024 22:54
Copy link
Member

@Aleksanaa Aleksanaa left a comment

Choose a reason for hiding this comment

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

Haven't tested but looks good.

pkgs/by-name/bi/binary/package.nix Show resolved Hide resolved
@getchoo getchoo force-pushed the pkgs/binary/init branch from a72c27f to 0798139 Compare June 28, 2024 16:28
@getchoo getchoo requested review from Aleksanaa and Moraxyc June 28, 2024 16:29
@Moraxyc
Copy link
Contributor

Moraxyc commented Jun 28, 2024

LGTM

@Aleksanaa Aleksanaa merged commit 4c6b360 into NixOS:master Jun 29, 2024
24 checks passed
@getchoo getchoo deleted the pkgs/binary/init branch June 29, 2024 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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 11.by: package-maintainer This PR was created by the maintainer of the package it changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants