2017-11-13 21:37:02 +01:00
|
|
|
{ stdenv, rustPlatform, fetchFromGitHub, pkgconfig, dbus, gperftools }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
name = "i3status-rust-${version}";
|
2018-06-25 01:11:45 +02:00
|
|
|
version = "0.9.0.2018-06-22";
|
2017-11-13 21:37:02 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "greshake";
|
|
|
|
repo = "i3status-rust";
|
2018-06-25 01:11:45 +02:00
|
|
|
rev = "fdca01e88a7ce9bf4de0f58a922de5131e33dd00";
|
|
|
|
sha256 = "12dfvamf9a13b3fa7mqrwhjk3rl53463h03arqd8pvbch006hhqd";
|
2017-11-13 21:37:02 +01:00
|
|
|
};
|
|
|
|
|
2018-06-25 01:11:45 +02:00
|
|
|
cargoSha256 = "01pwknfzkv49cip6asqd4pzkh9l42v06abyd9lb09ip5pkcs60lq";
|
2017-11-13 21:37:02 +01:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|