mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
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:
committed by
github-actions[bot]
parent
20bb1a2c6c
commit
e3bf731faf
33
pkgs/by-name/as/asus-wmi-screenpad-ctl/package.nix
Normal file
33
pkgs/by-name/as/asus-wmi-screenpad-ctl/package.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user