Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
973 B
Nix
Raw Normal View History

2024-10-09 13:33:25 +02:00
{
lib,
buildGoModule,
fetchFromGitHub,
}:
let
pname = "saucectl";
2025-05-24 22:50:33 +00:00
version = "0.195.2";
2024-10-09 13:33:25 +02:00
in
buildGoModule {
inherit pname version;
src = fetchFromGitHub {
owner = "saucelabs";
repo = "saucectl";
tag = "v${version}";
2025-05-24 22:50:33 +00:00
hash = "sha256-qBP2FXvx6E8f8/wwN+kVuN2f4QBfoG7ORGqmxlNYYtI=";
2024-10-09 13:33:25 +02:00
};
ldflags = [
"-X github.com/saucelabs/saucectl/internal/version.Version=${version}"
"-X github.com/saucelabs/saucectl/internal/version.GitCommit=${version}"
];
2025-05-04 00:49:47 +00:00
vendorHash = "sha256-zRmTAb4Y86bQHW8oEf3oJqYQv81k1PkvjWnGAy2ZOLM=";
2024-10-09 13:33:25 +02:00
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";
};
}