2018-10-02 23:29:26 +01:00
|
|
|
{ stdenv, rustPlatform, fetchFromGitHub, pkgconfig, dbus }:
|
2017-11-13 20:37:02 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
name = "i3status-rust-${version}";
|
2018-10-02 23:29:26 +01:00
|
|
|
version = "0.9.0.2018-10-02";
|
2017-11-13 20:37:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "greshake";
|
|
|
|
repo = "i3status-rust";
|
2018-10-02 23:29:26 +01:00
|
|
|
rev = "11c2a21693ffcd0b6c2e0ac919b2232918293963";
|
|
|
|
sha256 = "019m9qpw7djq6g7lzbm7gjcavlgsp93g3cd7cb408nxnfsi7i9dp";
|
2017-11-13 20:37:02 +00:00
|
|
|
};
|
|
|
|
|
2018-10-02 23:29:26 +01:00
|
|
|
cargoSha256 = "1wnify730f7c3cb8wllqvs7pzrq54g5x81xspvz5gq0iqr0q38zc";
|
2017-11-13 20:37:02 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
2018-10-02 23:29:26 +01:00
|
|
|
buildInputs = [ dbus ];
|
2017-11-13 20:37:02 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|