summary refs log tree commit diff
path: root/pkgs/applications/misc/polybar
diff options
context:
space:
mode:
authorSamuel Leathers <disasm@gmail.com>2017-08-26 02:48:57 -0400
committerJörg Thalheim <Mic92@users.noreply.github.com>2017-08-26 07:48:57 +0100
commit8bd224320e5a39eb26237f5152d09ad1f3ed6f4e (patch)
tree7189c8ed573d2bbd8665e837b1af1042850f5941 /pkgs/applications/misc/polybar
parent3ed601b8501e3e0d69b8b0e7a2bd41ae30511f6f (diff)
downloadnixpkgs-8bd224320e5a39eb26237f5152d09ad1f3ed6f4e.tar
nixpkgs-8bd224320e5a39eb26237f5152d09ad1f3ed6f4e.tar.gz
nixpkgs-8bd224320e5a39eb26237f5152d09ad1f3ed6f4e.tar.bz2
nixpkgs-8bd224320e5a39eb26237f5152d09ad1f3ed6f4e.tar.lz
nixpkgs-8bd224320e5a39eb26237f5152d09ad1f3ed6f4e.tar.xz
nixpkgs-8bd224320e5a39eb26237f5152d09ad1f3ed6f4e.tar.zst
nixpkgs-8bd224320e5a39eb26237f5152d09ad1f3ed6f4e.zip
polybar: fixes issue #28387 (#28441)
* polybar: fixes issue #28387

* polybar: fix fetchpatch checksum
Diffstat (limited to 'pkgs/applications/misc/polybar')
-rw-r--r--pkgs/applications/misc/polybar/default.nix14
1 files changed, 11 insertions, 3 deletions
diff --git a/pkgs/applications/misc/polybar/default.nix b/pkgs/applications/misc/polybar/default.nix
index 026a1289fb6..e88a4974074 100644
--- a/pkgs/applications/misc/polybar/default.nix
+++ b/pkgs/applications/misc/polybar/default.nix
@@ -1,6 +1,6 @@
 { cairo, cmake, fetchgit, libXdmcp, libpthreadstubs, libxcb, pcre, pkgconfig
 , python2 , stdenv, xcbproto, xcbutil, xcbutilimage, xcbutilrenderutil
-, xcbutilwm, xcbutilxrm
+, xcbutilwm, xcbutilxrm, fetchpatch
 
 # optional packages-- override the variables ending in 'Support' to enable or
 # disable modules
@@ -32,13 +32,21 @@ stdenv.mkDerivation rec {
       description = "A fast and easy-to-use tool for creatin status bars.";
       longDescription = ''
         Polybar aims to help users build beautiful and highly customizable
-        status bars for their desktop environment, without the need of 
+        status bars for their desktop environment, without the need of
         having a black belt in shell scripting.
-      ''; 
+      '';
       license = licenses.mit;
       maintainers = [ maintainers.afldcr ];
       platforms = platforms.unix;
     };
+    # This patch should be removed with next stable release.
+    patches = [
+      (fetchpatch {
+        name = "polybar-remove-curlbuild.patch";
+        url = "https://github.com/jaagr/polybar/commit/d35abc7620c8f06618b4708d9a969dfa2f309e96.patch";
+        sha256 = "14xr65vsjvd51hzg9linj09w0nnixgn26dh9lqxy25bxachcyzxy";
+      })
+    ];
 
     buildInputs = [
       cairo libXdmcp libpthreadstubs libxcb pcre python2 xcbproto xcbutil