nixcfg/hosts/pacifidlog/adjustor.nix

37 lines
748 B
Nix
Raw Normal View History

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";
version = "3.4.5";
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
}