mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 09:07:29 +00:00
xdp-tools: 1.3.1 -> 1.4.0
https://github.com/xdp-project/xdp-tools/releases/tag/v1.4.0
This commit is contained in:
parent
bd9b686c01
commit
61f31bafb0
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user