Change:
Pocket casts was previously building but now fails since the electron version is insecure. The for the project however has "^17.0.0". Please run and paste the result.
The problem is that we are picking the AppImages, and the latest release is 0.5.0. The best thing to do would be asking the devs to publish a new release.
The author has 0.6.0 bumping the electron version!
working on this. Right now I have found some issues with this new version (problems unpacking the deb, no and probably need to create the file), but I hope to get them solved at least this week.
do you want to test it? . As there were some considerable changes and the latest version of Electron is working fine, I want to ensure the functionality hasn't been affected.
Yes let me give it a try!
I was able to build and run your branch. Login, playback etc all work. The only thing I noticed is it uses the default electron logo: ! Its been a while since I was able to run 0.5.0 but I believe it used the application logo.
Got it. I had to edit the to reflect the new changes, and it contained some edits to the desktop file. So it makes sense the default logo is being used here. Luckily the complicated part is fixed. EDIT: Never mind, it is working as intended. The file at contains the exact icon, as shown below: ! This is more of a package not including the original Pocket Casts icon on the dir. I will replace it with the original icon that is on the resources.
Just posted the PR on nixpkgs. Feel free to check the final changes and if everything looks fine, throw an approval.

Discussion:
stdenv.mkDerivation rec { pname = "pocket-casts"; <del> version = "0.5.0"; </del> <ins> version = "0.6.0"; </ins> src = fetchurl { url = "https://github.com/felicianotech/pocket-casts-desktop-app/releases/download/v${version}/${pname}_${version}_amd64.deb"; <del> sha256 = "sha256-frBtIxwRO/6k6j0itqN10t+9AyNadqXm8vC1YP960ts="; </del> <ins> sha256 = "sha256-nHdF9RDOkM9HwwmK/axiIPM4nmKrWp/FHNC/EI1vTTc="; </ins> }; nativeBuildInputs = [

buildInputs = [ alsa-lib gtk3 libXScrnSaver libXtst mesa nss ]; <del> dontBuild = true; dontConfigure = true; unpackPhase = '' dpkg-deb -x ${src} ./ </del> <ins> unpackCmd = '' # If unpacking using -x option, there is a permission error dpkg-deb --fsys-tarfile $src | tar -x --no-same-permissions --no-same-owner; </ins> ''; installPhase = '' runHook preInstall <del> mv usr $out mv opt $out mv "$out/opt/Pocket Casts" $out/opt/pocket-casts mv $out/share/icons/hicolor/0x0 $out/share/icons/hicolor/256x256 </del> <ins> mkdir -p $out mv bin $out mv lib $out mv share $out cp $out/lib/pocket-casts/resources/app/icon.png $out/share/pixmaps/pocket-casts.png </ins> runHook postInstall ''; postFixup = '' substituteInPlace $out/share/applications/pocket-casts.desktop  <del> --replace '"/opt/Pocket Casts/pocket-casts"' $out/bin/pocket-casts  --replace '/usr/share/icons/hicolor/0x0/apps/pocket-casts.png' "pocket-casts" </del> <ins> --replace Name=pocket-casts "Name=Pocket Casts"  --replace GenericName=pocket-casts "GenericName=Podcasts App"  --replace Exec=pocket-casts Exec=$out/bin/pocket-casts </ins> makeWrapper ${electron}/bin/electron  $out/bin/pocket-casts  <del> --add-flags $out/opt/pocket-casts/resources/app.asar </del> <ins> --add-flags $out/lib/pocket-casts/resources/app/main.js </ins> ''; meta = with lib; {

pn = callPackage ../tools/text/pn { }; <del> pocket-casts = callPackage ../applications/audio/pocket-casts { electron = electron_14; }; </del> <ins> pocket-casts = callPackage ../applications/audio/pocket-casts { }; </ins> pouf = callPackage ../tools/misc/pouf { };