Files
nixpkgs/pkgs/by-name/mt/mtk-uartboot/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

29 lines
741 B
Nix

{
fetchFromGitHub,
lib,
rustPlatform,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "mtk-uartboot";
version = "0-unstable-2024-12-07";
src = fetchFromGitHub {
owner = "981213";
repo = "mtk_uartboot";
rev = "b0ec7bdf1bab7089df948e745e17d206f3426dc1";
hash = "sha256-wUF1e0TfP9khfC9WruJkIg4j4DClOJTTPRABIe4Ma4U=";
};
cargoHash = "sha256-DtYCSPcyLDYeo9fIQpHGdm5r6ijRAzsDExWcDuSvh/o=";
meta = {
description = "Tool to load and execute binaries over UART for Mediatek SoCs";
homepage = "https://github.com/981213/mtk_uartboot";
license = lib.licenses.agpl3Only;
mainProgram = "mtk_uartboot";
maintainers = [ lib.maintainers.jmbaur ];
platforms = lib.platforms.unix;
};
})