ndn-tools: 0.7.0 -> 22.12
This commit is contained in:
parent
86e33692cc
commit
c1ab15495e
1 changed files with 7 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, boost175
|
, boost
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, libpcap
|
, libpcap
|
||||||
, ndn-cxx
|
, ndn-cxx
|
||||||
|
@ -12,28 +12,28 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ndn-tools";
|
pname = "ndn-tools";
|
||||||
version = "0.7.1";
|
version = "22.12";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "named-data";
|
owner = "named-data";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "ndn-tools-${version}";
|
rev = "ndn-tools-${version}";
|
||||||
sha256 = "sha256-3hE/esOcS/ln94wZIRVCLjWgouEYnJJf3EvirNEGTeA=";
|
sha256 = "sha256-28sPgo2nq5AhIzZmvDz38echGPzKDzNm2J6iIao4yL8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config sphinx wafHook ];
|
nativeBuildInputs = [ pkg-config sphinx wafHook ];
|
||||||
buildInputs = [ libpcap ndn-cxx openssl ];
|
buildInputs = [ libpcap ndn-cxx openssl ];
|
||||||
|
|
||||||
wafConfigureFlags = [
|
wafConfigureFlags = [
|
||||||
"--boost-includes=${boost175.dev}/include"
|
"--boost-includes=${boost.dev}/include"
|
||||||
"--boost-libs=${boost175.out}/lib"
|
"--boost-libs=${boost.out}/lib"
|
||||||
# "--with-tests"
|
"--with-tests"
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
build/unit-tests
|
build/unit-tests # some tests fail because of the sandbox environment
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue