tools-common: rename from common
This commit is contained in:
parent
64274bd755
commit
ffb567adfd
2 changed files with 2 additions and 4 deletions
48
pkgs/tools-common/default.nix
Normal file
48
pkgs/tools-common/default.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{ pkgs }:
|
||||
|
||||
with pkgs.python3Packages;
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tools-common";
|
||||
version = "unstable-2024-09-27";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "tenstorrent";
|
||||
repo = "tt-tools-common";
|
||||
rev = "a89b2db6d086698ab0351a820ea689b4809429a3";
|
||||
sha256 = "sha256-xeiJQkWsg9p8re2XJai0mNWuP7LwJ9faj3+Z3U/KvzI=";
|
||||
};
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"distro"
|
||||
"elasticsearch"
|
||||
"psutil"
|
||||
"pyyaml"
|
||||
"rich"
|
||||
"requests"
|
||||
"textual"
|
||||
"tqdm"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
setuptools
|
||||
distro
|
||||
elasticsearch
|
||||
psutil
|
||||
pyyaml
|
||||
rich
|
||||
textual
|
||||
requests
|
||||
jsons
|
||||
tqdm
|
||||
pydantic
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"tt_tools_common"
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue