mattermost: jump ESR versions 7.8.x → 8.1.3
package definition adjusted by comparing to the current version in Nixpkgs.
This commit is contained in:
parent
a4288d77ce
commit
e03bf84d3a
3 changed files with 22 additions and 18 deletions
14
flake.lock
14
flake.lock
|
@ -399,16 +399,16 @@
|
|||
"mattermost-server": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1696262281,
|
||||
"narHash": "sha256-VEEm4G0867NzavjdpCP5bDJEnp4NdnUPHCcAS0cox5Q=",
|
||||
"lastModified": 1696335118,
|
||||
"narHash": "sha256-Xcg24hnQqrq/hW+tlzpdNUmvrC/3zIXzyi2ZkU1a96U=",
|
||||
"owner": "mattermost",
|
||||
"repo": "mattermost-server",
|
||||
"rev": "b69ff7d1038609a4a29a7db104679d21da10ad09",
|
||||
"rev": "4fe1024a51f22f239c19c33838dbdcf7589b7b94",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "mattermost",
|
||||
"ref": "v7.8.12",
|
||||
"ref": "v8.1.3",
|
||||
"repo": "mattermost-server",
|
||||
"type": "github"
|
||||
}
|
||||
|
@ -416,13 +416,13 @@
|
|||
"mattermost-webapp": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"narHash": "sha256-66kCatGNaRi0HrPHteDdu8+hQp4BLql75+f6jqO6MBg=",
|
||||
"narHash": "sha256-OZQ5owWT6lBqloSFs7fViAim7zTHd8YVcXmQJadg4wU=",
|
||||
"type": "tarball",
|
||||
"url": "https://releases.mattermost.com/7.8.12/mattermost-7.8.12-linux-amd64.tar.gz"
|
||||
"url": "https://releases.mattermost.com/8.1.3/mattermost-8.1.3-linux-amd64.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
"url": "https://releases.mattermost.com/7.8.12/mattermost-7.8.12-linux-amd64.tar.gz"
|
||||
"url": "https://releases.mattermost.com/8.1.3/mattermost-8.1.3-linux-amd64.tar.gz"
|
||||
}
|
||||
},
|
||||
"nix-doom-emacs": {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
description = "hacc infra stuff";
|
||||
|
||||
inputs = {
|
||||
mattermost-webapp.url = "https://releases.mattermost.com/7.8.12/mattermost-7.8.12-linux-amd64.tar.gz";
|
||||
mattermost-webapp.url = "https://releases.mattermost.com/8.1.3/mattermost-8.1.3-linux-amd64.tar.gz";
|
||||
mattermost-webapp.flake = false;
|
||||
mattermost-server.url = "github:mattermost/mattermost-server?ref=v7.8.12";
|
||||
mattermost-server.url = "github:mattermost/mattermost-server?ref=v8.1.3";
|
||||
mattermost-server.flake = false;
|
||||
|
||||
nixpkgs.url = "nixpkgs/nixos-23.05";
|
||||
|
|
|
@ -1,24 +1,28 @@
|
|||
{ stdenv, fetchurl, fetchFromGitHub, buildGo118Module, buildEnv, lib, sources }:
|
||||
{ stdenv, fetchurl, fetchFromGitHub, buildGoModule, buildEnv, lib, sources }:
|
||||
|
||||
let
|
||||
version = "7.8.12";
|
||||
version = "8.1.3";
|
||||
|
||||
mattermost-server = buildGo118Module rec {
|
||||
mattermost-server = buildGoModule rec {
|
||||
pname = "mattermost-server";
|
||||
inherit version;
|
||||
|
||||
src = sources.mattermost-server.outPath;
|
||||
src = "${sources.mattermost-server}/server";
|
||||
|
||||
vendorSha256 = "sha256-VvGLYOESyoBpFmIibHWxazliHcscMxf3KcQ46NQ4syk=";
|
||||
vendorSha256 = "sha256-uHKd8shLDVd+zjRhEJcxAn+H9e9jqEM8XXqYx7B4hiQ=";
|
||||
|
||||
subPackages = [ "cmd/mattermost" ];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/mattermost/mattermost-server/model.BuildNumber=nixpkgs-${version}"
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/mattermost/mattermost/server/public/model.Version=${version}"
|
||||
"-X github.com/mattermost/mattermost/server/public/model.BuildNumber=${version}-haccfiles"
|
||||
"-X github.com/mattermost/mattermost/server/public/model.BuildDate=1970-01-01"
|
||||
"-X github.com/mattermost/mattermost/server/public/model.BuildHash=v${version}"
|
||||
"-X github.com/mattermost/mattermost/server/public/model.BuildHashEnterprise=v${version}"
|
||||
"-X github.com/mattermost/mattermost/server/public/model.BuildEnterpriseReady=false"
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
mattermost-webapp = stdenv.mkDerivation {
|
||||
|
|
Loading…
Reference in a new issue