12 pname = "pocket-casts";
15 src = fetchFromGitHub {
16 owner = "felicianotech";
17 repo = "pocket-casts-desktop-app";
19 hash = "sha256-PwM9B2Qx4TxlcahQM/KEBTzWKc4cNrleDEYKg0m8bVE=";
22 npmDepsHash = "sha256-WPuXTcHCKrwepITGtZFCIwylVAdYlI3cNsuhqx1AEYI=";
24 env.ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
31 desktopName = "Pocket Casts";
32 genericName = "Podcasts Listener";
33 exec = "pocket-casts";
34 icon = "pocket-casts";
35 comment = meta.description;
45 install -Dm644 $out/lib/node_modules/pocket-casts/icon.png $out/share/pixmaps/pocket-casts.png
46 install -Dm644 $out/lib/node_modules/pocket-casts/icon-x360.png $out/share/pixmaps/pocket-casts-x360.png
48 makeWrapper ${electron}/bin/electron $out/bin/pocket-casts \
49 --add-flags $out/lib/node_modules/pocket-casts/main.js
53 description = "Pocket Casts webapp, packaged for the Linux Desktop";
54 homepage = "https://github.com/felicianotech/pocket-casts-desktop-app";
55 license = licenses.mit;
56 maintainers = with maintainers; [ yayayayaka ];
57 mainProgram = "pocket-casts";
58 platforms = platforms.linux;