gpu-usage-waybar: init at 0.1.24 (#474242)

This commit is contained in:
Matthieu Coudron
2026-02-04 04:31:24 +01:00
committed by GitHub
2 changed files with 38 additions and 0 deletions
+6
View File
@@ -19266,6 +19266,12 @@
githubId = 2946283;
name = "Brian Cohen";
};
nouritsu = {
name = "Aneesh Bhave";
email = "aneesh1701@gmail.com";
github = "nouritsu";
githubId = 113834791;
};
nova-madeline = {
matrix = "@nova:tchncs.de";
github = "nova-r";
@@ -0,0 +1,32 @@
{
lib,
fetchFromGitHub,
rustPlatform,
autoAddDriverRunpath,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "gpu-usage-waybar";
version = "0.1.26";
src = fetchFromGitHub {
owner = "PolpOnline";
repo = "gpu-usage-waybar";
tag = "v${finalAttrs.version}";
hash = "sha256-8kj5QQ7yknLct6PfVGz+TiSS6nmQPzDXt2LF0h1hMNE=";
};
cargoHash = "sha256-wGKMZDT+B/AD8onnfslnqKBFgqVJNo/idWKLZOiQb/c=";
nativeBuildInputs = [
autoAddDriverRunpath
];
meta = {
description = "Tool to display GPU usage in Waybar";
homepage = "https://github.com/PolpOnline/gpu-usage-waybar";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ nouritsu ];
mainProgram = "gpu-usage-waybar";
platforms = lib.platforms.linux;
};
})