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

xdp-tools: 1.3.1 -> 1.4.0
This commit is contained in:
Fabián Heredia Montiel 2023-09-30 12:35:50 -06:00 committed by GitHub
commit 78face1bd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,6 @@
{ 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 = [