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
42 lines
1.0 KiB
Nix
42 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
let
|
|
version = "0.6.2";
|
|
in
|
|
buildGoModule {
|
|
pname = "ardugotools";
|
|
inherit version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "randomouscrap98";
|
|
repo = "ardugotools";
|
|
rev = "v${version}";
|
|
hash = "sha256-kqFXJIHyPvm3Fq/qsojdltS99Wb4Qc/wPc6tw4n9pKs=";
|
|
};
|
|
|
|
vendorHash = "sha256-sC47I3dKmQrF1ux+yYRyl6xB+cU1Yve/K+9wh3HQyik=";
|
|
|
|
checkFlags =
|
|
let
|
|
# Skip tests referencing a non-existing file
|
|
skippedTests = [
|
|
"TestRunLuaFlashcartGenerator_CategoriesOnly"
|
|
"TestRunLuaFlashcartGenerator_FullCart"
|
|
"TestRunLuaFlashcartGenerator_MakeCart"
|
|
];
|
|
in
|
|
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
|
|
|
|
meta = {
|
|
description = "CLI toolset for Arduboy";
|
|
changelog = "https://github.com/randomouscrap98/ardugotools/releases/tag/v${version}";
|
|
homepage = "https://github.com/randomouscrap98/ardugotools";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ luftmensch-luftmensch ];
|
|
mainProgram = "ardugotools";
|
|
};
|
|
}
|