From 800ffc56a2db95c9fb24c4a75be9803e9f8d8465 Mon Sep 17 00:00:00 2001 From: zendo Date: Sun, 27 Oct 2024 11:49:41 +0800 Subject: [PATCH] fooyin: 0.7.2 -> 0.8.1 --- pkgs/by-name/fo/fooyin/package.nix | 60 +++++++++++++++++++----------- 1 file changed, 38 insertions(+), 22 deletions(-) diff --git a/pkgs/by-name/fo/fooyin/package.nix b/pkgs/by-name/fo/fooyin/package.nix index 16b440b115c1d..f4723504c5cfc 100644 --- a/pkgs/by-name/fo/fooyin/package.nix +++ b/pkgs/by-name/fo/fooyin/package.nix @@ -1,38 +1,52 @@ -{ stdenv -, lib -, fetchFromGitHub -, cmake -, pkg-config -, alsa-lib -, ffmpeg -, kdePackages -, kdsingleapplication -, pipewire -, taglib -, libvgm +{ + stdenv, + lib, + fetchFromGitHub, + cmake, + pkg-config, + alsa-lib, + ffmpeg, + kdePackages, + kdsingleapplication, + pipewire, + taglib, + libvgm, + libsndfile, + libarchive, + libopenmpt, + game-music-emu, + SDL2, }: stdenv.mkDerivation (finalAttrs: { pname = "fooyin"; - version = "0.7.2"; + version = "0.8.1"; src = fetchFromGitHub { owner = "ludouzi"; repo = "fooyin"; rev = "v" + finalAttrs.version; - hash = "sha256-9tNd0TDTxlm6jV2kkZGZbi8tZMj13jbp3+aKXOkNtIw="; + hash = "sha256-pkzBuJkZs76m7I/9FPt5GxGa8v2CDNR8QAHaIAuKN4w="; }; buildInputs = [ - alsa-lib - ffmpeg - kdsingleapplication - pipewire kdePackages.qcoro kdePackages.qtbase kdePackages.qtsvg + kdePackages.qtwayland taglib + ffmpeg + kdsingleapplication + # output plugins + alsa-lib + pipewire + SDL2 + # input plugins libvgm + libsndfile + libarchive + libopenmpt + game-music-emu ]; nativeBuildInputs = [ @@ -51,11 +65,13 @@ stdenv.mkDerivation (finalAttrs: { env.LANG = "C.UTF-8"; - meta = with lib; { + meta = { description = "Customisable music player"; + homepage = "https://www.fooyin.org/"; + downloadPage = "https://github.com/fooyin/fooyin"; mainProgram = "fooyin"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ peterhoeg ]; - platforms = platforms.all; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ peterhoeg ]; + platforms = lib.platforms.linux; }; })