Commit 3ff4483a authored by Tristan Ross's avatar Tristan Ross Committed by Tristan Ross
Browse files

pythonPackages.tt-smi: init at 3.0.30

parent 75d6a796
Loading
Loading
Loading
Loading
+59 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };