10 flutter324.buildFlutterApplication rec {
14 src = fetchFromGitHub {
15 owner = "ubuntu-flutter-community";
17 rev = "refs/tags/v${version}";
18 hash = "sha256-gsreA8ZTLcSvIAtODZ2gopZ78iyoN18gsSi9/IoY5/0=";
22 substituteInPlace snap/gui/musicpod.desktop \
23 --replace-fail 'Icon=''${SNAP}/meta/gui/musicpod.png' 'Icon=musicpod'
26 pubspecLock = lib.importJSON ./pubspec.lock.json;
29 audio_service_mpris = "sha256-QRZ4a3w4MZP8/A4yXzP4P9FPwEVNXlntmBwE8I+s2Kk=";
30 media_kit_native_event_loop = "sha256-JBtFTYlztDQvN/qQcDxkK27mka2fSG+iiIIxk2mqEpY=";
31 media_kit_video = "sha256-JBtFTYlztDQvN/qQcDxkK27mka2fSG+iiIIxk2mqEpY=";
32 phoenix_theme = "sha256-5kgPAnK61vFi/sJ1jr3c5D2UZbxItW8YOk/IJEtHkZo=";
40 runtimeDependencies = [ pulseaudio ];
43 install -Dm644 snap/gui/musicpod.desktop -t $out/share/applications
44 install -Dm644 snap/gui/musicpod.png -t $out/share/pixmaps
48 description = "Music, radio, television and podcast player";
49 homepage = "https://github.com/ubuntu-flutter-community/musicpod";
50 license = lib.licenses.gpl3Only;
51 mainProgram = "musicpod";
52 maintainers = with lib.maintainers; [ aleksana ];
53 platforms = lib.platforms.linux;