From 4a2d1f78402dec9da19e2a3429446ffcef245db9 Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Thu, 26 May 2022 23:41:38 +0800 Subject: [PATCH] strawberry: 1.0.3 -> 1.0.4 --- pkgs/applications/audio/strawberry/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/strawberry/default.nix b/pkgs/applications/audio/strawberry/default.nix index 1ea01353f80a..459380b86a3a 100644 --- a/pkgs/applications/audio/strawberry/default.nix +++ b/pkgs/applications/audio/strawberry/default.nix @@ -37,15 +37,21 @@ mkDerivation rec { pname = "strawberry"; - version = "1.0.3"; + version = "1.0.4"; src = fetchFromGitHub { owner = "jonaski"; repo = pname; rev = version; - sha256 = "sha256-wa7r6maHAgCTD/TFjqtMuoRt1BqQ38T8KpbMUOoS2ZE="; + hash = "sha256-UjmrU/SA8gf+HwyCb6hm8IClUaEXvWGmIy3xDJPIsgE="; }; + # the big strawberry shown in the context menu is *very* much in your face, so use the grey version instead + postPatch = '' + substituteInPlace src/context/contextalbum.cpp \ + --replace pictures/strawberry.png pictures/strawberry-grey.png + ''; + buildInputs = [ alsa-lib boost