mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
@@ -1,59 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
atk,
|
||||
gobject-introspection,
|
||||
wrapGAppsHook3,
|
||||
udevCheckHook,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "cm-rgb";
|
||||
version = "0.3.6";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gfduszynski";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-m0ZAjSLRzcjzygLEbvCiDd7krc1gRqTg1ZV4H/o2c68=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
atk
|
||||
|
||||
# Populate GI_TYPELIB_PATH
|
||||
gobject-introspection
|
||||
wrapGAppsHook3
|
||||
udevCheckHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
click
|
||||
hidapi
|
||||
psutil
|
||||
pygobject3
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/etc/udev/rules.d
|
||||
echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="2516", ATTR{idProduct}=="0051", TAG+="uaccess"' \
|
||||
> $out/etc/udev/rules.d/60-cm-rgb.rules
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Control AMD Wraith Prism RGB LEDs";
|
||||
longDescription = ''
|
||||
cm-rgb controls AMD Wraith Prism RGB LEDS.
|
||||
|
||||
To permit non-root accounts to use this utility on
|
||||
NixOS, add this package to <literal>services.udev.packages</literal>
|
||||
in <filename>configuration.nix</filename>.
|
||||
'';
|
||||
homepage = "https://github.com/gfduszynski/cm-rgb";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
@@ -570,6 +570,7 @@ mapAliases {
|
||||
cloudlogoffline = throw "cloudlogoffline has been removed"; # Added 2025-05-18
|
||||
clucene_core = warnAlias "'clucene_core' has been renamed to 'clucene-core'" clucene-core; # Added 2026-01-12
|
||||
clucene_core_2 = warnAlias "'clucene_core_2' has been renamed to 'clucene-core_2'" clucene-core_2; # Added 2026-01-12
|
||||
cm-rgb = throw "'cm-rgb' has been removed as it was broken and unmaintained upstream"; # Added 2026-08-15
|
||||
cmtk = throw "'cmtk' has been dropped due to being broken since September 2025, with no complaints by any users of the package."; # Added 2026-04-05
|
||||
coc-cmake = throw "'coc-cmake' has been removed, as it required pnpm 8 (EOL) and its upstream lockfile is incompatible with newer pnpm"; # Added 2026-06-10
|
||||
coc-sumneko-lua = throw "'coc-sumneko-lua' has been removed due to unmaintained and broken package. 'lua_ls' can be used as a replacement"; # Added 2026-02-04
|
||||
|
||||
Reference in New Issue
Block a user