nfd: 0.7.1 -> 22.12

This commit is contained in:
Filippo Berto 2022-12-05 10:57:40 +01:00
parent c1ab15495e
commit b3c41de572
No known key found for this signature in database
GPG Key ID: FE98AE5EC52B1056
3 changed files with 10 additions and 10 deletions

View File

@ -33,10 +33,10 @@ stdenv.mkDerivation rec {
"--with-tests"
];
doCheck = false;
doCheck = false; # some tests fail in upstream, some fail because of the sandbox environment
checkPhase = ''
runHook preCheck
LD_PRELOAD=build/libndn-cxx.so build/unit-tests # some tests fail in upstream, some fail because of the sandbox environment
LD_PRELOAD=build/libndn-cxx.so build/unit-tests
runHook postCheck
'';

View File

@ -1,6 +1,6 @@
{ lib
, stdenv
, boost175
, boost
, fetchFromGitHub
, libpcap
, ndn-cxx
@ -16,13 +16,13 @@
stdenv.mkDerivation rec {
pname = "nfd";
version = "0.7.1";
version = "22.12";
src = fetchFromGitHub {
owner = "named-data";
repo = lib.toUpper pname;
rev = "NFD-${version}";
sha256 = "sha256-8Zm8oxbpw9qD31NuofDdgPYnTWIz5E04NhkZhiRkK9E=";
sha256 = "sha256-epY5qtET7rsKL3KIKvxfa+wF+AGZbYs+zRhy8SnIffk=";
fetchSubmodules = true;
};
@ -30,8 +30,8 @@ stdenv.mkDerivation rec {
buildInputs = [ libpcap ndn-cxx openssl websocketpp ] ++ lib.optional withSystemd systemd;
wafConfigureFlags = [
"--boost-includes=${boost175.dev}/include"
"--boost-libs=${boost175.out}/lib"
"--boost-includes=${boost.dev}/include"
"--boost-libs=${boost.out}/lib"
"--with-tests"
] ++ lib.optional (!withWebSocket) "--without-websocket";
@ -50,6 +50,6 @@ stdenv.mkDerivation rec {
description = "Named Data Networking (NDN) Forwarding Daemon";
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = [ lib.maintainers.bertof ];
maintainers = with maintainers; [ bertof ];
};
}

View File

@ -30,10 +30,10 @@ stdenv.mkDerivation rec {
"--with-tests"
];
doCheck = false;
doCheck = false; # some tests fail because of the sandbox environment
checkPhase = ''
runHook preCheck
build/unit-tests # some tests fail because of the sandbox environment
build/unit-tests
runHook postCheck
'';