nixpkgs-suyu/pkgs/tools/admin/scaleway-cli/default.nix

26 lines
678 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildGoModule }:
2017-08-22 15:14:37 +02:00
buildGoModule rec {
pname = "scaleway-cli";
version = "2.4.0";
2017-08-22 15:14:37 +02:00
src = fetchFromGitHub {
owner = "scaleway";
repo = "scaleway-cli";
rev = "v${version}";
sha256 = "yYzcziEKPSiMvw9LWd60MkHmYFAvN7Qza6Z117NOOv0=";
2017-08-22 15:14:37 +02:00
};
vendorSha256 = "0V9sHi/E095txnfF8YFW5O7o0e1H3sdn3tw5LqB92tI=";
# some tests require network access to scaleway's API, failing when sandboxed
doCheck = false;
meta = with lib; {
2017-08-22 15:14:37 +02:00
description = "Interact with Scaleway API from the command line";
homepage = "https://github.com/scaleway/scaleway-cli";
2017-08-22 15:14:37 +02:00
license = licenses.mit;
maintainers = with maintainers; [ nickhu ];
};
}