Change:
Project description Muse Hub allows for the installation of MuseSounds, a high-quality selection of sounds for MuseScore. MuseScore already exists within the Nixpkgs repo, so having access to MuseSounds would be incredibly useful to MuseScore users using Nix. Metadata homepage URL: source URL: N/A (closed-source) license: proprietary platforms: Linux Notes EDIT Muse Hub on Linux only provides MuseSounds, so please disregard the previous note. However, MuseSounds is installed in /srv, not within the home folder.
I second this, but I don't know how to write a nixos package at all. I'll add, though, that if installing in /srv is a problem, that directory can be changed (potentially by default, but not having it installed I can't check which file would have to be edited
Looking at they seem to use this URL for the src of the build: https://pub- When I went to the musehub site and tried to download the linux version of MuseHub I got the same URL: https://pub- The main problem with this URL is that the file doesn't change it's name with a version update (so checksum/hashing is going to be an issue.) (aka, can't pin down a version) A second issue is that it appears to need to run a service as root user, which may cause some problems as well. I will try and contact MuseHub and ask if they can have each version available as well for easier packaging in linux. ... to be continued...
oh, just found a comment detailing a manual build on Fedora... Worth a read if you need to know how MuseHub works under the hood.
found their beta release URL: https://pub-
It appears that MuseHub is no longer releasing for Linux. See the website here: However, they have changed the name to , so they are making it clear that this app for Linux is only for Muse Sounds and not MuseHub. This change might make it easier to package for NixOS??? hopium!
any updates perhaps?
Since source code is not provided AFAIK, the / would have to be unpacked and repacked, and even then it may not work. In other words, I don't know how possible it is. I guess this issue is just to see if anyone else knows.
A solution I found to use an archived version of the app from , this is kind of a hack but works for now. I wrote a flake which packages Muse Sounds Manager based on the rpm package. You can find it here. Testing is greatly appreciated. If this turns out to work, I may also PR this into nixpkgs:
How do I install this on my system? I'm new to NixOS and don't entirely understand what a flake is or how to use it
here for you
Hi, just notifying the maintainers of the Nix Musescore package that someone has made a flake that packages Muse Sounds Manager for NixOS. I might be able to package it myself but not right now. Maybe you two could be able to do it as you already maintain Musescore? Thanks
please help this pull request by either :+1: or by testing/reviewing the code. let's get this finished!
As mentioned in this comment, due to the issues described in I am a bit hesitant in merging such a package, as it seem to have the potential to break Musescore . I will test again though when the PR is slightly more mature.
If MuseScore becomes unreliable after using (which is not the case for me), the solution is to delete (NB: , not ). If you want to restore it back, just launch again, it will immediately recreate it (and print to the console).

Discussion:
<ins> { lib, stdenv, fetchurl, autoPatchelfHook, dpkg, fontconfig, zlib, icu, libX11, libXext, libXi, libXrandr, libICE, libSM, openssl, }: stdenv.mkDerivation rec { pname = "muse-sounds-manager"; version = "1.1.0.587"; # Use web.archive.org since upstream does not provide a stable (versioned) URL. # To see if there are new versions on the Web Archive, visit # http://web.archive.org/cdx/search/cdx?url=https://muse-cdn.com/Muse_Sounds_Manager_Beta.deb # then replace the date in the URL below with date when the SHA1 # changes (currently A3NX3WHFZWXCHZVME2ABUL2VRENTWOD5) and replace # the version above with the version in the .deb metadata (or in the # settings of muse-sounds-manager). src = fetchurl { url = "https://web.archive.org/web/20240826143936/https://muse-cdn.com/Muse_Sounds_Manager_Beta.deb"; hash = "sha256-wzZAIjme1cv8+jMLiKT7kUQvCb+UhsvOnLDV4hCL3hw="; }; nativeBuildInputs = [ autoPatchelfHook dpkg ]; buildInputs = [ fontconfig stdenv.cc.cc zlib ] ++ runtimeDependencies; runtimeDependencies = map lib.getLib [ icu libX11 libXext libXi libXrandr libICE libSM openssl ]; unpackPhase = "dpkg -x $src ."; installPhase = '' runHook preInstall mkdir -p $out mv usr/* opt $out/ substituteInPlace $out/bin/muse-sounds-manager --replace-fail /opt/ $out/opt/ runHook postInstall ''; meta = { description = "Manage Muse Sounds (Muse Hub) libraries for MuseScore"; homepage = "https://musescore.org/"; license = lib.licenses.unfree; mainProgram = "muse-sounds-manager"; maintainers = with lib.maintainers; [ orivej ]; platforms = [ "x86_64-linux" ]; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; }; } </ins>