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