Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 setuptools, 7 distro, 8 elasticsearch, 9 pydantic, 10 pyluwen, 11 rich, 12 textual, 13 pre-commit, 14 importlib-resources, 15 tt-tools-common, 16 tomli, 17}: 18buildPythonPackage rec { 19 pname = "tt-smi"; 20 version = "3.0.30"; 21 pyproject = true; 22 23 src = fetchFromGitHub { 24 owner = "tenstorrent"; 25 repo = "tt-smi"; 26 tag = "v${version}"; 27 hash = "sha256-C6CfcS0H3rFew/Y1uhmzICdFp1UYU7H9h3YPeAKlcbE="; 28 }; 29 30 disabled = pythonOlder "3.13"; 31 32 build-system = [ 33 setuptools 34 ]; 35 36 dependencies = [ 37 distro 38 elasticsearch 39 pydantic 40 pyluwen 41 rich 42 textual 43 pre-commit 44 importlib-resources 45 tt-tools-common 46 setuptools 47 tomli 48 ]; 49 50 # Fails due to having no tests 51 dontUsePytestCheck = true; 52 53 meta = { 54 description = "Tenstorrent console based hardware information program"; 55 homepage = "https://github.com/tenstorrent/tt-smi"; 56 maintainers = with lib.maintainers; [ RossComputerGuy ]; 57 license = with lib.licenses; [ asl20 ]; 58 }; 59}