tt-flake/pkgs/flash/default.nix

38 lines
761 B
Nix
Raw Normal View History

{
pkgs,
pyluwen,
tools-common,
}:
2024-01-31 05:20:40 +00:00
with pkgs.python3Packages;
buildPythonPackage rec {
pname = "tt-flash";
version = "unstable-2024-09-27";
2024-01-31 05:20:40 +00:00
src = pkgs.fetchFromGitHub {
owner = "tenstorrent";
repo = "tt-flash";
rev = "4002fee1da7edfcbf09093ba23612caeca071f23";
hash = "sha256-O6b/vS/zCjp/mrNzFEylWs0jtwdHY65nwkvn5GFridI=";
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
}