Merge pull request #11626 from MindTooth/new_i3blocks
i3blocks: 1.4 (NEW) (WIP)
This commit is contained in:
commit
4f323f0020
22
pkgs/applications/window-managers/i3/blocks.nix
Normal file
22
pkgs/applications/window-managers/i3/blocks.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ fetchurl, stdenv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "i3blocks-${version}";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/vivien/i3blocks/releases/download/${version}/${name}.tar.gz";
|
||||
sha256 = "c64720057e22cc7cac5e8fcd58fd37e75be3a7d5a3cb8995841a7f18d30c0536";
|
||||
};
|
||||
|
||||
makeFlags = "all";
|
||||
installFlags = "PREFIX=\${out} VERSION=${version}";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A flexible scheduler for your i3bar blocks.";
|
||||
homepage = https://github.com/vivien/i3blocks;
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ "MindTooth" ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -12087,6 +12087,8 @@ let
|
||||
xcb-util-cursor = if stdenv.isDarwin then xcb-util-cursor-HEAD else xcb-util-cursor;
|
||||
};
|
||||
|
||||
i3blocks = callPackage ../applications/window-managers/i3/blocks.nix { };
|
||||
|
||||
i3lock = callPackage ../applications/window-managers/i3/lock.nix {
|
||||
cairo = cairo.override { xcbSupport = true; };
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user