Merge pull request #229378 from geri1701/submit/amdgpu_top

amdgpu_top: init at 0.1.7
This commit is contained in:
Lassulus 2023-05-03 17:59:12 +02:00 committed by GitHub
commit e2adb41d34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2166 additions and 0 deletions

2139
pkgs/tools/system/amdgpu_top/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,25 @@
{ 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 ];
};
}

View File

@ -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 { };