1{
2 lib,
3 buildPythonPackage,
4 fetchpatch,
5 fetchFromGitHub,
6 setuptools,
7 distro,
8 elasticsearch,
9 psutil,
10 pyyaml,
11 rich,
12 textual,
13 requests,
14 tqdm,
15 pydantic,
16}:
17buildPythonPackage rec {
18 pname = "tt-tools-common";
19 version = "1.4.25";
20 pyproject = true;
21
22 src = fetchFromGitHub {
23 owner = "tenstorrent";
24 repo = "tt-tools-common";
25 tag = "v${version}";
26 hash = "sha256-phal8KxfQqsGAIcKQTlSPZB04J158jZYlyamZr45vdU=";
27 };
28
29 build-system = [
30 setuptools
31 ];
32
33 dependencies = [
34 distro
35 elasticsearch
36 psutil
37 pyyaml
38 rich
39 textual
40 requests
41 tqdm
42 pydantic
43 ];
44
45 meta = {
46 description = "Helper library for common utilities shared across Tentorrent tools";
47 homepage = "https://github.com/tenstorrent/tt-tools-common";
48 maintainers = with lib.maintainers; [ RossComputerGuy ];
49 license = with lib.licenses; [ asl20 ];
50 };
51}