blob: 95c5bfb800466c31cac3a153e2f9c6b746797e95 (
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 = "09fllqp9jyr807db6hmhwiciww24zazdhyjm2qhbx69l91rnp0hy";
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;
};
}
|