43 lines
1.1 KiB
Nix
Raw Permalink Normal View History

2024-06-19 11:06:08 +02:00
{
lib,
buildGoModule,
fetchFromGitHub,
...
}:
let
2025-05-29 01:53:06 +00:00
version = "0.6.2";
2024-06-19 11:06:08 +02:00
in
buildGoModule {
pname = "ardugotools";
inherit version;
src = fetchFromGitHub {
owner = "randomouscrap98";
repo = "ardugotools";
rev = "v${version}";
2025-05-29 01:53:06 +00:00
hash = "sha256-kqFXJIHyPvm3Fq/qsojdltS99Wb4Qc/wPc6tw4n9pKs=";
2024-06-19 11:06:08 +02:00
};
2025-05-29 01:53:06 +00:00
vendorHash = "sha256-sC47I3dKmQrF1ux+yYRyl6xB+cU1Yve/K+9wh3HQyik=";
2024-06-19 11:06:08 +02:00
2024-08-08 11:24:33 +02:00
checkFlags =
let
# Skip tests referencing a non-existing file
skippedTests = [
"TestRunLuaFlashcartGenerator_CategoriesOnly"
"TestRunLuaFlashcartGenerator_FullCart"
"TestRunLuaFlashcartGenerator_MakeCart"
];
in
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
2024-06-19 11:06:08 +02:00
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";
};
}