vuls: init at 0.27.0 (#348530)
[NixPkgs.git] / pkgs / by-name / ar / ardugotools / package.nix
blob16191343ab6407a28061d89affad3f057244ea1c
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5   ...
6 }:
7 let
8   version = "0.6.1";
9 in
10 buildGoModule {
11   pname = "ardugotools";
12   inherit version;
14   src = fetchFromGitHub {
15     owner = "randomouscrap98";
16     repo = "ardugotools";
17     rev = "v${version}";
18     hash = "sha256-SqeUcYa8XscwaJaCSIoZ9lEtRJ0hN01XJDyCJFX2dTc=";
19   };
21   vendorHash = "sha256-Z9ObsS+GwVsz6ZlXCgN0WlShHzbmx4WLa/1/XLSSAAs=";
23   checkFlags =
24     let
25       # Skip tests referencing a non-existing file
26       skippedTests = [
27         "TestRunLuaFlashcartGenerator_CategoriesOnly"
28         "TestRunLuaFlashcartGenerator_FullCart"
29         "TestRunLuaFlashcartGenerator_MakeCart"
30       ];
31     in
32     [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
34   meta = {
35     description = "CLI toolset for Arduboy";
36     changelog = "https://github.com/randomouscrap98/ardugotools/releases/tag/v${version}";
37     homepage = "https://github.com/randomouscrap98/ardugotools";
38     license = lib.licenses.mit;
39     maintainers = with lib.maintainers; [ luftmensch-luftmensch ];
40     mainProgram = "ardugotools";
41   };