28 lines
822 B
Nix
28 lines
822 B
Nix
|
{ 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;
|
||
|
};
|
||
|
}
|