14 stdenv.mkDerivation rec {
18 src = fetchFromGitHub {
21 rev = "${pname}-${version}";
22 sha256 = "sha256-nnnxlkYVTSRB6ZcuIUDFol999+amGtqegHXK+06ITK8=";
25 nativeBuildInputs = [ doxygen pkg-config python3 python3Packages.sphinx wafHook ];
27 buildInputs = [ boost179 openssl sqlite ];
30 "--with-openssl=${openssl.dev}"
31 "--boost-includes=${boost179.dev}/include"
32 "--boost-libs=${boost179.out}/lib"
36 doCheck = false; # some tests fail in upstream, some fail because of the sandbox environment
39 LD_PRELOAD=build/libndn-cxx.so build/unit-tests
44 homepage = "https://named-data.net/";
45 description = "A Named Data Networking (NDN) or Content Centric Networking (CCN) abstraction";
47 ndn-cxx is a C++ library, implementing Named Data Networking (NDN)
48 primitives that can be used to implement various NDN applications.
49 NDN operates by addressing and delivering Content Objects directly
50 by Name instead of merely addressing network end-points. In addition,
51 the NDN security model explicitly secures individual Content Objects
52 rather than securing the connection or “pipe”. Named and secured
53 content resides in distributed caches automatically populated on
54 demand or selectively pre-populated. When requested by name, NDN
55 delivers named content to the user from the nearest cache, thereby
56 traversing fewer network hops, eliminating redundant requests,
57 and consuming less resources overall.
59 license = licenses.lgpl3;
60 platforms = platforms.unix;
61 maintainers = with maintainers; [ sjmackenzie bertof ];