Files
Felix Singer e72f8bd90d amd-debug-tools: 0.2.18 -> 0.2.20
Signed-off-by: Felix Singer <felixsinger@posteo.net>
2026-07-15 06:53:44 +02:00

64 lines
1.3 KiB
Nix

{
acpica-tools,
ethtool,
fetchgit,
lib,
libdisplay-info,
python3Packages,
}:
python3Packages.buildPythonApplication (finalAttrs: {
pname = "amd-debug-tools";
version = "0.2.20";
pyproject = true;
src = fetchgit {
url = "https://git.kernel.org/pub/scm/linux/kernel/git/superm1/amd-debug-tools.git";
tag = finalAttrs.version;
hash = "sha256-JDacCakZC+4N4IDAODWLSuensAtFArl052I4weK/zJQ=";
};
build-system = with python3Packages; [
setuptools
setuptools-scm
];
dependencies = with python3Packages; [
dbus-fast
jinja2
matplotlib
packaging
pandas
pyudev
seaborn
tabulate
];
# Not available in nixpkgs as of 2025-11-15.
pythonRemoveDeps = [
"cysystemd"
];
makeWrapperArgs = [
"--prefix PATH : ${
lib.makeBinPath [
acpica-tools
ethtool
libdisplay-info
]
}"
];
# Tests require hardware-specific features
doCheck = false;
meta = {
description = "Debug tools for AMD systems";
homepage = "https://git.kernel.org/pub/scm/linux/kernel/git/superm1/amd-debug-tools.git/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ samuela ];
platforms = lib.platforms.linux;
mainProgram = "amd-s2idle";
};
})