cinnamon.warpinator: fix updateScript

This commit is contained in:
Bobby Rong 2022-09-10 19:51:44 +08:00
parent c7e6458550
commit 56067eed75
No known key found for this signature in database

View File

@ -10,6 +10,7 @@
, gettext , gettext
, polkit , polkit
, glib , glib
, gitUpdater
}: }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
@ -72,6 +73,12 @@ python3.pkgs.buildPythonApplication rec {
chmod -x+X $out/libexec/warpinator/*.py chmod -x+X $out/libexec/warpinator/*.py
''; '';
passthru.updateScript = gitUpdater {
inherit pname version;
attrPath = "cinnamon.warpinator";
ignoredVersions = "^master.*";
};
meta = with lib; { meta = with lib; {
homepage = "https://github.com/linuxmint/warpinator"; homepage = "https://github.com/linuxmint/warpinator";
description = "Share files across the LAN"; description = "Share files across the LAN";