Unverified Commit 64c8e279 authored by Matthieu Coudron's avatar Matthieu Coudron Committed by GitHub
Browse files

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

parents 47cefec8 a2c4f19c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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";
+32 −0
Original line number Diff line number Diff line
{
  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;
  };
})