From e2c4a67e4d89baec11a6dee261154691dc1dab04 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Tue, 8 Aug 2023 20:13:48 +0100 Subject: [PATCH] picom-next: unstable-2023-01-29 -> unstable-2023-08-03 --- .../window-managers/picom/picom-next.nix | 31 +++++++++++++++---- 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/window-managers/picom/picom-next.nix b/pkgs/applications/window-managers/picom/picom-next.nix index e5b0176a4e45..e26519b034ef 100644 --- a/pkgs/applications/window-managers/picom/picom-next.nix +++ b/pkgs/applications/window-managers/picom/picom-next.nix @@ -1,14 +1,33 @@ -{ pcre, pcre2, libXinerama, picom, lib, fetchFromGitHub }: +{ lib +, fetchFromGitHub +, libXinerama +, pcre +, pcre2 +, picom +, xcbutil +}: -picom.overrideAttrs (oldAttrs: rec { +picom.overrideAttrs (oldAttrs: { pname = "picom-next"; - version = "unstable-2023-01-29"; - buildInputs = [ pcre2 ] ++ lib.remove libXinerama (lib.remove pcre oldAttrs.buildInputs); + version = "unstable-2023-08-03"; + + buildInputs = [ + pcre2 + xcbutil + ] + # remove dependencies that are not used anymore + ++ (lib.subtractLists [ + libXinerama + pcre + ] + oldAttrs.buildInputs); + src = fetchFromGitHub { owner = "yshui"; repo = "picom"; - rev = "cee12875625465292bc11bf09dc8ab117cae75f4"; - sha256 = "sha256-lVwBwOvzn4ro1jInRuNvn1vQuwUHUp4MYrDaFRmW9pc="; + rev = "5d6957d3da1bf99311a676eab94c69ef4276bedf"; + hash = "sha256-Mzf0533roLSODjMCPKyGSMbP7lIbT+PoLTZfoIBAI6g="; }; + meta.maintainers = with lib.maintainers; oldAttrs.meta.maintainers ++ [ GKasparov ]; })