Unverified Commit c1ab1549 authored by Filippo Berto's avatar Filippo Berto
Browse files

ndn-tools: 0.7.0 -> 22.12

parent 86e33692
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
{ 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
  '';