about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/admin/scaleway-cli/default.nix
blob: b246c7712ec9b0a57b89e967c811d5e6ca9ddbf9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchFromGitHub, buildGoPackage }:

buildGoPackage rec{
  name = "scaleway-cli-${version}";
  version = "1.17";

  goPackagePath = "github.com/scaleway/scaleway-cli";

  src = fetchFromGitHub {
    owner = "scaleway";
    repo = "scaleway-cli";
    rev = "v${version}";
    sha256 = "0v50wk6q8537880whi6w83dia9y934v0s2xr1z52cn3mrsjghsnd";
  };

  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;
  };
}