mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
26 lines
678 B
Nix
26 lines
678 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "scaleway-cli";
|
|
version = "2.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "scaleway";
|
|
repo = "scaleway-cli";
|
|
rev = "v${version}";
|
|
sha256 = "yYzcziEKPSiMvw9LWd60MkHmYFAvN7Qza6Z117NOOv0=";
|
|
};
|
|
|
|
vendorSha256 = "7cGVeja1YE96PEV1IRklyh6MeMDFAP+2TpYvvFkBYnQ=";
|
|
|
|
# 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 ];
|
|
};
|
|
}
|