polybar: 3.3.1 -> 3.4.0

This commit is contained in:
Edmund Wu 2019-07-28 21:45:24 -04:00
parent 59f3cfa405
commit 892a04db3e
No known key found for this signature in database
GPG Key ID: 76AA3F9F2BD3E3A0

View File

@ -26,17 +26,18 @@ assert i3GapsSupport -> ! i3Support && jsoncpp != null && i3-gaps != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "polybar"; pname = "polybar";
version = "3.3.1"; version = "3.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jaagr"; owner = "jaagr";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0qwi6q3qkrz2ip1jd4pxlnsrs2a9ywxyf8rgvbzyilr334rsiywh"; sha256 = "1g3zj0788cdlm8inpl19279bw8zjcy7dzj7q4f1l2d8c8g1jhv0m";
fetchSubmodules = true; fetchSubmodules = true;
}; };
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://polybar.github.io/";
description = "A fast and easy-to-use tool for creating status bars"; description = "A fast and easy-to-use tool for creating status bars";
longDescription = '' longDescription = ''
Polybar aims to help users build beautiful and highly customizable Polybar aims to help users build beautiful and highly customizable
@ -68,8 +69,8 @@ stdenv.mkDerivation rec {
]; ];
postConfigure = '' postConfigure = ''
substituteInPlace ../include/settings.hpp --replace \ substituteInPlace generated-sources/settings.hpp \
"${stdenv.cc}" "${stdenv.cc.name}" --replace "${stdenv.cc}" "${stdenv.cc.name}"
''; '';
postInstall = if (i3Support || i3GapsSupport) then '' postInstall = if (i3Support || i3GapsSupport) then ''