mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
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:
parent
c159324bf8
commit
1fbe5a6912
2 changed files with 47 additions and 0 deletions
45
pkgs/tools/networking/ndn-tools/default.nix
Normal file
45
pkgs/tools/networking/ndn-tools/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -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 {};
|
||||||
|
|
Loading…
Reference in a new issue