mattermost: update to 7.1.4

This commit is contained in:
stuebinm 2022-11-26 16:02:57 +01:00 committed by moira
parent 0f4957d860
commit b15f303107
Signed by: moira
GPG key ID: AF92FDD91CB44B2F
3 changed files with 18 additions and 14 deletions

View file

@ -348,16 +348,16 @@
"mattermost-server": { "mattermost-server": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1655204693, "lastModified": 1665501838,
"narHash": "sha256-cI7QSB/95TVFMpu4l75EQGVZhZj48sCZaMpiT5jFv8w=", "narHash": "sha256-7BKpxb8ELV430vm/h7YzB2D5n1qqm6/LGfhJ3zIguVc=",
"owner": "mattermost", "owner": "mattermost",
"repo": "mattermost-server", "repo": "mattermost-server",
"rev": "d565c9595e08fe87d520f4ab2fa55e8f5a065f9c", "rev": "3341b6c2baaa1dc0981f2b27e4027522066be28c",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "mattermost", "owner": "mattermost",
"ref": "v6.7.2", "ref": "v7.1.4",
"repo": "mattermost-server", "repo": "mattermost-server",
"type": "github" "type": "github"
} }
@ -365,13 +365,13 @@
"mattermost-webapp": { "mattermost-webapp": {
"flake": false, "flake": false,
"locked": { "locked": {
"narHash": "sha256-HaKkQxGd+YPdzgbvqSUYpA98S43A2yjU90hgMOl0kl8=", "narHash": "sha256-l/it3kxwv4EStNEWegXV/5a+CMdYxVU7iTh1rlji1Ws=",
"type": "tarball", "type": "tarball",
"url": "https://releases.mattermost.com/6.7.2/mattermost-6.7.2-linux-amd64.tar.gz" "url": "https://releases.mattermost.com/7.1.4/mattermost-7.1.4-linux-amd64.tar.gz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
"url": "https://releases.mattermost.com/6.7.2/mattermost-6.7.2-linux-amd64.tar.gz" "url": "https://releases.mattermost.com/7.1.4/mattermost-7.1.4-linux-amd64.tar.gz"
} }
}, },
"nix-doom-emacs": { "nix-doom-emacs": {

View file

@ -2,9 +2,9 @@
description = "hacc infra stuff"; description = "hacc infra stuff";
inputs = { inputs = {
mattermost-webapp.url = "https://releases.mattermost.com/6.7.2/mattermost-6.7.2-linux-amd64.tar.gz"; mattermost-webapp.url = "https://releases.mattermost.com/7.1.4/mattermost-7.1.4-linux-amd64.tar.gz";
mattermost-webapp.flake = false; mattermost-webapp.flake = false;
mattermost-server.url = "github:mattermost/mattermost-server?ref=v6.7.2"; mattermost-server.url = "github:mattermost/mattermost-server?ref=v7.1.4";
mattermost-server.flake = false; mattermost-server.flake = false;
nixpkgs.url = "nixpkgs/nixos-22.05"; nixpkgs.url = "nixpkgs/nixos-22.05";

View file

@ -1,18 +1,22 @@
{ stdenv, fetchurl, fetchFromGitHub, buildGoPackage, buildEnv, lib, sources }: { stdenv, fetchurl, fetchFromGitHub, buildGo118Module, buildEnv, lib, sources }:
let let
version = "6.7.2"; version = "7.1.4";
mattermost-server = buildGoPackage rec { mattermost-server = buildGo118Module rec {
pname = "mattermost-server"; pname = "mattermost-server";
inherit version; inherit version;
src = sources.mattermost-server.outPath; src = sources.mattermost-server.outPath;
goPackagePath = "github.com/mattermost/mattermost-server"; vendorSha256 = "sha256-98riYN6MaBsKyaueogjXI7x3Lcionk0xcGt4DH684QU=";
subPackages = [ "cmd/mattermost" ];
ldflags = [ ldflags = [
"-X ${goPackagePath}/model.BuildNumber=nixpkgs-${version}" "-s"
"-w"
"-X github.com/mattermost/mattermost-server/model.BuildNumber=nixpkgs-${version}"
]; ];
}; };