Unverified Commit 050424e8 authored by luftmensch-luftmensch's avatar luftmensch-luftmensch
Browse files

bpftop: 0.4.2 -> 0.5.1

parent 04496f01
Loading
Loading
Loading
Loading
+19 −17
Original line number Diff line number Diff line
{ 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";