Merge pull request #229378 from geri1701/submit/amdgpu_top
amdgpu_top: init at 0.1.7
This commit is contained in:
commit
e2adb41d34
2139
pkgs/tools/system/amdgpu_top/Cargo.lock
generated
Normal file
2139
pkgs/tools/system/amdgpu_top/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
25
pkgs/tools/system/amdgpu_top/default.nix
Normal file
25
pkgs/tools/system/amdgpu_top/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user