dendrite: add updateScript

This commit is contained in:
Jörg Thalheim 2023-08-11 10:26:37 +02:00 committed by Jörg Thalheim
parent 9f039b93af
commit c544d29ddb

View file

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, fetchpatch
{ lib, buildGoModule, fetchFromGitHub, fetchpatch, nix-update-script
, nixosTests, postgresql, postgresqlTestHook }:
buildGoModule rec {
@ -55,6 +55,9 @@ buildGoModule rec {
passthru.tests = {
inherit (nixosTests) dendrite;
};
passthru.updateScript = nix-update-script {
extraArgs = [ "--version-regex" "v(.+)" ];
};
meta = with lib; {
homepage = "https://matrix-org.github.io/dendrite";