Unverified Commit e2adb41d authored by Lassulus's avatar Lassulus Committed by GitHub
Browse files

Merge pull request #229378 from geri1701/submit/amdgpu_top

amdgpu_top: init at 0.1.7
parents ebde6264 5e86242d
Loading
Loading
Loading
Loading
+2139 −0

File added.

Preview size limit exceeded, changes collapsed.

+25 −0
Original line number Diff line number Diff line
{ lib, rustPlatform, fetchFromGitHub, libdrm }:

rustPlatform.buildRustPackage rec {
  pname = "amdgpu_top";
  version = "0.1.7";

  src = fetchFromGitHub {
    owner = "Umio-Yasuno";
    repo = pname;
    rev = "v${version}-stable";
    hash = "sha256-cdKUj0pUlXxMNx0jypuov4hX3CISTDaSQh+KFB5R8ys=";
  };

  cargoLock.lockFile = ./Cargo.lock;

  buildInputs = [ libdrm ];

  meta = with lib; {
    description = "Tool to display AMDGPU usage";
    homepage = "https://github.com/Umio-Yasuno/amdgpu_top";
    changelog = "https://github.com/Umio-Yasuno/amdgpu_top/releases";
    license = licenses.mit;
    maintainers = with maintainers; [ geri1701 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -1276,6 +1276,8 @@ with pkgs;
  acpica-tools = callPackage ../tools/system/acpica-tools { };
  amdgpu_top = callPackage ../tools/system/amdgpu_top { };
  acquire = with python3Packages; toPythonApplication acquire;
  act = callPackage ../development/tools/misc/act { };