diff --git a/pkgs/applications/window-managers/i3/blocks-gaps.nix b/pkgs/applications/window-managers/i3/blocks-gaps.nix new file mode 100644 index 000000000000..36cf593a8904 --- /dev/null +++ b/pkgs/applications/window-managers/i3/blocks-gaps.nix @@ -0,0 +1,24 @@ +{ fetchFromGitHub, stdenv }: + +stdenv.mkDerivation rec { + name = "i3blocks-gaps-${version}"; + version = "1.4"; + + src = fetchFromGitHub { + owner = "Airblader"; + repo = "i3blocks-gaps"; + rev = "4cfdf93c75f729a2c96d471004d31734e923812f"; + sha256 = "0v9307ij8xzwdaxay3r75sd2cp453s3qb6q7dy9fks2p6wwqpazi"; + }; + + makeFlags = "all"; + installFlags = "PREFIX=\${out} VERSION=${version}"; + + meta = with stdenv.lib; { + description = "A flexible scheduler for your i3bar blocks -- this is a fork to use with i3-gaps"; + homepage = https://github.com/Airblader/i3blocks-gaps; + license = licenses.gpl3; + maintainers = [ "carlsverre" ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 910dad4e554c..23d4fc9a9306 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13350,6 +13350,8 @@ in i3blocks = callPackage ../applications/window-managers/i3/blocks.nix { }; + i3blocks-gaps = callPackage ../applications/window-managers/i3/blocks-gaps.nix { }; + i3cat = callPackage ../tools/misc/i3cat { }; i3lock = callPackage ../applications/window-managers/i3/lock.nix {