From e055d18e54ab8005c780aba2a3402579fd0451b7 Mon Sep 17 00:00:00 2001 From: Keenan Weaver Date: Sun, 17 Aug 2025 13:55:26 -0500 Subject: [PATCH] fooyin: 0.8.1 -> 0.9.1 --- pkgs/by-name/fo/fooyin/package.nix | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/fo/fooyin/package.nix b/pkgs/by-name/fo/fooyin/package.nix index e2341b74e49b..3f10ba5aaf4d 100644 --- a/pkgs/by-name/fo/fooyin/package.nix +++ b/pkgs/by-name/fo/fooyin/package.nix @@ -2,6 +2,7 @@ stdenv, lib, fetchFromGitHub, + fetchpatch, cmake, pkg-config, alsa-lib, @@ -17,18 +18,18 @@ libopenmpt, game-music-emu, SDL2, - fetchpatch, + icu, }: stdenv.mkDerivation (finalAttrs: { pname = "fooyin"; - version = "0.8.1"; + version = "0.9.1"; src = fetchFromGitHub { owner = "ludouzi"; repo = "fooyin"; - rev = "v" + finalAttrs.version; - hash = "sha256-pkzBuJkZs76m7I/9FPt5GxGa8v2CDNR8QAHaIAuKN4w="; + tag = "v" + finalAttrs.version; + hash = "sha256-549AtdldAPFengQsVXMnZI0mVzUwgKgUKAfR0Ro3s2I="; }; buildInputs = [ @@ -38,6 +39,7 @@ stdenv.mkDerivation (finalAttrs: { kdePackages.qtwayland taglib ffmpeg + icu kdsingleapplication # output plugins alsa-lib @@ -66,20 +68,21 @@ stdenv.mkDerivation (finalAttrs: { (lib.cmakeBool "INSTALL_FHS" true) ]; + env.LANG = "C.UTF-8"; + # Remove after next release patches = [ (fetchpatch { - name = "qbrush.patch"; - url = "https://github.com/fooyin/fooyin/commit/e44e08abb33f01fe85cc896170c55dbf732ffcc9.patch"; - hash = "sha256-soDj/SFctxxsnkePv4dZgyDHYD2eshlEziILOZC4ddM="; + name = "multi-track-fix.patch"; + url = "https://github.com/fooyin/fooyin/commit/cffe88058e96c44e563e927d8a4a903e28246020.patch"; + hash = "sha256-qNAR3xHZHzI/4RCWKzBbv1mX39xs7KMo/TpaDUYvSvc="; }) ]; - env.LANG = "C.UTF-8"; - meta = { description = "Customisable music player"; homepage = "https://www.fooyin.org/"; + changelog = "https://github.com/fooyin/fooyin/blob/${finalAttrs.src.rev}/CHANGELOG.md"; downloadPage = "https://github.com/fooyin/fooyin"; mainProgram = "fooyin"; license = lib.licenses.gpl3Only;