polybar: fixes issue #28387 (#28441)

* polybar: fixes issue #28387

* polybar: fix fetchpatch checksum

authored by Samuel Leathers and committed by Jörg Thalheim 8bd22432 3ed601b8

+11 -3
+11 -3
pkgs/applications/misc/polybar/default.nix
··· 1 1 { cairo, cmake, fetchgit, libXdmcp, libpthreadstubs, libxcb, pcre, pkgconfig 2 2 , python2 , stdenv, xcbproto, xcbutil, xcbutilimage, xcbutilrenderutil 3 - , xcbutilwm, xcbutilxrm 3 + , xcbutilwm, xcbutilxrm, fetchpatch 4 4 5 5 # optional packages-- override the variables ending in 'Support' to enable or 6 6 # disable modules ··· 32 32 description = "A fast and easy-to-use tool for creatin status bars."; 33 33 longDescription = '' 34 34 Polybar aims to help users build beautiful and highly customizable 35 - status bars for their desktop environment, without the need of 35 + status bars for their desktop environment, without the need of 36 36 having a black belt in shell scripting. 37 - ''; 37 + ''; 38 38 license = licenses.mit; 39 39 maintainers = [ maintainers.afldcr ]; 40 40 platforms = platforms.unix; 41 41 }; 42 + # This patch should be removed with next stable release. 43 + patches = [ 44 + (fetchpatch { 45 + name = "polybar-remove-curlbuild.patch"; 46 + url = "https://github.com/jaagr/polybar/commit/d35abc7620c8f06618b4708d9a969dfa2f309e96.patch"; 47 + sha256 = "14xr65vsjvd51hzg9linj09w0nnixgn26dh9lqxy25bxachcyzxy"; 48 + }) 49 + ]; 42 50 43 51 buildInputs = [ 44 52 cairo libXdmcp libpthreadstubs libxcb pcre python2 xcbproto xcbutil