2024-01-31 05:20:40 +00:00
|
|
|
{ pkgs }:
|
|
|
|
|
|
|
|
with pkgs.python3Packages;
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tools-common";
|
2024-10-01 19:01:05 +00:00
|
|
|
version = "unstable-2024-09-27";
|
2024-01-31 05:20:40 +00:00
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "tenstorrent";
|
|
|
|
repo = "tt-tools-common";
|
2024-10-01 19:01:05 +00:00
|
|
|
rev = "a89b2db6d086698ab0351a820ea689b4809429a3";
|
|
|
|
sha256 = "sha256-xeiJQkWsg9p8re2XJai0mNWuP7LwJ9faj3+Z3U/KvzI=";
|
2024-01-31 05:20:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
format = "pyproject";
|
|
|
|
|
2024-10-01 19:01:05 +00:00
|
|
|
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
|
|
|
|
|
|
|
pythonRelaxDeps = [ "distro" "elasticsearch" "psutil" "pyyaml" "rich" "requests" "textual" "tqdm" ];
|
|
|
|
|
2024-10-01 18:41:35 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
distro
|
|
|
|
elasticsearch
|
|
|
|
psutil
|
|
|
|
pyyaml
|
|
|
|
rich
|
|
|
|
textual
|
|
|
|
requests
|
2024-10-01 19:01:05 +00:00
|
|
|
jsons
|
|
|
|
tqdm
|
|
|
|
pydantic
|
2024-10-01 18:41:35 +00:00
|
|
|
];
|
2024-01-31 05:20:40 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"tt_tools_common"
|
|
|
|
];
|
|
|
|
}
|