8a45d4525b
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
24 lines
591 B
Nix
24 lines
591 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
buildGoModule rec {
|
|
pname = "mmctl";
|
|
version = "6.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mattermost";
|
|
repo = "mmctl";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-FlqkY4LvAW9Cibs+3UkMDWA+uc62wMh13BllWuxjVZU=";
|
|
};
|
|
|
|
vendorSha256 = null;
|
|
|
|
checkPhase = "make test";
|
|
|
|
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;
|
|
};
|
|
}
|