3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/mmctl/default.nix
2021-12-23 12:59:32 +01:00

25 lines
591 B
Nix

{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "mmctl";
version = "6.2.1";
src = fetchFromGitHub {
owner = "mattermost";
repo = "mmctl";
rev = "v${version}";
sha256 = "sha256-DhkBiczQ+4iwoufHMuy6Fn3a4q7gvkKGXTfLcUCCKis=";
};
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;
};
}