mattermost: init at 3.3.0
This commit is contained in:
parent
b5194d7b9a
commit
34bb3a193f
29
pkgs/servers/mattermost/default.nix
Normal file
29
pkgs/servers/mattermost/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "mattermost-${version}";
|
||||||
|
version = "3.3.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://releases.mattermost.com/${version}/mattermost-team-${version}-linux-amd64.tar.gz";
|
||||||
|
sha256 = "16mp75hv4lzkj99lj18c5vyqsmk9kqk5r81hirq41fgb6bdqx509";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out
|
||||||
|
mv * $out/
|
||||||
|
ln -s ./platform $out/bin/mattermost-platform
|
||||||
|
'';
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $out/bin/platform
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Open-Source, self-hosted Slack-alternative";
|
||||||
|
homepage = "https://www.mattermost.org";
|
||||||
|
license = with licenses; [ agpl3 asl20 ];
|
||||||
|
maintainers = with maintainers; [ fpletz ];
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
@ -10297,6 +10297,8 @@ in
|
|||||||
|
|
||||||
mailman = callPackage ../servers/mail/mailman { };
|
mailman = callPackage ../servers/mail/mailman { };
|
||||||
|
|
||||||
|
mattermost = callPackage ../servers/mattermost { };
|
||||||
|
|
||||||
mediatomb = callPackage ../servers/mediatomb {
|
mediatomb = callPackage ../servers/mediatomb {
|
||||||
spidermonkey = spidermonkey_185;
|
spidermonkey = spidermonkey_185;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user