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

Named Data Networking (NDN) Tools #26923

Closed
wants to merge 8 commits into from

Conversation

MostAwesomeDude
Copy link
Contributor

Motivation for this change

I want to play with NDN.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • 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 nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

I had to use versions from git because this stuff is so bleeding-edge.

@mention-bot
Copy link

@MostAwesomeDude, thanks for your PR! By analyzing the history of the files in this pull request, we identified @dezgeg and @sjmackenzie to be potential reviewers.

@MostAwesomeDude
Copy link
Contributor Author

Hm. These actually do have releases; I'm going to fix that and rebase.

# To do battle with the tests, add --with-tests to the configure above. ~ C.
doCheck = false;
checkPhase = ''
LDD_LIBRARY_PATH=build/ build/unit-tests
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't you mean LD_LIBRARY_PATH?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. Fixed. The tests still don't pass, of course.

preConfigure = ''
patchShebangs waf
./waf configure \
--boost-includes=${boost.dev}/include \
Copy link
Contributor

Choose a reason for hiding this comment

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

Needs quoting.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just this one, or in all of the configures?

Copy link
Contributor

Choose a reason for hiding this comment

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

All locations.

Copy link
Contributor

@0xABAB 0xABAB left a comment

Choose a reason for hiding this comment

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

Minor stuff. Thanks for your contribution.

version = "2b7b83";
in
stdenv.mkDerivation {
name = "ndn-tools-0.1-${version}";
Copy link
Member

Choose a reason for hiding this comment

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

name is probably wrong.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What a mistake! Thanks.

@MostAwesomeDude
Copy link
Contributor Author

I've addressed all feedback and am ready for merge. nfd works, at least. I haven't gotten far enough to test the "ndnsec" toolset. repo-ng is cantankerous, which is unsurprising since it is still immature.

Copy link
Member

@matthewbauer matthewbauer left a comment

Choose a reason for hiding this comment

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

Fix merge conflicts

@mmahut
Copy link
Member

mmahut commented Aug 13, 2019

Are there any updates on this pull request, please?

@MostAwesomeDude
Copy link
Contributor Author

Hi, I rebased the branch and also bumped the versions of all new packages. It seems that, at some point, a derivation based on my ndn-cxx work got merged, so now the branch's history is a bit messy. I can redo all of the commits, if desired. I haven't been poking at this stuff for a while, though.

@sjmackenzie
Copy link
Contributor

@matthewbauer I believe the merge conflicts were resolved. Can you merge please?

};
buildInputs = [ wafHook
libpcap doxygen boost pkgconfig python pythonPackages.sphinx
openssl ndn-cxx ];
Copy link
Member

Choose a reason for hiding this comment

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

nativeBuildInputs = [ wafHook doxygen pkgconfig python pythonPackages.sphinx ];

sha256 = "1sjhyhc9ww38vyf3qmjzh5c4c0jc43ypzjmpqwsbq8y5zzln0gfx";
};

buildInputs = [ wafHook libpcap openssl boost pkgconfig python pythonPackages.sphinx git ndn-cxx ];
Copy link
Member

Choose a reason for hiding this comment

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

nativeBuildInputs = [ wafHook pkgconfig python pythonPackages.sphinx git ];

btw. why is git required here?

sha256 = "0pdinvq3cf458bmm2mxdlidrmmr38in1563ra8q0ch3wp45va2di";
};
buildInputs = [ wafHook libpcap openssl doxygen boost sqlite pkgconfig
python pythonPackages.sphinx ndn-cxx ];
Copy link
Member

Choose a reason for hiding this comment

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

nativeBuildInputs = [ wafHook doxygen pkgconfig python pythonPackages.sphinx ];

};

nativeBuildInputs = [ pkgconfig wafHook ];
buildInputs = [ openssl doxygen boost sqlite python pythonPackages.sphinx];
Copy link
Member

Choose a reason for hiding this comment

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

also doxygen, python and sphinx should be in nativeBuildInputs

@lheckemann lheckemann added this to the 20.03 milestone Sep 12, 2019
@disassembler disassembler modified the milestones: 20.03, 20.09 Feb 5, 2020
And use fetchFromGitHub.
ndn-tools: use fetchFromGitHub
repo-ng: Fix up name and pick a working revision.

And use fetchFromGitHub too.
@roberth
Copy link
Member

roberth commented Nov 10, 2020

ndn-cxx has been updated to 0.7.1 in master. You could rebase -i and omit the update, then add yourself to the maintainers in a new commit.

@stale
Copy link

stale bot commented Jul 21, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 21, 2021
@MostAwesomeDude MostAwesomeDude deleted the ndn branch July 29, 2021 07:15
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.

None yet