Merge pull request #312682 from luftmensch-luftmensch/bpftop_0.5.1

bpftop: 0.4.2 -> 0.5.1
This commit is contained in:
0x4A6F 2024-05-22 14:10:02 +02:00 committed by GitHub
commit 9e57edba10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,24 +1,27 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, elfutils
, zlib
, libbpf
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
elfutils,
zlib,
libbpf,
clangStdenv,
}:
rustPlatform.buildRustPackage rec {
let
pname = "bpftop";
version = "0.4.2";
version = "0.5.1";
in
rustPlatform.buildRustPackage.override { stdenv = clangStdenv; } {
inherit pname version;
src = fetchFromGitHub {
owner = "Netflix";
repo = "bpftop";
rev = "v${version}";
hash = "sha256-zYCv3L+xDFAJ4Wo9xwfHJrqPQUv5KiFDbhCdC1Z6qNo=";
rev = "refs/tags/v${version}";
hash = "sha256-CSQfg0JuWm0CFyC4eXxn7eSyKIu0gKAqgiQT64tgnDI=";
};
cargoHash = "sha256-6uPfMxjSrSGrAgJcvzTY/i1ckoW/wIi7D5noOafCvZE=";
cargoHash = "sha256-Hg763Zy5KRZqEDoasoDScZGAPb1ABRp+LI1c7IYJNf0=";
buildInputs = [
elfutils
@ -26,9 +29,7 @@ rustPlatform.buildRustPackage rec {
zlib
];
nativeBuildInputs = [
pkg-config
];
nativeBuildInputs = [ pkg-config ];
meta = {
description = "A dynamic real-time view of running eBPF programs";
@ -36,6 +37,7 @@ rustPlatform.buildRustPackage rec {
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
_0x4A6F
luftmensch-luftmensch
mfrw
];
mainProgram = "bpftop";