1{ stdenv, fetchFromGitHub, buildGoPackage }:
2
3buildGoPackage rec{
4 name = "scaleway-cli-${version}";
5 version = "1.14";
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 = "09rqw82clfdiixa9m3hphxh5v7w1gks3wicz1dvpay2sx28bpddr";
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}