about summary refs log tree commit diff
path: root/pkgs/applications/window-managers
diff options
context:
space:
mode:
authorCarl Sverre <accounts@carlsverre.com>2016-07-21 23:37:01 -0700
committerCarl Sverre <accounts@carlsverre.com>2016-07-21 23:39:48 -0700
commit51d9312e44a1266dddaa927e822b37282f7aa1f7 (patch)
tree9a468e7ea96b5d710b049868ee915c4144c58225 /pkgs/applications/window-managers
parente5d048ad9aa7e993e6ff2d0469441bff5ec3b19d (diff)
i3blocks-gaps: init at 1.4
Fork of i3blocks which supports adding borders to work with i3-gaps
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r--pkgs/applications/window-managers/i3/blocks-gaps.nix24
1 files changed, 24 insertions, 0 deletions
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 0000000000000..36cf593a8904d
--- /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;
+  };
+}