feat(jmusicbot): add to update script and update pkg
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2025-01-25 11:51:22 -05:00
parent 65caf9a537
commit d89900c4be
3 changed files with 9 additions and 4 deletions

View file

@ -10,7 +10,7 @@
}:
buildApp {
src = ./.;
npmDepsHash = "sha256-0HeZRaFdEEsxWjzTbRCrKEJ61pfTGWtymLQoj31WeEc=";
npmDepsHash = "sha256-YYhg8FQF92JNyIJuZmkF9Ehhc0zTrwg9CppddpcLRfA=";
runtimeInputs = [
findutils

View file

@ -53,6 +53,10 @@ const main = async() => {
console.log(updateFlakeInputs());
}
if (args['j'] || args['jmusicbot']) {
console.log(runNixUpdate('jmusicbot'));
}
if (args['m'] || args['material-rounded-theme']) {
console.log(updateCustomPackage(
'scopedPackages.x86_64-linux.lovelace-components.material-rounded-theme',
@ -103,7 +107,7 @@ const main = async() => {
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(
'scopedPackages.x86_64-linux.lovelace-components.custom-sidebar',
));
@ -124,6 +128,7 @@ const main = async() => {
};
updatePackage('homepage');
updatePackage('jmusicbot');
spawnSync('nixFastBuild', [], {

View file

@ -31,10 +31,10 @@
});
in
(jmusicbot.override {jre_headless = jre;}).overrideAttrs (o: rec {
version = "0.4.3.2";
version = "0.4.3.3";
src = fetchurl {
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"];
})