Skip to content

Commit 3fb9151

Browse files
committed
clickable: Add updateScript & more precise changelog link
1 parent 25df994 commit 3fb9151

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pkgs/by-name/cl/clickable/package.nix

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
lib,
33
fetchFromGitLab,
4+
gitUpdater,
45
python3Packages,
56
stdenv,
67
}:
@@ -70,11 +71,15 @@ python3Packages.buildPythonApplication rec {
7071
"test_restricted_arch"
7172
];
7273

74+
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
75+
7376
meta = {
7477
description = "Build system for Ubuntu Touch apps";
7578
mainProgram = "clickable";
7679
homepage = "https://clickable-ut.dev";
77-
changelog = "https://clickable-ut.dev/en/latest/changelog.html";
80+
changelog = "https://clickable-ut.dev/en/latest/changelog.html#changes-in-v${
81+
lib.strings.replaceStrings [ "." ] [ "-" ] version
82+
}";
7883
license = lib.licenses.gpl3Only;
7984
maintainers = lib.teams.lomiri.members ++ (with lib.maintainers; [ ilyakooo0 ]);
8085
};

0 commit comments

Comments
 (0)