mautrix-slack: 0.2.3 -> 25.10
This commit is contained in:
@@ -12,21 +12,19 @@
|
|||||||
# any issues they run into.
|
# any issues they run into.
|
||||||
withGoolm ? false,
|
withGoolm ? false,
|
||||||
}:
|
}:
|
||||||
let
|
buildGoModule rec {
|
||||||
version = "0.2.3";
|
|
||||||
in
|
|
||||||
buildGoModule {
|
|
||||||
pname = "mautrix-slack";
|
pname = "mautrix-slack";
|
||||||
inherit version;
|
version = "25.10";
|
||||||
|
tag = "v0.2510.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mautrix";
|
owner = "mautrix";
|
||||||
repo = "slack";
|
repo = "slack";
|
||||||
tag = "v${version}";
|
tag = tag;
|
||||||
hash = "sha256-gR5D2uCNS+LiP0KXup/iIiOThWohzeBe4CD/oWak1BM=";
|
hash = "sha256-PeSE7WKFSSxZyyG9TJmYeCzHY3bPvkHZ5l+mLzr8tS8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-aukL6RThtWcznz/x25btTTvloYkRZ/vhAQj1hOdI1U4=";
|
vendorHash = "sha256-9MsHRU2EqMTWEMVraJ/6/084X5yx3zzSdxP8zSYFJ1E=";
|
||||||
|
|
||||||
buildInputs = lib.optional (!withGoolm) olm;
|
buildInputs = lib.optional (!withGoolm) olm;
|
||||||
tags = lib.optional withGoolm "goolm";
|
tags = lib.optional withGoolm "goolm";
|
||||||
@@ -35,6 +33,13 @@ buildGoModule {
|
|||||||
versionCheckProgramArg = "--version";
|
versionCheckProgramArg = "--version";
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
|
|
||||||
|
ldflags = [
|
||||||
|
"-s"
|
||||||
|
"-w"
|
||||||
|
"-X"
|
||||||
|
"main.Tag=${tag}"
|
||||||
|
];
|
||||||
|
|
||||||
passthru.updateScript = nix-update-script { };
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|||||||
Reference in New Issue
Block a user