asus-wmi-screenpad-ctl: init at 1.0.0

fix

vscode: 1.101.1 -> 1.101.2

fix

(cherry picked from commit 72b76af1f2)
This commit is contained in:
Alden Parker
2025-06-13 16:34:31 -07:00
committed by github-actions[bot]
parent 20bb1a2c6c
commit e3bf731faf

View File

@@ -0,0 +1,33 @@
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:
let
version = "1.0.0";
in
rustPlatform.buildRustPackage {
pname = "asus-wmi-screenpad-ctl";
inherit version;
src = fetchFromGitHub {
repo = "asus-wmi-screenpad-ctl";
owner = "aldenparker";
tag = "v${version}";
hash = "sha256-TV61Kh8A7PFJPRONqeCK1xEK2AHfiV/eoZOCL0SZ+5M=";
};
cargoHash = "sha256-ZluFoV9TclY6NOB5sHBN+1ht3zovmb4H+q7qT/Ywwmc=";
passthru.updateScript = nix-update-script { };
meta = {
description = "Brightness control program for the asus-wmi-screenpad kernel module";
mainProgram = "asus-wmi-screenpad-ctl";
homepage = "https://github.com/aldenparker/asus-wmi-screenpad-ctl";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ aldenparker ];
platforms = lib.platforms.linux;
};
}