tt-smi: move to by-name

This commit is contained in:
Tristan Ross
2025-10-12 10:00:26 -07:00
parent 695a0cbd06
commit 984fc6f787
2 changed files with 12 additions and 19 deletions
@@ -1,21 +1,11 @@
{
lib,
buildPythonPackage,
python3Packages,
fetchFromGitHub,
pythonOlder,
setuptools,
distro,
elasticsearch,
pydantic,
pyluwen,
rich,
textual,
pre-commit,
importlib-resources,
tt-tools-common,
tomli,
versionCheckHook,
}:
buildPythonPackage rec {
python3Packages.buildPythonApplication rec {
pname = "tt-smi";
version = "3.0.30";
pyproject = true;
@@ -27,13 +17,11 @@ buildPythonPackage rec {
hash = "sha256-C6CfcS0H3rFew/Y1uhmzICdFp1UYU7H9h3YPeAKlcbE=";
};
disabled = pythonOlder "3.13";
build-system = [
build-system = with python3Packages; [
setuptools
];
dependencies = [
dependencies = with python3Packages; [
distro
elasticsearch
pydantic
@@ -47,10 +35,17 @@ buildPythonPackage rec {
tomli
];
nativeCheckInputs = [
versionCheckHook
];
# Fails due to having no tests
dontUsePytestCheck = true;
versionCheckProgramArg = "--version";
meta = {
mainProgram = "tt-smi";
description = "Tenstorrent console based hardware information program";
homepage = "https://github.com/tenstorrent/tt-smi";
maintainers = with lib.maintainers; [ RossComputerGuy ];
-2
View File
@@ -18851,8 +18851,6 @@ self: super: with self; {
tt-flash = callPackage ../development/python-modules/tt-flash { };
tt-smi = callPackage ../development/python-modules/tt-smi { };
tt-tools-common = callPackage ../development/python-modules/tt-tools-common { };
ttach = callPackage ../development/python-modules/ttach { };