summary refs log tree commit diff
path: root/pkgs/applications/misc/polybar/default.nix
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2018-07-24 07:09:32 -0400
committerGitHub <noreply@github.com>2018-07-24 07:09:32 -0400
commit79925f1b2a33366107b2abf1efc64aff35160b7f (patch)
treeebb8d7982f370c46c3890d4bcce2cd630ce5b9db /pkgs/applications/misc/polybar/default.nix
parenta587aab8cd8238af0d02998d99ce079d965a7340 (diff)
parent149b42d8ee7fe25cd05d24d6d1f915e079f8886e (diff)
downloadnixpkgs-79925f1b2a33366107b2abf1efc64aff35160b7f.tar
nixpkgs-79925f1b2a33366107b2abf1efc64aff35160b7f.tar.gz
nixpkgs-79925f1b2a33366107b2abf1efc64aff35160b7f.tar.bz2
nixpkgs-79925f1b2a33366107b2abf1efc64aff35160b7f.tar.lz
nixpkgs-79925f1b2a33366107b2abf1efc64aff35160b7f.tar.xz
nixpkgs-79925f1b2a33366107b2abf1efc64aff35160b7f.tar.zst
nixpkgs-79925f1b2a33366107b2abf1efc64aff35160b7f.zip
Merge pull request #44041 from eadwu/polybar/3.2.0
polybar: 3.1.0 -> 3.2.0
Diffstat (limited to 'pkgs/applications/misc/polybar/default.nix')
-rw-r--r--pkgs/applications/misc/polybar/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/applications/misc/polybar/default.nix b/pkgs/applications/misc/polybar/default.nix
index 3ac719d18d2..347b77c7ab4 100644
--- a/pkgs/applications/misc/polybar/default.nix
+++ b/pkgs/applications/misc/polybar/default.nix
@@ -8,6 +8,7 @@
 , iwSupport     ? true,  wirelesstools ? null
 , githubSupport ? false, curl          ? null
 , mpdSupport    ? false, mpd_clientlib ? null
+, pulseSupport  ? false, libpulseaudio ? null
 , i3Support ? false, i3GapsSupport ? false, i3 ? null, i3-gaps ? null, jsoncpp ? null
 }:
 
@@ -15,17 +16,18 @@ assert alsaSupport   -> alsaLib       != null;
 assert githubSupport -> curl          != null;
 assert iwSupport     -> wirelesstools != null;
 assert mpdSupport    -> mpd_clientlib != null;
+assert pulseSupport  -> libpulseaudio != null;
 
 assert i3Support     -> ! i3GapsSupport && jsoncpp != null && i3      != null;
 assert i3GapsSupport -> ! i3Support     && jsoncpp != null && i3-gaps != null;
 
 stdenv.mkDerivation rec {
     name = "polybar-${version}";
-    version = "3.1.0";
+    version = "3.2.0";
     src = fetchgit {
       url = "https://github.com/jaagr/polybar";
-      rev = "bf16a4d415ea7d8845f578544de0c71e56ad314e";
-      sha256 = "1jcvqxl0477j0snvh1rzqsm1dkfsybix2lgrlsgiczdxfknwz8iy";
+      rev = version;
+      sha256 = "0p94brndysvmmbidhl4ds4w3qvddb752s4vryp0qckb0hz3knqk8";
     };
 
     meta = with stdenv.lib; {
@@ -48,6 +50,7 @@ stdenv.mkDerivation rec {
       (if githubSupport then curl          else null)
       (if iwSupport     then wirelesstools else null)
       (if mpdSupport    then mpd_clientlib else null)
+      (if pulseSupport  then libpulseaudio else null)
 
       (if i3Support || i3GapsSupport then jsoncpp else null)
       (if i3Support then i3 else null)