nixpkgs-suyu/pkgs/tools/admin/scaleway-cli/default.nix

23 lines
586 B
Nix
Raw Normal View History

2017-08-22 15:14:37 +02:00
{ stdenv, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
pname = "scaleway-cli";
version = "1.20";
2017-08-22 15:14:37 +02:00
goPackagePath = "github.com/scaleway/scaleway-cli";
src = fetchFromGitHub {
owner = "scaleway";
repo = "scaleway-cli";
rev = "v${version}";
sha256 = "14likzp3hl04nq9nmpmh9m5zqjyspy5cyk20dkh03c1nhkd4vcnx";
2017-08-22 15:14:37 +02:00
};
meta = with stdenv.lib; {
description = "Interact with Scaleway API from the command line";
homepage = "https://github.com/scaleway/scaleway-cli";
2017-08-22 15:14:37 +02:00
license = licenses.mit;
maintainers = with maintainers; [ nickhu ];
};
}