tt-flake/pkgs/flash/default.nix

38 lines
728 B
Nix
Raw Permalink Normal View History

{
pkgs,
pyluwen,
tools-common,
}:
2024-01-31 05:20:40 +00:00
with pkgs.python3Packages;
buildPythonPackage rec {
pname = "tt-flash";
version = "3.1.1";
2024-01-31 05:20:40 +00:00
src = pkgs.fetchFromGitHub {
owner = "tenstorrent";
repo = "tt-flash";
rev = "refs/tags/v${version}";
hash = "sha256-t2B1XEOKBKxE2eQiS7pc+EemBWomMgocyk4oRDt0Q78=";
2024-01-31 05:20:40 +00:00
};
nativeBuildInputs = [ pythonRelaxDepsHook ];
pythonRelaxDeps = [
"pyyaml"
];
2024-01-31 05:20:40 +00:00
format = "pyproject";
# patches = [ ./pyproject.patch ./log.patch ];
2024-10-01 18:41:35 +00:00
propagatedBuildInputs = [
setuptools
pyyaml
pyluwen
tabulate
tools-common
2024-10-01 18:41:35 +00:00
]; # requests textual black distro elasticsearch jsons pydantic psutil pyyaml pyluwen importlib-resources pkgs.pre-commit tools-common ];
2024-01-31 05:20:40 +00:00
}