summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2017-11-17 10:45:10 +0000
committerGitHub <noreply@github.com>2017-11-17 10:45:10 +0000
commita50e8c8b00991eb2d8c092b1fa249057a062219e (patch)
treed33edd06c7e09589ad5a1d816c06164d7af1e726 /pkgs/applications
parentc0d2ee13be988ffc719c8f6eea747e0d7549915e (diff)
parent898090f25b34faa0b3bf0329f4cb7ae72037ff19 (diff)
downloadnixpkgs-a50e8c8b00991eb2d8c092b1fa249057a062219e.tar
nixpkgs-a50e8c8b00991eb2d8c092b1fa249057a062219e.tar.gz
nixpkgs-a50e8c8b00991eb2d8c092b1fa249057a062219e.tar.bz2
nixpkgs-a50e8c8b00991eb2d8c092b1fa249057a062219e.tar.lz
nixpkgs-a50e8c8b00991eb2d8c092b1fa249057a062219e.tar.xz
nixpkgs-a50e8c8b00991eb2d8c092b1fa249057a062219e.tar.zst
nixpkgs-a50e8c8b00991eb2d8c092b1fa249057a062219e.zip
Merge pull request #31626 from backuitist/i3status
i3status-rust: init at 0.9.0.2017-11-09
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/window-managers/i3/status-rust.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/i3/status-rust.nix b/pkgs/applications/window-managers/i3/status-rust.nix
new file mode 100644
index 00000000000..05965fc3717
--- /dev/null
+++ b/pkgs/applications/window-managers/i3/status-rust.nix
@@ -0,0 +1,27 @@
+{ stdenv, rustPlatform, fetchFromGitHub, pkgconfig, dbus, gperftools }:
+
+rustPlatform.buildRustPackage rec {
+  name = "i3status-rust-${version}";
+  version = "0.9.0.2017-11-09";
+
+  src = fetchFromGitHub {
+    owner = "greshake";
+    repo = "i3status-rust";
+    rev = "5daf2cdd611bed3db804d011d5d5af34b558e615";
+    sha256 = "0j6h7x5mm3m7wq0if20qxc9z3qw29xgf5qb3sqwdbdpz8ykpqdgk";
+  };
+
+  cargoSha256 = "1197hp6d4z14j0r22bvw9ly294li0ivg6yfql4lgi27hbvzag71h";
+
+  nativeBuildInputs = [ pkgconfig ];
+
+  buildInputs = [ dbus gperftools ];
+
+  meta = with stdenv.lib; {
+    description = "Very resource-friendly and feature-rich replacement for i3status";
+    homepage = https://github.com/greshake/i3status-rust;
+    license = licenses.gpl3;
+    maintainers = [ maintainers.backuitist ];
+    platforms = platforms.linux;
+  };
+}