2017-08-22 15:14:37 +02:00
|
|
|
{ stdenv, fetchFromGitHub, buildGoPackage }:
|
|
|
|
|
2020-06-08 09:37:17 +02:00
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "scaleway-cli";
|
2020-04-29 02:16:20 +02:00
|
|
|
version = "1.20";
|
2017-08-22 15:14:37 +02:00
|
|
|
|
|
|
|
goPackagePath = "github.com/scaleway/scaleway-cli";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "scaleway";
|
|
|
|
repo = "scaleway-cli";
|
|
|
|
rev = "v${version}";
|
2020-04-29 02:16:20 +02:00
|
|
|
sha256 = "14likzp3hl04nq9nmpmh9m5zqjyspy5cyk20dkh03c1nhkd4vcnx";
|
2017-08-22 15:14:37 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Interact with Scaleway API from the command line";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/scaleway/scaleway-cli";
|
2017-08-22 15:14:37 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ nickhu ];
|
|
|
|
};
|
|
|
|
}
|