pythonPackages.tt-smi: init at 3.0.30

This commit is contained in:
Tristan Ross
2025-09-20 10:39:28 -07:00
committed by Tristan Ross
parent 75d6a7961c
commit 3ff4483aa3
2 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,59 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
distro,
elasticsearch,
pydantic,
pyluwen,
rich,
textual,
pre-commit,
importlib-resources,
tt-tools-common,
tomli,
}:
buildPythonPackage rec {
pname = "tt-smi";
version = "3.0.30";
pyproject = true;
src = fetchFromGitHub {
owner = "tenstorrent";
repo = "tt-smi";
tag = "v${version}";
hash = "sha256-C6CfcS0H3rFew/Y1uhmzICdFp1UYU7H9h3YPeAKlcbE=";
};
disabled = pythonOlder "3.13";
build-system = [
setuptools
];
dependencies = [
distro
elasticsearch
pydantic
pyluwen
rich
textual
pre-commit
importlib-resources
tt-tools-common
setuptools
tomli
];
# Fails due to having no tests
dontUsePytestCheck = true;
meta = {
description = "Tenstorrent console based hardware information program";
homepage = "https://github.com/tenstorrent/tt-smi";
maintainers = with lib.maintainers; [ RossComputerGuy ];
license = with lib.licenses; [ asl20 ];
};
}

View File

@@ -18768,6 +18768,8 @@ 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 { };