summaryrefslogtreecommitdiff
path: root/pkgs/os-specific/linux/bpftool/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/os-specific/linux/bpftool/default.nix')
-rw-r--r--pkgs/os-specific/linux/bpftool/default.nix30
1 files changed, 0 insertions, 30 deletions
diff --git a/pkgs/os-specific/linux/bpftool/default.nix b/pkgs/os-specific/linux/bpftool/default.nix
deleted file mode 100644
index d8c64738d829..000000000000
--- a/pkgs/os-specific/linux/bpftool/default.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{ lib, stdenv
-, libopcodes, libbfd, libelf
-, linuxPackages_latest, zlib
-, python3
-}:
-
-stdenv.mkDerivation {
- pname = "bpftool";
- inherit (linuxPackages_latest.kernel) version src;
-
- nativeBuildInputs = [ python3 ];
- buildInputs = [ libopcodes libbfd libelf zlib ];
-
- preConfigure = ''
- patchShebangs scripts/bpf_helpers_doc.py
-
- cd tools/bpf/bpftool
- substituteInPlace ./Makefile \
- --replace '/usr/local' "$out" \
- --replace '/usr' "$out" \
- --replace '/sbin' '/bin'
- '';
-
- meta = with lib; {
- description = "Debugging/program analysis tool for the eBPF subsystem";
- license = [ licenses.gpl2 licenses.bsd2 ];
- platforms = platforms.linux;
- maintainers = with maintainers; [ thoughtpolice ];
- };
-}