mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-30 04:55:25 +03:00
saucectl: init at 0.183.0 (#336737)
This commit is contained in:
parent
9f0df979ff
commit
63669bdb75
1 changed files with 37 additions and 0 deletions
37
pkgs/by-name/sa/saucectl/package.nix
Normal file
37
pkgs/by-name/sa/saucectl/package.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
let
|
||||
pname = "saucectl";
|
||||
version = "0.183.0";
|
||||
in
|
||||
buildGoModule {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "saucelabs";
|
||||
repo = "saucectl";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-43X+GBm0pasSSwBB8Q2V8Vr2SjFInHaNMvUNVqD0/pI=";
|
||||
};
|
||||
|
||||
ldflags = [
|
||||
"-X github.com/saucelabs/saucectl/internal/version.Version=${version}"
|
||||
"-X github.com/saucelabs/saucectl/internal/version.GitCommit=${version}"
|
||||
];
|
||||
|
||||
vendorHash = "sha256-SQveLJzicQSCBwfV3eZyXkArO1wLly1cCvol9PbeEV0=";
|
||||
|
||||
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";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue