at master 812 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 fetchpatch, 6 setuptools, 7 pyyaml, 8 tabulate, 9 pyluwen, 10 tt-tools-common, 11}: 12buildPythonPackage rec { 13 pname = "tt-flash"; 14 version = "3.3.3"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "tenstorrent"; 19 repo = "tt-flash"; 20 tag = "v${version}"; 21 hash = "sha256-edWogH/HZZlGwyiqGbj6vunNxhsCr/+3LzmFgFGzjck="; 22 }; 23 24 build-system = [ 25 setuptools 26 ]; 27 28 dependencies = [ 29 tabulate 30 pyyaml 31 pyluwen 32 tt-tools-common 33 ]; 34 35 pythonImportsCheck = [ "tt_flash" ]; 36 pythonRelaxDeps = [ "pyyaml" ]; 37 38 meta = { 39 description = "Tenstorrent Firmware Update Utility"; 40 homepage = "https://tenstorrent.com"; 41 maintainers = with lib.maintainers; [ RossComputerGuy ]; 42 license = with lib.licenses; [ asl20 ]; 43 }; 44}