blob: 0a0fed0f7c7b570586af7dd602c88ab3f2a29a58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ stdenv, rustPlatform, fetchFromGitHub, pkgconfig, dbus, libpulseaudio }:
let
metadata = import ./metadata.nix;
in
rustPlatform.buildRustPackage rec {
name = "i3status-rust-${version}";
version = metadata.rev;
src = fetchFromGitHub {
owner = "greshake";
repo = "i3status-rust";
rev = metadata.rev;
sha256 = metadata.sha256;
};
cargoSha256 = "1cbx2jll0bj547dvwzjprzidndbqn1c4c6hmbfgjgdkxmmrpb0r1";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ dbus libpulseaudio ];
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;
};
}
|