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
nanopb: init at 0.4.1 #89070
nanopb: init at 0.4.1 #89070
Conversation
08da61d
to
97a1539
Compare
97a1539
to
765e5e5
Compare
interesting way to create tests... not sure if i love or hate it :) |
Would you like to discuss your concerns? It'd be great to get this merged soon. |
simple-proto2 = callPackage ./test-simple-proto2 {}; | ||
simple-proto3 = callPackage ./test-simple-proto3 {}; | ||
message-with-annotations = callPackage ./test-message-with-annotations {}; | ||
message-with-options = callPackage ./test-message-with-options {}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think @Profpatsch had a similar idea once.
I would split-off the test part of this PR. Using |
This isn't the first package to do so:
Among others in Also, ofborg has native support for |
765e5e5
to
a7e3e19
Compare
@Mic92 I split the commits as suggested. PTAL. |
a7e3e19
to
c081005
Compare
@kalbasit sorry for not responding earlier. The love part is having additional test which validate a package, the hate part is the amount of nix scaffolding needed to make it happen. |
No worries! Things can get busy at times, and it's completely understandable!
I get your point. I've had a bad experience with |
Motivation for this change
Nanopb 0.4.1 is a small code-size Protocol Buffers implementation in ansi C. It is especially suitable for use in microcontrollers, but fits any memory restricted system.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)