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

frozen: init at unstable-2021-02-23 #248326

Merged
merged 1 commit into from
Aug 11, 2023
Merged

Conversation

thillux
Copy link
Contributor

@thillux thillux commented Aug 10, 2023

frozen is a small JSON parser and generator library, targeted at embedded use-cases. As it only uses two source files, add meson.build on the fly to enable cross compilation.

Description of changes

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • 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/)
  • 23.11 Release Notes (or backporting 23.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.

@thillux thillux force-pushed the frozen branch 2 times, most recently from 3cb8840 to 63c2faf Compare August 10, 2023 10:04
Comment on lines 22 to 26
# frozen only has internal make and bazel support
# as it only consists of two source files, adding a
# small meson file on the fly is the easiest option for
# cross compilation support
Copy link
Contributor

@nikstur nikstur Aug 10, 2023

Choose a reason for hiding this comment

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

Would it be feasible to get this support upstream? Even if not, it'd probably be better to open a PR and pull in the patch via the GitHub API from the PR.

Copy link
Member

Choose a reason for hiding this comment

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

If the PR gets closed, the patch disappears though — learned this the hard way with ZFS :D.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@thillux
Copy link
Contributor Author

thillux commented Aug 10, 2023

I added comments on the issue and possible release, as I can't predict when/if that will happen upstream.

pkgs/development/libraries/frozen/default.nix Outdated Show resolved Hide resolved
pkgs/development/libraries/frozen/default.nix Outdated Show resolved Hide resolved
pkgs/development/libraries/frozen/default.nix Outdated Show resolved Hide resolved
@AndersonTorres
Copy link
Member

Not about our package but the upstream itself: it looks they stalled a lot of time ago.

pkgs/development/libraries/frozen/default.nix Outdated Show resolved Hide resolved
pkgs/development/libraries/frozen/default.nix Outdated Show resolved Hide resolved
pkgs/development/libraries/frozen/default.nix Outdated Show resolved Hide resolved
Copy link
Contributor

@nikstur nikstur left a comment

Choose a reason for hiding this comment

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

After removing writeText, this looks good to go.

frozen is a small JSON parser and generator library,
targeted at embedded use-cases. As it only uses two
source files, add meson.build on the fly to enable
cross compilation.

Signed-off-by: Markus Theil <[email protected]>
@thillux
Copy link
Contributor Author

thillux commented Aug 11, 2023

@AndersonTorres

@nikstur nikstur added the 12.approvals: 3+ This PR was reviewed and approved by three or more reputable people label Aug 11, 2023
@AndersonTorres AndersonTorres merged commit aba5b37 into NixOS:master Aug 11, 2023
@emilylange emilylange mentioned this pull request Aug 11, 2023
12 tasks
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: 1-10 10.rebuild-darwin: 1 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 12.approvals: 3+ This PR was reviewed and approved by three or more reputable people
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants