menulibre: add passthru.updateScript

This commit is contained in:
lelgenio 2024-02-27 20:38:34 -03:00
parent f35896eab2
commit 61a0b56da9

View File

@ -6,6 +6,7 @@
, intltool
, gobject-introspection
, wrapGAppsHook
, nix-update-script
, testers
, menulibre
}:
@ -45,9 +46,12 @@ python3Packages.buildPythonApplication rec {
export HOME=$TMPDIR
'';
passthru.tests.version = testers.testVersion {
package = menulibre;
command = "HOME=$TMPDIR menulibre --version | cut -d' ' -f2";
passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion {
package = menulibre;
command = "HOME=$TMPDIR menulibre --version | cut -d' ' -f2";
};
};
meta = with lib; {