nur-packages/pkgs/tools/misc/amdgpu-fan/default.nix

30 lines
630 B
Nix
Raw Normal View History

2020-10-15 19:05:13 +11:00
{ stdenv
, fetchFromGitHub
, python3Packages
}:
python3Packages.buildPythonApplication rec {
pname = "amdgpu-fan";
version = "0.0.6";
src = fetchFromGitHub {
repo = pname;
owner = "chestm007";
rev = version;
sha256 = "1ngfrk6agk8wz0q9426lwrqhbgxc98hrsv0kn6wgz25j1rv9332b";
};
propagatedBuildInputs = with python3Packages; [
numpy
pyyaml
];
meta = with stdenv.lib; {
description = "Fan controller for AMD graphics cards running the amdgpu driver on Linux";
homepage = "https://github.com/chestm007/amdgpu-fan";
license = licenses.gpl2;
platforms = platforms.linux;
};
}