dendrite: add updateScript
This commit is contained in:
parent
9f039b93af
commit
c544d29ddb
1 changed files with 4 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue