treewide: add update script
This commit is contained in:
parent
410bef4679
commit
36404f27d3
2 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
lib,
|
lib,
|
||||||
stdenvNoCC,
|
stdenvNoCC,
|
||||||
fetchurl,
|
fetchurl,
|
||||||
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
pname = "metacubexd";
|
pname = "metacubexd";
|
||||||
|
@ -21,6 +22,8 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
cp -r ./* $out
|
cp -r ./* $out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script {};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Clash.Meta Dashboard, The Official One, XD";
|
description = "Clash.Meta Dashboard, The Official One, XD";
|
||||||
homepage = "https://github.com/MetaCubeX/metacubexd";
|
homepage = "https://github.com/MetaCubeX/metacubexd";
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
lib,
|
lib,
|
||||||
stdenvNoCC,
|
stdenvNoCC,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
# TODO: use buildLua
|
# TODO: use buildLua
|
||||||
# error: evaluation aborted with the following error message: 'lib.customisation.callPackageWith: Function called without required argument "buildLua"
|
# error: evaluation aborted with the following error message: 'lib.customisation.callPackageWith: Function called without required argument "buildLua"
|
||||||
|
@ -29,6 +30,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.scriptName = "modernx.lua";
|
passthru.scriptName = "modernx.lua";
|
||||||
|
passthru.updateScript = nix-update-script {};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A modern OSC UI replacement for MPV that retains the functionality of the default OSC. (@zydezu's fork)";
|
description = "A modern OSC UI replacement for MPV that retains the functionality of the default OSC. (@zydezu's fork)";
|
||||||
|
|
Loading…
Reference in a new issue