2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildGoPackage }:
|
|
|
|
|
|
|
|
buildGoPackage rec{
|
|
|
|
pname = "scaleway-cli";
|
2020-05-03 17:38:23 +00:00
|
|
|
version = "1.20";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/scaleway/scaleway-cli";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "scaleway";
|
|
|
|
repo = "scaleway-cli";
|
|
|
|
rev = "v${version}";
|
2020-05-03 17:38:23 +00:00
|
|
|
sha256 = "14likzp3hl04nq9nmpmh9m5zqjyspy5cyk20dkh03c1nhkd4vcnx";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Interact with Scaleway API from the command line";
|
|
|
|
homepage = "https://github.com/scaleway/scaleway-cli";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ nickhu ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|