cm-rgb: 0.3.4 -> 0.3.6
This commit is contained in:
parent
6965eef223
commit
98182bf0d2
1 changed files with 3 additions and 7 deletions
|
@ -12,13 +12,13 @@
|
|||
|
||||
buildPythonApplication rec {
|
||||
pname = "cm-rgb";
|
||||
version = "0.3.4";
|
||||
version = "0.3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gfduszynski";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "04brldaa2zpvzkcg43i5hpbj03d1nqrgiplm5nh4shn12cif19ag";
|
||||
sha256 = "sha256-m0ZAjSLRzcjzygLEbvCiDd7krc1gRqTg1ZV4H/o2c68=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -37,10 +37,6 @@ buildPythonApplication rec {
|
|||
];
|
||||
|
||||
postInstall = ''
|
||||
# Remove this line when/if this PR gets merged:
|
||||
# https://github.com/gfduszynski/cm-rgb/pull/43
|
||||
install -m0755 scripts/cm-rgb-gui $out/bin/cm-rgb-gui
|
||||
|
||||
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
|
||||
|
@ -51,7 +47,7 @@ buildPythonApplication rec {
|
|||
longDescription = ''
|
||||
cm-rgb controls AMD Wraith Prism RGB LEDS.
|
||||
|
||||
To permit non-root accounts to change use this utility on
|
||||
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>.
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue