bb584b27e9
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
25 lines
692 B
Nix
25 lines
692 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "scaleway-cli";
|
|
version = "2.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "scaleway";
|
|
repo = "scaleway-cli";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-a8imZN3APQEb9ntQOzOKGBEiPKmb5ZYC9ZKnOuLiElc=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-aaYS0WqNa8997kdV38blUsYovtUHHtEUXCTG9vwv2ko=";
|
|
|
|
# some tests require network access to scaleway's API, failing when sandboxed
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Interact with Scaleway API from the command line";
|
|
homepage = "https://github.com/scaleway/scaleway-cli";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ nickhu ];
|
|
};
|
|
}
|