Unverified Commit 78face1b authored by Fabián Heredia Montiel's avatar Fabián Heredia Montiel Committed by GitHub
Browse files

Merge pull request #258014 from vcunat/p/libxdp-bump

xdp-tools: 1.3.1 -> 1.4.0
parents ca80f309 61f31baf
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, libbpf
, elfutils
, zlib
@@ -16,23 +15,15 @@
}:
stdenv.mkDerivation rec {
  pname = "xdp-tools";
  version = "1.3.1";
  version = "1.4.0";

  src = fetchFromGitHub {
    owner = "xdp-project";
    repo = "xdp-tools";
    rev = "v${version}";
    sha256 = "ctggXzc3qA+m2/nJ9lmR/pERj0YyPko3MTttm8e85cU=";
    hash = "sha256-XZGbfXQM3catiDavzi2vY5s+EMVgGHq/ju32lBIgg8E=";
  };

  patches = [
    # Fix function detection for btf__type_cnt()
    (fetchpatch {
      url = "https://github.com/xdp-project/xdp-tools/commit/a7df567634af77381832a2212c5f5099b07734f3.patch";
      sha256 = "n6qG/bojSGUowrAaJWxecYpWdv9OceHkoaGlhbl81hA=";
    })
  ];

  outputs = [ "out" "lib" ];

  buildInputs = [