feat(jmusicbot): add to update script and update pkg
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
65caf9a537
commit
d89900c4be
3 changed files with 9 additions and 4 deletions
|
@ -10,7 +10,7 @@
|
||||||
}:
|
}:
|
||||||
buildApp {
|
buildApp {
|
||||||
src = ./.;
|
src = ./.;
|
||||||
npmDepsHash = "sha256-0HeZRaFdEEsxWjzTbRCrKEJ61pfTGWtymLQoj31WeEc=";
|
npmDepsHash = "sha256-YYhg8FQF92JNyIJuZmkF9Ehhc0zTrwg9CppddpcLRfA=";
|
||||||
|
|
||||||
runtimeInputs = [
|
runtimeInputs = [
|
||||||
findutils
|
findutils
|
||||||
|
|
|
@ -53,6 +53,10 @@ const main = async() => {
|
||||||
console.log(updateFlakeInputs());
|
console.log(updateFlakeInputs());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (args['j'] || args['jmusicbot']) {
|
||||||
|
console.log(runNixUpdate('jmusicbot'));
|
||||||
|
}
|
||||||
|
|
||||||
if (args['m'] || args['material-rounded-theme']) {
|
if (args['m'] || args['material-rounded-theme']) {
|
||||||
console.log(updateCustomPackage(
|
console.log(updateCustomPackage(
|
||||||
'scopedPackages.x86_64-linux.lovelace-components.material-rounded-theme',
|
'scopedPackages.x86_64-linux.lovelace-components.material-rounded-theme',
|
||||||
|
@ -103,7 +107,7 @@ const main = async() => {
|
||||||
console.log(caddyPluginsOutput);
|
console.log(caddyPluginsOutput);
|
||||||
|
|
||||||
|
|
||||||
// This doesn't need to be added to commit msgs
|
// These don't need to be added to commit message
|
||||||
console.log(updateCustomPackage(
|
console.log(updateCustomPackage(
|
||||||
'scopedPackages.x86_64-linux.lovelace-components.custom-sidebar',
|
'scopedPackages.x86_64-linux.lovelace-components.custom-sidebar',
|
||||||
));
|
));
|
||||||
|
@ -124,6 +128,7 @@ const main = async() => {
|
||||||
};
|
};
|
||||||
|
|
||||||
updatePackage('homepage');
|
updatePackage('homepage');
|
||||||
|
updatePackage('jmusicbot');
|
||||||
|
|
||||||
|
|
||||||
spawnSync('nixFastBuild', [], {
|
spawnSync('nixFastBuild', [], {
|
||||||
|
|
|
@ -31,10 +31,10 @@
|
||||||
});
|
});
|
||||||
in
|
in
|
||||||
(jmusicbot.override {jre_headless = jre;}).overrideAttrs (o: rec {
|
(jmusicbot.override {jre_headless = jre;}).overrideAttrs (o: rec {
|
||||||
version = "0.4.3.2";
|
version = "0.4.3.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/xPrinny/MusicBot/releases/download/${version}/JMusicBot-${version}.jar";
|
url = "https://github.com/xPrinny/MusicBot/releases/download/${version}/JMusicBot-${version}.jar";
|
||||||
sha256 = "sha256-MEOWppkw74s81D1EJEqZMjOzDlLdH6uyanDZD5d+Xa4=";
|
sha256 = "sha256-NYUT0FhSIqt+SECOKdnqBNQ37qinkwNWIzpXw8+7FXg=";
|
||||||
};
|
};
|
||||||
meta.platforms = ["x86_64-linux"];
|
meta.platforms = ["x86_64-linux"];
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue