ndn-tools: init at 0.7.1 (#144012)

Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Filippo Berto 2021-11-09 23:36:34 +01:00 committed by GitHub
parent c159324bf8
commit 1fbe5a6912
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{ lib
, stdenv
, boost
, fetchFromGitHub
, libpcap
, ndn-cxx
, openssl
, pkg-config
, sphinx
, wafHook
}:
stdenv.mkDerivation rec {
pname = "ndn-tools";
version = "0.7.1";
src = fetchFromGitHub {
owner = "named-data";
repo = pname;
rev = "ndn-tools-${version}";
sha256 = "1q2d0v8srqjbvigr570qw6ia0d9f88aj26ccyxkzjjwwqdx3y4fy";
};
nativeBuildInputs = [ pkg-config sphinx wafHook ];
buildInputs = [ libpcap ndn-cxx openssl ];
wafConfigureFlags = [
"--boost-includes=${boost.dev}/include"
"--boost-libs=${boost.out}/lib"
"--with-tests"
];
doCheck = true;
checkPhase = ''
build/unit-tests
'';
meta = with lib; {
homepage = "https://named-data.net/";
description = "Named Data Neworking (NDN) Essential Tools";
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ bertof ];
};
}

View file

@ -15720,6 +15720,8 @@ with pkgs;
ndn-cxx = callPackage ../development/libraries/ndn-cxx { }; ndn-cxx = callPackage ../development/libraries/ndn-cxx { };
ndn-tools = callPackage ../tools/networking/ndn-tools { };
cddlib = callPackage ../development/libraries/cddlib {}; cddlib = callPackage ../development/libraries/cddlib {};
cdk = callPackage ../development/libraries/cdk {}; cdk = callPackage ../development/libraries/cdk {};