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
ndn-cpp: new pkg #48760
ndn-cpp: new pkg #48760
Conversation
Yeah we've tried omitting openssl and it doesn't build. |
That's not what I mean. Sorry, OpenSSL was a bad example.
We could either build with all of those or make them configurable in the nix file. I referenced the other project so that you can see how it could be done. |
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.
Commit title is not according to the guidelines
@JohnAZoidberg as nice as it would be to have those configurable, things like boost etc get annoying. This is a minimal + mandatory configuration. If others want it configurable, they're welcome to patch the code. If you find this unacceptable I'll close this patch. |
That was just a suggestion. I have no authority, I cannot review nor merge your changes. I don't think we should close this, it's totally fine without all dependencies. Sorry that it's not merged yet - I'm sure it's just because there are so many pull requests. |
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.
Please make the 2 minor changes I have requested and we will get this merged ASAP.
version = "v0.15"; | ||
in | ||
stdenv.mkDerivation { | ||
name = "ndn-cpp-${version}"; |
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.
The new way to set the name is like so:
pname = "ndn-cpp";
version = "v0.15";
With this name
will automatically be set to ndn-cpp-v0.15
.
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.
0.17 is now out. @sjmackenzie are you still interested in packaging this?
@@ -0,0 +1,25 @@ | |||
{ stdenv, fetchFromGitHub, openssl, doxygen, zlib, pkgconfig, protobuf }: | |||
let | |||
version = "v0.15"; |
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.
Please bump version to 0.16.
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'm actually rewriting it in Rust. I'll close this PR, I won't be maintaining it.
version = "v0.15"; | ||
in | ||
stdenv.mkDerivation { | ||
name = "ndn-cpp-${version}"; |
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.
0.17 is now out. @sjmackenzie are you still interested in packaging this?
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)