diff options
author | Oleksii Filonenko <brightone@protonmail.com> | 2019-11-11 14:01:00 +0200 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2019-11-25 08:31:12 -0800 |
commit | 95c4adac0ec759f1edad63998cd5723af9a88ab6 (patch) | |
tree | cce7f021f8159e5e0ce40c03928c77f562ae0fb4 /pkgs | |
parent | 2f66bd9d5b835a7ecd078f4ec09048fc82b1ff07 (diff) | |
download | nixpkgs-95c4adac0ec759f1edad63998cd5723af9a88ab6.tar nixpkgs-95c4adac0ec759f1edad63998cd5723af9a88ab6.tar.gz nixpkgs-95c4adac0ec759f1edad63998cd5723af9a88ab6.tar.bz2 nixpkgs-95c4adac0ec759f1edad63998cd5723af9a88ab6.tar.lz nixpkgs-95c4adac0ec759f1edad63998cd5723af9a88ab6.tar.xz nixpkgs-95c4adac0ec759f1edad63998cd5723af9a88ab6.tar.zst nixpkgs-95c4adac0ec759f1edad63998cd5723af9a88ab6.zip |
polybar: 3.4.0 -> 3.4.1
- Replace `python2` with `python3` Co-authored-by: Sam Doshi <samdoshi@users.noreply.github.com>
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/misc/polybar/default.nix | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/applications/misc/polybar/default.nix b/pkgs/applications/misc/polybar/default.nix index 9ca8c696184..d7023fc29f9 100644 --- a/pkgs/applications/misc/polybar/default.nix +++ b/pkgs/applications/misc/polybar/default.nix @@ -1,5 +1,5 @@ { cairo, cmake, fetchFromGitHub, libXdmcp, libpthreadstubs, libxcb, pcre, pkgconfig -, python2, stdenv, xcbproto, xcbutil, xcbutilcursor, xcbutilimage +, python3, stdenv, xcbproto, xcbutil, xcbutilcursor, xcbutilimage , xcbutilrenderutil, xcbutilwm, xcbutilxrm, makeWrapper # optional packages-- override the variables ending in 'Support' to enable or @@ -24,15 +24,16 @@ assert nlSupport -> ! iwSupport && libnl != null; assert i3Support -> ! i3GapsSupport && jsoncpp != null && i3 != null; assert i3GapsSupport -> ! i3Support && jsoncpp != null && i3-gaps != null; -stdenv.mkDerivation rec { +let xcbproto-py3 = xcbproto.override { python = python3; }; +in stdenv.mkDerivation rec { pname = "polybar"; - version = "3.4.0"; + version = "3.4.1"; src = fetchFromGitHub { - owner = "jaagr"; + owner = pname; repo = pname; rev = version; - sha256 = "1g3zj0788cdlm8inpl19279bw8zjcy7dzj7q4f1l2d8c8g1jhv0m"; + sha256 = "1z1m6dxh2i5vsnkzaccb9j02ab05wgmcgig5d0l9w856g5jp3zmy"; fetchSubmodules = true; }; @@ -50,7 +51,7 @@ stdenv.mkDerivation rec { }; buildInputs = [ - cairo libXdmcp libpthreadstubs libxcb pcre python2 xcbproto xcbutil + cairo libXdmcp libpthreadstubs libxcb pcre python3 xcbproto-py3 xcbutil xcbutilcursor xcbutilimage xcbutilrenderutil xcbutilwm xcbutilxrm (if alsaSupport then alsaLib else null) |