blob: a9a6a573f46c145bcd68904c8df19fe856b25d44 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
buildGoModule,
fetchFromGitHub,
}:
let
pname = "saucectl";
version = "0.194.1";
in
buildGoModule {
inherit pname version;
src = fetchFromGitHub {
owner = "saucelabs";
repo = "saucectl";
tag = "v${version}";
hash = "sha256-WsaM1FgbUVcd+6p+OdmIHNs2BVG8lEGgDqY2z9Du7Rg=";
};
ldflags = [
"-X github.com/saucelabs/saucectl/internal/version.Version=${version}"
"-X github.com/saucelabs/saucectl/internal/version.GitCommit=${version}"
];
vendorHash = "sha256-N8e8k8vAyVY57iqHU6P88hn9NS3Mdfbgx5P8/wDcmMY=";
checkFlags = [ "-skip=^TestNewRequestWithContext$" ];
meta = {
description = "Command line interface for the Sauce Labs platform";
changelog = "https://github.com/saucelabs/saucectl/releases/tag/v${version}";
homepage = "https://github.com/saucelabs/saucectl";
license = lib.licenses.apsl20;
maintainers = with lib.maintainers; [ luftmensch-luftmensch ];
mainProgram = "saucectl";
};
}
|