Skip to content

Commit 1cc9c54

Browse files
committed
matomo: add updateScript
1 parent 252c053 commit 1cc9c54

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkgs/by-name/ma/matomo/package.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
makeWrapper,
66
php,
77
nixosTests,
8+
nix-update-script,
89
}:
910

1011
stdenv.mkDerivation (finalAttrs: {
@@ -90,6 +91,12 @@ stdenv.mkDerivation (finalAttrs: {
9091
'';
9192

9293
passthru = {
94+
updateScript = nix-update-script {
95+
extraArgs = [
96+
"--url"
97+
"https://github.com/matomo-org/matomo"
98+
];
99+
};
93100
tests = lib.optionalAttrs stdenv.hostPlatform.isLinux {
94101
inherit (nixosTests) matomo;
95102
};
@@ -100,6 +107,7 @@ stdenv.mkDerivation (finalAttrs: {
100107
mainProgram = "matomo-console";
101108
license = licenses.gpl3Plus;
102109
homepage = "https://matomo.org/";
110+
changelog = "https://github.com/matomo-org/matomo/releases/tag/${finalAttrs.version}";
103111
platforms = platforms.all;
104112
maintainers =
105113
with maintainers;

0 commit comments

Comments
 (0)