2024-10-13 17:38:42 -04:00
|
|
|
{
|
|
|
|
fetchFromGitHub,
|
|
|
|
lib,
|
|
|
|
python3,
|
2024-10-13 17:07:45 -04:00
|
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "adjustor";
|
2024-10-13 18:31:50 -04:00
|
|
|
version = "3.5.2";
|
2024-10-13 17:07:45 -04:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hhd-dev";
|
|
|
|
repo = "adjustor";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-tde9FfP9MVOw1/0c4y8fQxVNmvvqjPG97S4bphOdqws=";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
setuptools
|
|
|
|
rich
|
|
|
|
pyroute2
|
|
|
|
fuse
|
|
|
|
pygobject3
|
|
|
|
dbus-python
|
|
|
|
];
|
|
|
|
|
|
|
|
# This package doesn't have upstream tests.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/hhd-dev/adjustor/";
|
|
|
|
description = "Allows for TDP control of AMD Handhelds under handheld-daemon support";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
2024-10-13 17:38:42 -04:00
|
|
|
}
|