mastodon: 4.3.1 -> 4.3.2 (#361487)
[NixPkgs.git] / pkgs / by-name / ab / abctl / package.nix
blob92a8b72eb0e5793184581a6c0aa3eb358461066d
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5   stdenv,
6   nix-update-script,
7 }:
9 buildGoModule rec {
10   pname = "abctl";
11   version = "0.22.0";
13   src = fetchFromGitHub {
14     owner = "airbytehq";
15     repo = "abctl";
16     rev = "refs/tags/v${version}";
17     hash = "sha256-GWtEwRXMaZNjbxZ8WGsJBwWJ2qzIY7YOk2KKUOtSEq0=";
18   };
20   checkFlags =
21     let
22       skippedTests = [
23         # network access
24         "TestManifestCmd"
25         "TestManifestCmd_Enterprise"
26         "TestManifestCmd_Nightly"
27         # docker
28         "TestValues_BadYaml"
29         "TestInvalidHostFlag_IpAddr"
30         "TestInvalidHostFlag_IpAddrWithPort"
31         "TestNewWithOptions_InitErr"
32       ];
33     in
34     [ "-skip=^${lib.concatStringsSep "$|^" skippedTests}$" ];
36   vendorHash = "sha256-pGNKrWgBjMeSUDE7hiJI0h1zytF+v7yuftKFxONsOHQ=";
38   passthru.updateScript = nix-update-script { };
40   meta = {
41     description = "Airbyte's CLI for managing local Airbyte installations";
42     homepage = "https://airbyte.com/";
43     changelog = "https://github.com/airbytehq/abctl/releases/tag/v${version}";
44     license = lib.licenses.mit;
45     maintainers = with lib.maintainers; [ xelden ];
46     mainProgram = "abctl";
47     broken = stdenv.hostPlatform.isDarwin;
48   };