adjustor: drop (#462128)

This commit is contained in:
Sandro
2025-12-19 01:59:20 +00:00
committed by GitHub
2 changed files with 1 additions and 55 deletions
-55
View File
@@ -1,55 +0,0 @@
{
fetchFromGitHub,
lib,
python3Packages,
# Dependencies
kmod,
util-linux,
}:
python3Packages.buildPythonPackage rec {
pname = "adjustor";
version = "3.11.8";
pyproject = true;
src = fetchFromGitHub {
owner = "hhd-dev";
repo = "adjustor";
tag = "v${version}";
hash = "sha256-BS0zV8nan61fTUs3v6nmGBuqPEDjATxBG792ZrrreAI=";
};
# This package relies on several programs expected to be on the user's PATH.
# We take a more reproducible approach by patching the absolute path to each of these required
# binaries.
postPatch = ''
substituteInPlace src/adjustor/core/acpi.py \
--replace-fail '"modprobe"' '"${lib.getExe' kmod "modprobe"}"'
substituteInPlace src/adjustor/fuse/utils.py \
--replace-fail 'f"mount' 'f"${lib.getExe' util-linux "mount"}'
'';
build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
rich
pyroute2
fuse
pygobject3
dbus-python
kmod
];
# This package doesn't have upstream tests.
doCheck = false;
meta = {
homepage = "https://github.com/hhd-dev/adjustor/";
description = "Adjustor TDP plugin for Handheld Daemon";
platforms = lib.platforms.linux;
license = lib.licenses.gpl3Only;
maintainers = [ lib.maintainers.toast ];
mainProgram = "hhd";
};
}
+1
View File
@@ -269,6 +269,7 @@ mapAliases {
a4term = throw "'a4term' has been renamed to/replaced by 'a4'"; # Converted to throw 2025-10-27
abseil-cpp_202301 = throw "abseil-cpp_202301 has been removed as it was unused in tree"; # Added 2025-08-09
abseil-cpp_202501 = throw "abseil-cpp_202501 has been removed as it was unused in tree"; # Added 2025-09-15
adjustor = throw "adjustor has been removed as it part of the 'handheld-daemon' package"; # Added 2025-11-16
adminer-pematon = throw "'adminer-pematon' has been renamed to/replaced by 'adminneo'"; # Converted to throw 2025-10-27
adminerneo = throw "'adminerneo' has been renamed to/replaced by 'adminneo'"; # Converted to throw 2025-10-27
adobe-reader = throw "'adobe-reader' has been removed, as it was broken, outdated and insecure"; # Added 2025-05-31