Merge pull request #124234 from rkitover/aucc-init

This commit is contained in:
Sandro 2021-06-05 16:57:36 +02:00 committed by GitHub
commit 1918720d0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 71 additions and 0 deletions

View File

@ -8637,6 +8637,12 @@
githubId = 449990;
name = "Cedric Cellier";
};
rkitover = {
email = "rkitover@gmail.com";
github = "rkitover";
githubId = 77611;
name = "Rafael Kitover";
};
rkoe = {
email = "rk@simple-is-better.org";
github = "rkoe";

View File

@ -0,0 +1,26 @@
{ lib, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "avell-unofficial-control-center";
version = "1.0.4";
src = fetchFromGitHub {
owner = "rodgomesc";
repo = "avell-unofficial-control-center";
# https://github.com/rodgomesc/avell-unofficial-control-center/issues/58
rev = "e32e243e31223682a95a719bc58141990eef35e6";
sha256 = "1qz1kv7p09nxffndzz9jlkzpfx26ppz66f8603zyamjq9dqdmdin";
};
# No tests included
doCheck = false;
propagatedBuildInputs = with python3Packages; [ pyusb elevate ];
meta = with lib; {
homepage = "https://github.com/rodgomesc/avell-unofficial-control-center";
description = "Software for controlling RGB keyboard lights on some gaming laptops that use ITE Device(8291) Rev 0.03";
license = licenses.mit;
maintainers = with maintainers; [ rkitover ];
};
}

View File

@ -0,0 +1,35 @@
{ lib, fetchPypi, buildPythonPackage, fetchpatch, setuptools-scm }:
buildPythonPackage rec {
pname = "elevate";
version = "0.1.3";
src = fetchPypi {
inherit pname version;
sha256 = "53ad19fa1de301fb1de3f8768fb3a5894215716fd96a475690c4d0ff3b1de209";
};
patches = [
(fetchpatch {
# This is for not calling shell wrappers through Python, which fails.
url = "https://github.com/rkitover/elevate/commit/148b2bf698203ea39c9fe5d635ecd03cd94051af.patch";
sha256 = "1ky3z1jxl1g28wbwbx8qq8jgx8sa8pr8s3fdcpdhdx1blw28cv61";
})
];
nativeBuildInputs = [
setuptools-scm
];
# No tests included
doCheck = false;
pythonImportsCheck = [ "elevate" ];
meta = with lib; {
description = "Python module for re-launching the current process as super-user";
homepage = "https://github.com/barneygale/elevate";
license = licenses.mit;
maintainers = with maintainers; [ rkitover ];
};
}

View File

@ -30226,6 +30226,8 @@ in
autotiling = python3Packages.callPackage ../misc/autotiling { };
avell-unofficial-control-center = python3Packages.callPackage ../applications/misc/avell-unofficial-control-center { };
beep = callPackage ../misc/beep { };
bees = callPackage ../tools/filesystems/bees { };

View File

@ -2195,6 +2195,8 @@ in {
elementpath = callPackage ../development/python-modules/elementpath { };
elevate = callPackage ../development/python-modules/elevate { };
eliot = callPackage ../development/python-modules/eliot { };
elmax = callPackage ../development/python-modules/elmax { };