pkgs/amdgpu-fan: patch bad placeholder version

This commit is contained in:
xeals 2023-05-23 09:52:36 +10:00
parent 896b46b2f4
commit 22d592cca5
Signed by: xeals
GPG Key ID: A498C7AF27EC6B5C

View File

@ -20,6 +20,11 @@ python3Packages.buildPythonApplication rec {
pyyaml pyyaml
]; ];
patchPhase = ''
substituteInPlace setup.py \
--replace PROJECTVERSION "${version}"
'';
meta = with lib; { meta = with lib; {
description = "Fan controller for AMD graphics cards running the amdgpu driver on Linux"; description = "Fan controller for AMD graphics cards running the amdgpu driver on Linux";
homepage = "https://github.com/chestm007/amdgpu-fan"; homepage = "https://github.com/chestm007/amdgpu-fan";