nix/pkgs: init mattermost-enterprise

This commit is contained in:
Luke Granger-Brown 2025-03-24 22:37:47 +00:00
parent 5aad30f248
commit 1779af0444
3 changed files with 23 additions and 1 deletions
ci-root.nix
nix/pkgs
default.nix
mattermost-enterprise

View file

@ -41,7 +41,7 @@ let
rust = depot.rust;
};
aarch64-linux = builtins.removeAttrs x86_64-linux [ "home-manager" "pkg-authentik" "web-barf" ] // {
pkgs = builtins.removeAttrs x86_64-linux.pkgs [ "lutris" "plex-pass" "sheepshaver" "fr24feed" "javaws-env" "world-of-goo2" ];
pkgs = builtins.removeAttrs x86_64-linux.pkgs [ "lutris" "plex-pass" "sheepshaver" "fr24feed" "javaws-env" "world-of-goo2" "mattermost-enterprise" ];
};
x86_64-darwin = {
machine = depot.ops.nix-darwin.systems;

View file

@ -88,4 +88,5 @@
seaweedfs = pkgs.callPackage ./seaweedfs { };
bsky-pds = pkgs.callPackage ./bsky-pds { };
mattermost-enterprise = pkgs.callPackage ./mattermost-enterprise { };
} // (import ./heptapod-runner args)

View file

@ -0,0 +1,21 @@
{
stdenvNoCC,
lib,
fetchurl,
}:
stdenvNoCC.mkDerivation rec {
pname = "mattermost-enterprise";
version = "10.7.0-rc1";
src = fetchurl {
url = "https://releases.mattermost.com/${version}/mattermost-${version}-linux-amd64.tar.gz";
hash = "sha256-njuCpXJzoRS/YdhavwWY+X6FXev6QPmndnGpQbmOT3M=";
};
installPhase = ''
cp -rv . $out
'';
meta.mainProgram = "mattermost";
}