tt-smi: move to by-name (#451239)

This commit is contained in:
Tristan Ross
2025-10-13 03:40:37 +00:00
committed by GitHub
3 changed files with 13 additions and 20 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ in
];
environment.systemPackages = with pkgs; [
python3Packages.tt-smi
tt-smi
tt-system-tools
];
};
@@ -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
@@ -18855,8 +18855,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 { };