amdgpu_top: 0.10.2 -> 0.10.3 (#382631)

This commit is contained in:
Sandro
2025-02-16 21:21:22 +01:00
committed by GitHub
2 changed files with 11 additions and 4408 deletions
File diff suppressed because it is too large Load Diff
+11 -11
View File
@@ -16,21 +16,17 @@
rustPlatform.buildRustPackage rec {
pname = "amdgpu_top";
version = "0.10.2";
version = "0.10.3";
src = fetchFromGitHub {
owner = "Umio-Yasuno";
repo = pname;
repo = "amdgpu_top";
rev = "v${version}";
hash = "sha256-sXVUtqPnVYSJ+/RF4/FuXEZOA3DgHMv5Yd8ew/tJJeY=";
hash = "sha256-9PHMPyL2yg36vG+wax0Lb/LFT7CQWnBnZ+t38hr01PE=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"libdrm_amdgpu_sys-0.8.3" = "sha256-unjsJqQ6e9Xo522ETTpy6bxXYW/NzNOnVV+w1ord87U=";
};
};
useFetchCargoVendor = true;
cargoHash = "sha256-W20jtH3w8LVqKwdf2ifwXKO2xgF3e/DuZ8vWqHOAGy0=";
buildInputs = [
libdrm
@@ -45,7 +41,8 @@ rustPlatform.buildRustPackage rec {
];
postInstall = ''
install -D ./assets/${pname}.desktop -t $out/share/applications/
install -D ./assets/amdgpu_top.desktop -t $out/share/applications/
install -D ./assets/amdgpu_top-tui.desktop -t $out/share/applications/
'';
postFixup = ''
@@ -59,7 +56,10 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/Umio-Yasuno/amdgpu_top";
changelog = "https://github.com/Umio-Yasuno/amdgpu_top/releases";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ geri1701 ];
maintainers = with lib.maintainers; [
geri1701
Gliczy
];
platforms = lib.platforms.linux;
mainProgram = "amdgpu_top";
};