mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
commit
0e309af732
2 changed files with 51 additions and 1 deletions
48
pkgs/development/libraries/ndn-cxx/default.nix
Normal file
48
pkgs/development/libraries/ndn-cxx/default.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{ stdenv, fetchgit, openssl, doxygen, boost, sqlite, cryptopp, pkgconfig, python, pythonPackages }:
|
||||
let
|
||||
version = "4c32e7";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "ndn-cxx-0.1-${version}";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/named-data/ndn-cxx.git";
|
||||
rev = "4c32e748863d5165cc0e3d6b54a8383f4836cdf1";
|
||||
sha256 = "18s18inf14wmkfh1z6w087w7l3bqszd0nkhr09j73hqpz90b06hz";
|
||||
};
|
||||
buildInputs = [ openssl doxygen boost sqlite cryptopp pkgconfig python pythonPackages.sphinx];
|
||||
preConfigure = ''
|
||||
patchShebangs waf
|
||||
./waf configure \
|
||||
--with-cryptopp=${cryptopp} \
|
||||
--boost-includes=${boost.dev}/include \
|
||||
--boost-libs=${boost.lib}/lib \
|
||||
--with-examples \
|
||||
--prefix=$out
|
||||
'';
|
||||
buildPhase = ''
|
||||
./waf
|
||||
'';
|
||||
installPhase = ''
|
||||
./waf install
|
||||
'';
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://named-data.net/";
|
||||
description = "A Named Data Neworking (NDN) or Content Centric Networking (CCN) abstraction";
|
||||
longDescription = ''
|
||||
ndn-cxx is a C++ library, implementing Named Data Networking (NDN)
|
||||
primitives that can be used to implement various NDN applications.
|
||||
NDN operates by addressing and delivering Content Objects directly
|
||||
by Name instead of merely addressing network end-points. In addition,
|
||||
the NDN security model explicitly secures individual Content Objects
|
||||
rather than securing the connection or “pipe”. Named and secured
|
||||
content resides in distributed caches automatically populated on
|
||||
demand or selectively pre-populated. When requested by name, NDN
|
||||
delivers named content to the user from the nearest cache, thereby
|
||||
traversing fewer network hops, eliminating redundant requests,
|
||||
and consuming less resources overall.
|
||||
'';
|
||||
license = licenses.lgpl3;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ maintainers.sjmackenzie ];
|
||||
};
|
||||
}
|
|
@ -4900,6 +4900,8 @@ let
|
|||
|
||||
ccnx = callPackage ../development/libraries/ccnx { };
|
||||
|
||||
ndn-cxx = callPackage ../development/libraries/ndn-cxx { };
|
||||
|
||||
cimg = callPackage ../development/libraries/cimg { };
|
||||
|
||||
scmccid = callPackage ../development/libraries/scmccid { };
|
||||
|
@ -10208,7 +10210,7 @@ let
|
|||
musescore = callPackage ../applications/audio/musescore { };
|
||||
|
||||
mutt = callPackage ../applications/networking/mailreaders/mutt { };
|
||||
mutt-with-sidebar = callPackage ../applications/networking/mailreaders/mutt {
|
||||
mutt-with-sidebar = callPackage ../applications/networking/mailreaders/mutt {
|
||||
withSidebar = true;
|
||||
automake = automake113x;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue