about summary refs log tree commit diff
path: root/pkgs/applications/window-managers
diff options
context:
space:
mode:
authorBirger J. Nordølum <birgerjn@gmail.com>2015-12-11 07:55:00 +0100
committerBirger J. Nordølum <birgerjn@gmail.com>2015-12-11 08:55:14 +0100
commit1fe89386fd7a0325e7c6e313eabcfc43c369269d (patch)
tree0088e3c4e1651440788b0e989488fce36ac0fec2 /pkgs/applications/window-managers
parent0a5d840b64a234c68d4fa3de8e54d62ec65d5e9d (diff)
downloadnixlib-1fe89386fd7a0325e7c6e313eabcfc43c369269d.tar
nixlib-1fe89386fd7a0325e7c6e313eabcfc43c369269d.tar.gz
nixlib-1fe89386fd7a0325e7c6e313eabcfc43c369269d.tar.bz2
nixlib-1fe89386fd7a0325e7c6e313eabcfc43c369269d.tar.lz
nixlib-1fe89386fd7a0325e7c6e313eabcfc43c369269d.tar.xz
nixlib-1fe89386fd7a0325e7c6e313eabcfc43c369269d.tar.zst
nixlib-1fe89386fd7a0325e7c6e313eabcfc43c369269d.zip
i3blocks: 1.4 (NEW) (WIP)
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r--pkgs/applications/window-managers/i3/blocks.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/i3/blocks.nix b/pkgs/applications/window-managers/i3/blocks.nix
new file mode 100644
index 000000000000..466c5b7ec6fb
--- /dev/null
+++ b/pkgs/applications/window-managers/i3/blocks.nix
@@ -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;
+  };
+}