amdgpu_top: init at 0.1.7

This commit is contained in:
geri1701 2023-05-02 00:45:55 +02:00
parent 3a46667a3b
commit 5e86242dd3
No known key found for this signature in database
GPG Key ID: 2B718ABF7C72E842
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

@ -1278,6 +1278,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 { };