mtk-uartboot: init at 0.1.1 (#437650)

authored by Jared Baur and committed by GitHub 60b19423 a7d017e5

+28
+28
pkgs/by-name/mt/mtk-uartboot/package.nix
···
··· 1 + { 2 + fetchFromGitHub, 3 + lib, 4 + rustPlatform, 5 + }: 6 + 7 + rustPlatform.buildRustPackage (finalAttrs: { 8 + pname = "mtk-uartboot"; 9 + version = "0-unstable-2024-12-07"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "981213"; 13 + repo = "mtk_uartboot"; 14 + rev = "b0ec7bdf1bab7089df948e745e17d206f3426dc1"; 15 + hash = "sha256-wUF1e0TfP9khfC9WruJkIg4j4DClOJTTPRABIe4Ma4U="; 16 + }; 17 + 18 + cargoHash = "sha256-DtYCSPcyLDYeo9fIQpHGdm5r6ijRAzsDExWcDuSvh/o="; 19 + 20 + meta = { 21 + description = "Tool to load and execute binaries over UART for Mediatek SoCs"; 22 + homepage = "https://github.com/981213/mtk_uartboot"; 23 + license = lib.licenses.agpl3Only; 24 + mainProgram = "mtk_uartboot"; 25 + maintainers = [ lib.maintainers.jmbaur ]; 26 + platforms = lib.platforms.unix; 27 + }; 28 + })