1{ stdenv, fetchFromGitHub, buildGoPackage }:
2
3buildGoPackage rec{
4 name = "scaleway-cli-${version}";
5 version = "1.17";
6
7 goPackagePath = "github.com/scaleway/scaleway-cli";
8
9 src = fetchFromGitHub {
10 owner = "scaleway";
11 repo = "scaleway-cli";
12 rev = "v${version}";
13 sha256 = "0v50wk6q8537880whi6w83dia9y934v0s2xr1z52cn3mrsjghsnd";
14 };
15
16 meta = with stdenv.lib; {
17 description = "Interact with Scaleway API from the command line";
18 homepage = https://github.com/scaleway/scaleway-cli;
19 license = licenses.mit;
20 maintainers = with maintainers; [ nickhu ];
21 platforms = platforms.all;
22 };
23}