bpftop: 0.4.2 -> 0.5.1

This commit is contained in:
luftmensch-luftmensch 2024-05-18 16:41:04 +02:00
parent 04496f014f
commit 050424e840
No known key found for this signature in database

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";