nixpkgs/pkgs/tools/admin/scaleway-cli/default.nix
2021-01-25 18:31:47 +01:00

23 lines
576 B
Nix

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