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

cjson: init at 1.7.14 #107169

Merged
merged 1 commit into from Feb 1, 2021
Merged

cjson: init at 1.7.14 #107169

merged 1 commit into from Feb 1, 2021

Conversation

matthiasbeyer
Copy link
Contributor

Motivation for this change

Closes #107161

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

CC @fabaff for testing

meta = with stdenv.lib; {
homepage = "https://github.com/DaveGamble/cJSON";
description = "Ultralightweight JSON parser in ANSI C ";
license = licenses.mit;
Copy link
Member

Choose a reason for hiding this comment

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

A part of the test suite is licensed under ASL 2.0.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How to have multiple licenses in a package in nixpkgs?

Copy link
Member

Choose a reason for hiding this comment

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

license = with licenses; [ mit asl20 ];


meta = with stdenv.lib; {
homepage = "https://github.com/DaveGamble/cJSON";
description = "Ultralightweight JSON parser in ANSI C ";
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
description = "Ultralightweight JSON parser in ANSI C ";
description = "Ultralightweight JSON parser in ANSI C";

@fabaff
Copy link
Member

fabaff commented Dec 23, 2020

Result of nixpkgs-review pr 107169 run on x86_64-linux 1

1 package built:
  • cjson

@matthiasbeyer
Copy link
Contributor Author

squashed.

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 107169 run on x86_64-darwin 1

1 package failed to build and are new build failure:

pkgs/development/libraries/cjson/default.nix Outdated Show resolved Hide resolved
pkgs/development/libraries/cjson/default.nix Outdated Show resolved Hide resolved
@matthiasbeyer
Copy link
Contributor Author

matthiasbeyer commented Feb 1, 2021 via email

@prusnak
Copy link
Member

prusnak commented Feb 1, 2021

Please squash the fixup commit

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
@matthiasbeyer
Copy link
Contributor Author

matthiasbeyer commented Feb 1, 2021 via email

@prusnak prusnak merged commit 7d803a4 into NixOS:master Feb 1, 2021
@matthiasbeyer matthiasbeyer deleted the init-cjson branch February 1, 2021 18:22
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.

cJSON
5 participants