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 setuptools-scm,
17}:
18buildPythonPackage rec {
19 pname = "tt-tools-common";
20 version = "1.4.28";
21 pyproject = true;
22
23 src = fetchFromGitHub {
24 owner = "tenstorrent";
25 repo = "tt-tools-common";
26 tag = "v${version}";
27 hash = "sha256-L7MYrzQXb0LakQCx5CMlgTo0EjBoLLKC8u38eXksvoo=";
28 };
29
30 build-system = [
31 setuptools
32 setuptools-scm
33 ];
34
35 dependencies = [
36 distro
37 elasticsearch
38 psutil
39 pyyaml
40 rich
41 textual
42 requests
43 tqdm
44 pydantic
45 ];
46
47 meta = {
48 description = "Helper library for common utilities shared across Tentorrent tools";
49 homepage = "https://github.com/tenstorrent/tt-tools-common";
50 maintainers = with lib.maintainers; [ RossComputerGuy ];
51 license = with lib.licenses; [ asl20 ];
52 };
53}