@@ -1,6 +1,6 @@
11{ cairo, cmake, fetchgit, libXdmcp, libpthreadstubs, libxcb, pcre, pkgconfig
22, python2 , stdenv, xcbproto, xcbutil, xcbutilimage, xcbutilrenderutil
3−, xcbutilwm, xcbutilxrm
3+, xcbutilwm, xcbutilxrm, fetchpatch
44
55# optional packages-- override the variables ending in 'Support' to enable or
66# disable modules
@@ -32,13 +32,21 @@ stdenv.mkDerivation rec {
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
35− status bars for their desktop environment, without the need of
35+ status bars for their desktop environment, without the need of
3636 having a black belt in shell scripting.
37− '';
37+ '';
3838 license = licenses.mit;
3939 maintainers = [ maintainers.afldcr ];
4040 platforms = platforms.unix;
4141 };
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+ ];
4250
4351 buildInputs = [
4452 cairo libXdmcp libpthreadstubs libxcb pcre python2 xcbproto xcbutil