nixpkgs/pkgs/tools/misc/mmctl/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
591 B
Nix
Raw Normal View History

2021-12-22 14:12:27 +03:00
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "mmctl";
2022-02-12 14:26:34 +03:00
version = "6.3.3";
2021-12-22 14:12:27 +03:00
src = fetchFromGitHub {
owner = "mattermost";
repo = "mmctl";
rev = "v${version}";
2022-02-12 14:26:34 +03:00
sha256 = "sha256-V2p6diXymu37aJdHs0ZQJ7ak4LWe55KYCq15JRzMF48=";
2021-12-22 14:12:27 +03:00
};
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;
};
}