2024-01-31 05:20:40 +00:00
|
|
|
{ pkgs }:
|
|
|
|
|
|
|
|
with pkgs.python3Packages;
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tools-common";
|
|
|
|
version = "main-2024-01-31";
|
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "tenstorrent";
|
|
|
|
repo = "tt-tools-common";
|
|
|
|
rev = "b23ce52352fdf19bf8cd3e3fcea181aa9d2e7dc9";
|
|
|
|
sha256 = "sha256-+BMYCI0+G4zYTI7uyPp+RLyUkKt1fS1WNltnD3xMk2g=";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./pyproject.patch ];
|
2024-10-01 18:41:35 +00:00
|
|
|
|
2024-01-31 05:20:40 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
2024-10-01 18:41:35 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
distro
|
|
|
|
elasticsearch
|
|
|
|
psutil
|
|
|
|
pyyaml
|
|
|
|
rich
|
|
|
|
textual
|
|
|
|
requests
|
|
|
|
];
|
2024-01-31 05:20:40 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"tt_tools_common"
|
|
|
|
];
|
|
|
|
}
|