mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 19:34:06 +00:00
mmctl: 6.4.2 -> 7.0.0
This commit is contained in:
parent
21738df66b
commit
ad439443f1
@ -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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user