summary refs log tree commit diff
path: root/pkgs/applications/misc/polybar
diff options
context:
space:
mode:
authorEdmund Wu <fangkazuto@gmail.com>2019-07-28 21:45:24 -0400
committerEdmund Wu <fangkazuto@gmail.com>2019-07-29 09:07:07 -0400
commit892a04db3e72de88a374ec966dba289ad83c9088 (patch)
tree285fd763c31e464e206f27c286a59b73615ca598 /pkgs/applications/misc/polybar
parent59f3cfa4056d8ba501ff86474a844e2cbe886560 (diff)
downloadnixpkgs-892a04db3e72de88a374ec966dba289ad83c9088.tar
nixpkgs-892a04db3e72de88a374ec966dba289ad83c9088.tar.gz
nixpkgs-892a04db3e72de88a374ec966dba289ad83c9088.tar.bz2
nixpkgs-892a04db3e72de88a374ec966dba289ad83c9088.tar.lz
nixpkgs-892a04db3e72de88a374ec966dba289ad83c9088.tar.xz
nixpkgs-892a04db3e72de88a374ec966dba289ad83c9088.tar.zst
nixpkgs-892a04db3e72de88a374ec966dba289ad83c9088.zip
polybar: 3.3.1 -> 3.4.0
Diffstat (limited to 'pkgs/applications/misc/polybar')
-rw-r--r--pkgs/applications/misc/polybar/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/applications/misc/polybar/default.nix b/pkgs/applications/misc/polybar/default.nix
index e6507845d4c..9ca8c696184 100644
--- a/pkgs/applications/misc/polybar/default.nix
+++ b/pkgs/applications/misc/polybar/default.nix
@@ -26,17 +26,18 @@ assert i3GapsSupport -> ! i3Support     && jsoncpp != null && i3-gaps != null;
 
 stdenv.mkDerivation rec {
     pname = "polybar";
-    version = "3.3.1";
+    version = "3.4.0";
 
     src = fetchFromGitHub {
       owner = "jaagr";
       repo = pname;
       rev = version;
-      sha256 = "0qwi6q3qkrz2ip1jd4pxlnsrs2a9ywxyf8rgvbzyilr334rsiywh";
+      sha256 = "1g3zj0788cdlm8inpl19279bw8zjcy7dzj7q4f1l2d8c8g1jhv0m";
       fetchSubmodules = true;
     };
 
     meta = with stdenv.lib; {
+      homepage = "https://polybar.github.io/";
       description = "A fast and easy-to-use tool for creating status bars";
       longDescription = ''
         Polybar aims to help users build beautiful and highly customizable
@@ -68,8 +69,8 @@ stdenv.mkDerivation rec {
     ];
 
     postConfigure = ''
-      substituteInPlace ../include/settings.hpp --replace \
-        "${stdenv.cc}" "${stdenv.cc.name}"
+      substituteInPlace generated-sources/settings.hpp \
+        --replace "${stdenv.cc}" "${stdenv.cc.name}"
     '';
 
     postInstall = if (i3Support || i3GapsSupport) then ''