mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
menulibre: add passthru.updateScript
This commit is contained in:
parent
f35896eab2
commit
61a0b56da9
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user