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 { 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
''; '';