Change:
<del> { lib, fetchurl, appimageTools, }: let pname = "ytmdesktop"; version = "1.13.0"; name = "${pname}-${version}"; src = fetchurl { url = "https://github.com/ytmdesktop/ytmdesktop/releases/download/v${version}/YouTube-Music-Desktop-App-${version}.AppImage"; sha256 = "0f5l7hra3m3q9zd0ngc9dj4mh1lk0rgicvh9idpd27wr808vy28v"; }; appimageContents = appimageTools.extract { inherit name src; }; in appimageTools.wrapType2 rec { inherit name src; extraInstallCommands = '' mv $out/bin/{${name},${pname}} install -m 444  -D ${appimageContents}/youtube-music-desktop-app.desktop  -t $out/share/applications substituteInPlace  $out/share/applications/youtube-music-desktop-app.desktop  --replace 'Exec=AppRun' 'Exec=${pname}' cp -r ${appimageContents}/usr/share/icons $out/share ''; meta = with lib; { description = "A Desktop App for YouTube Music"; homepage = "https://ytmdesktop.app/"; license = licenses.cc0; platforms = platforms.linux; maintainers = [ maintainers.lgcl ]; mainProgram = "ytmdesktop"; }; } </del>

Discussion:
Project's repository no longer exist. (last person to edit the derivation's definition) Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Looks like the account was hacked and shut down for a little bit.
Hi. Is it possible to reverse this now that the Organisation is back? Am looking also into updating to our latest v2.0.5 version as well and ideally automating the process as much as possible so a release will automatically push to here.
(I was the package maintainer, before it was deleted, but I personally haven't used ytmdesktop for quite some time now, because v1 had some known issues on my setup. I would like to switch back to it with v2 being out, tho) I think we could revert the commit, but it probably makes more sense to just create a new package with the v2 version. Also, if we do re-add v1, we probably need to mark it as insecure as it has some EOL dependencies iirc. I tried packaging v2 some time ago, but didn't get anywhere due to my lack of js/electron experience. The workaround I used for v1, just re-packaging the appimage, is no longer possible, as you stop releasing appimages. If there is an appimage release of v2, I could probably create a simple v2 package and then also maintain that. Though, I don't know how much effort maintaining an additional release format upstream is for you. Sadly, I currently don't have the time to figure out how to package ytmdesktop from source, but maybe someone else is willing and able to do that. Adding (mostly) automatic updates, once we have a working v2 packages, shouldn't be hard with and the related infrastructure in nixpkgs. (Though, I personally have no experience with that yet.)
Thank you for the work in helping maintain the package and Thanks for the info regarding packaging. With the usage of Electron Forge instead of Electron Builder, we've also changed how packaging works. Stuff like: Flatpak and Snap editions exist, but sadly how Linux packages are existing builders which exist.

(electron-forge-maker-appimage)[] suggests there is also an App image builder but it apperas to just be a basic proxy to Electron builder~ Otherwise building Linux Applications is a whole new thing for me, and given we've basically reset the entire codebase to fix a number of underlying issues, there's likely lots of bits which still need poking at again which didn't exist before.
I opened a PR for re-initializing ytmdesktop: Also, while I managed to get ytmdesktop to build from source using , whenever I used I would get some strange TLS cert errors, despite passing the flag. In the end, I gave up on building it from source, since I realized that with a small patch to the source code I could just extract the assets from any of the releases and reuse them everywhere (it's all just JS and bitmaps :manshrugging:). <details<summaryFor anyone who cares about building it from source and investigating that TLS error, here is where I left off with that </summary</details