From 5cd968edbe3fe3c52b5083a6bd97a928ce4ccfb4 Mon Sep 17 00:00:00 2001 From: ppom Date: Wed, 22 Dec 2021 12:12:27 +0100 Subject: [PATCH] mmctl: init at 6.2.1 --- maintainers/maintainer-list.nix | 6 ++++++ pkgs/tools/misc/mmctl/default.nix | 24 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 32 insertions(+) create mode 100644 pkgs/tools/misc/mmctl/default.nix diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 7dab3223c3cc..ac1983a5cdc9 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -9423,6 +9423,12 @@ fingerprint = "48AD DE10 F27B AFB4 7BB0 CCAF 2D25 95A0 0D08 ACE0"; }]; }; + ppom = { + name = "Paco Pompeani"; + email = "paco@ecomail.io"; + github = "aopom"; + githubId = 38916722; + }; pradeepchhetri = { email = "pradeep.chhetri89@gmail.com"; github = "pradeepchhetri"; diff --git a/pkgs/tools/misc/mmctl/default.nix b/pkgs/tools/misc/mmctl/default.nix new file mode 100644 index 000000000000..50648716e1c3 --- /dev/null +++ b/pkgs/tools/misc/mmctl/default.nix @@ -0,0 +1,24 @@ +{ 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 35df2181c851..cf7df0a4300a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3411,6 +3411,8 @@ with pkgs; mlarchive2maildir = callPackage ../applications/networking/mailreaders/mlarchive2maildir { }; + mmctl = callPackage ../tools/misc/mmctl { }; + molly-brown = callPackage ../servers/gemini/molly-brown { }; monetdb = callPackage ../servers/sql/monetdb { };