ndn-tools: 0.7.0 -> 22.12

This commit is contained in:
Filippo Berto 2022-12-05 10:56:31 +01:00
parent 86e33692cc
commit c1ab15495e
No known key found for this signature in database
GPG key ID: 9DBF7E6A1D2CE9ED

View file

@ -1,6 +1,6 @@
{ lib
, stdenv
, boost175
, boost
, fetchFromGitHub
, libpcap
, ndn-cxx
@ -12,28 +12,28 @@
stdenv.mkDerivation rec {
pname = "ndn-tools";
version = "0.7.1";
version = "22.12";
src = fetchFromGitHub {
owner = "named-data";
repo = pname;
rev = "ndn-tools-${version}";
sha256 = "sha256-3hE/esOcS/ln94wZIRVCLjWgouEYnJJf3EvirNEGTeA=";
sha256 = "sha256-28sPgo2nq5AhIzZmvDz38echGPzKDzNm2J6iIao4yL8=";
};
nativeBuildInputs = [ pkg-config sphinx wafHook ];
buildInputs = [ libpcap ndn-cxx openssl ];
wafConfigureFlags = [
"--boost-includes=${boost175.dev}/include"
"--boost-libs=${boost175.out}/lib"
# "--with-tests"
"--boost-includes=${boost.dev}/include"
"--boost-libs=${boost.out}/lib"
"--with-tests"
];
doCheck = false;
checkPhase = ''
runHook preCheck
build/unit-tests
build/unit-tests # some tests fail because of the sandbox environment
runHook postCheck
'';