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