File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed
Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 99 yuki-iptv = pkgs . callPackage ./yuki-iptv { } ;
1010 rpc-bridge = pkgs . callPackage ./rpc-bridge { } ;
1111 udpbroadcastrelay = pkgs . callPackage ./udpbroadcastrelay { } ;
12+ led_matrix_monitoring = pkgs . callPackage ./led_matrix_monitoring { } ;
1213}
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ rustPlatform ,
4+ fetchFromGitHub ,
5+ } :
6+
7+ rustPlatform . buildRustPackage rec {
8+ pname = "led_matrix_monitoring" ;
9+ version = "0.3.1" ;
10+
11+ src = fetchFromGitHub {
12+ owner = "night-crawler" ;
13+ repo = "led_matrix_monitoring" ;
14+ rev = "${ version } " ;
15+ hash = "sha256-jZMV5UfYpoNuXqcfXFsxXXlbY+M3R5UNY2aT1BJFiG4=" ;
16+ } ;
17+
18+ cargoHash = "sha256-seibG75kJ/2MAdpLgHEZCBl51OaYKKG78oBQ0+1ac3I=" ;
19+
20+ # requires nightly features
21+ env . RUSTC_BOOTSTRAP = 1 ;
22+ env . RUSTFLAGS = "--cfg tokio_unstable --cfg=tokio_unstable" ;
23+ doCheck = false ;
24+
25+ meta = {
26+ description = "Renders metrics on Framework 16 LED Matrix via daemon" ;
27+ changelog = "https://github.com/night-crawler/led_matrix_monitoring" ;
28+ homepage = "https://github.com/night-crawler/led_matrix_monitoring" ;
29+ license = lib . licenses . mit ;
30+ maintainers = with lib . maintainers ; [
31+ anthr76
32+ ] ;
33+ mainProgram = "led_matrix_monitoring" ;
34+ } ;
35+ }
You can’t perform that action at this time.
0 commit comments