15 stdenv.mkDerivation rec {
19 src = fetchFromGitHub {
22 rev = "ndn-cxx-${version}";
23 sha256 = "sha256-u9+QxqdCET1f5B54HF+Jk/YuQvhcYWsPNIVHi5l0XTM=";
30 python3Packages.sphinx
41 "--with-openssl=${openssl.dev}"
42 "--boost-includes=${boost.dev}/include"
43 "--boost-libs=${boost.out}/lib"
47 doCheck = false; # some tests fail in upstream, some fail because of the sandbox environment
50 LD_PRELOAD=build/libndn-cxx.so build/unit-tests
55 homepage = "https://named-data.net/";
56 description = "Named Data Networking (NDN) or Content Centric Networking (CCN) abstraction";
58 ndn-cxx is a C++ library, implementing Named Data Networking (NDN)
59 primitives that can be used to implement various NDN applications.
60 NDN operates by addressing and delivering Content Objects directly
61 by Name instead of merely addressing network end-points. In addition,
62 the NDN security model explicitly secures individual Content Objects
63 rather than securing the connection or “pipe”. Named and secured
64 content resides in distributed caches automatically populated on
65 demand or selectively pre-populated. When requested by name, NDN
66 delivers named content to the user from the nearest cache, thereby
67 traversing fewer network hops, eliminating redundant requests,
68 and consuming less resources overall.
70 license = licenses.lgpl3;
71 platforms = platforms.unix;
72 maintainers = with maintainers; [