···11{ cairo, cmake, fetchgit, libXdmcp, libpthreadstubs, libxcb, pcre, pkgconfig
22, python2 , stdenv, xcbproto, xcbutil, xcbutilimage, xcbutilrenderutil
33-, xcbutilwm, xcbutilxrm
33+, xcbutilwm, xcbutilxrm, fetchpatch
4455# optional packages-- override the variables ending in 'Support' to enable or
66# disable modules
···3232 description = "A fast and easy-to-use tool for creatin status bars.";
3333 longDescription = ''
3434 Polybar aims to help users build beautiful and highly customizable
3535- status bars for their desktop environment, without the need of
3535+ status bars for their desktop environment, without the need of
3636 having a black belt in shell scripting.
3737- '';
3737+ '';
3838 license = licenses.mit;
3939 maintainers = [ maintainers.afldcr ];
4040 platforms = platforms.unix;
4141 };
4242+ # This patch should be removed with next stable release.
4343+ patches = [
4444+ (fetchpatch {
4545+ name = "polybar-remove-curlbuild.patch";
4646+ url = "https://github.com/jaagr/polybar/commit/d35abc7620c8f06618b4708d9a969dfa2f309e96.patch";
4747+ sha256 = "14xr65vsjvd51hzg9linj09w0nnixgn26dh9lqxy25bxachcyzxy";
4848+ })
4949+ ];
42504351 buildInputs = [
4452 cairo libXdmcp libpthreadstubs libxcb pcre python2 xcbproto xcbutil