mmctl: 6.4.2 -> 7.0.0

This commit is contained in:
Ilan Joselevich 2022-06-21 03:10:26 +03:00
parent 21738df66b
commit ad439443f1

View File

@ -1,24 +1,33 @@
{ lib, fetchFromGitHub, buildGoModule }:
{ lib
, fetchFromGitHub
, buildGoModule
}:
buildGoModule rec {
pname = "mmctl";
version = "6.4.2";
version = "7.0.0";
src = fetchFromGitHub {
owner = "mattermost";
repo = "mmctl";
rev = "v${version}";
sha256 = "sha256-FlqkY4LvAW9Cibs+3UkMDWA+uc62wMh13BllWuxjVZU=";
sha256 = "sha256-X9IvuH3LrysqcL0JZIchE9n51w7eQTFE2NWUTXMnRYs=";
};
vendorSha256 = null;
checkPhase = "make test";
ldflags = [
"-s"
"-w"
"-X github.com/mattermost/mmctl/v6/commands.Version=${version}"
];
meta = with lib; {
description = "A remote CLI tool for Mattermost";
homepage = "https://github.com/mattermost/mmctl";
license = licenses.asl20;
maintainers = with maintainers; [ ppom ];
platforms = platforms.linux ++ platforms.darwin;
};
}