chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / nd / ndn-tools / package.nix
blob52941aa57fce198bcdb50cf381702af043501ea7
2   lib,
3   stdenv,
4   boost ? ndn-cxx.boost,
5   fetchFromGitHub,
6   libpcap,
7   ndn-cxx,
8   openssl,
9   pkg-config,
10   sphinx,
11   wafHook,
14 stdenv.mkDerivation rec {
15   pname = "ndn-tools";
16   version = "24.07";
18   src = fetchFromGitHub {
19     owner = "named-data";
20     repo = "ndn-tools";
21     rev = "ndn-tools-${version}";
22     sha256 = "sha256-rzGd+8SkztrkXRXcEcQm6rOtAGnF7h/Jg8jaBb7FP9w=";
23   };
25   nativeBuildInputs = [
26     pkg-config
27     sphinx
28     wafHook
29   ];
30   buildInputs = [
31     libpcap
32     ndn-cxx
33     openssl
34   ];
36   wafConfigureFlags = [
37     "--boost-includes=${boost.dev}/include"
38     "--boost-libs=${boost.out}/lib"
39     "--with-tests"
40   ];
42   doCheck = false; # some tests fail because of the sandbox environment
43   checkPhase = ''
44     runHook preCheck
45     build/unit-tests
46     runHook postCheck
47   '';
49   meta = with lib; {
50     homepage = "https://named-data.net/";
51     description = "Named Data Networking (NDN) Essential Tools";
52     license = licenses.gpl3Plus;
53     platforms = platforms.unix;
54     maintainers = with maintainers; [ bertof ];
55   };