mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 20:09:17 -05:00
35 lines
742 B
Nix
35 lines
742 B
Nix
{ fetchFromGitHub
|
|
, lib
|
|
, python3
|
|
}:
|
|
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;
|
|
};
|
|
} |