lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.11-beta 26 lines 816 B view raw
1{ lib, buildGoModule, fetchFromGitHub, bash, nixosTests }: 2 3buildGoModule rec { 4 pname = "rtl_433-exporter"; 5 version = "0.1"; 6 7 src = fetchFromGitHub { 8 owner = "mhansen"; 9 repo = "rtl_433_prometheus"; 10 rev = "v${version}"; 11 hash = "sha256-ggtGi1gnpTLGvZnfAW9vyYyU7ELbTRNhXyCMotx+KKU="; 12 }; 13 14 postPatch = "substituteInPlace rtl_433_prometheus.go --replace /bin/bash ${bash}/bin/bash"; 15 16 vendorHash = "sha256-BsNB0OTwBUu9kK+lSN7EF8ZQH3kFx8P9h4QgcfCvtg4="; 17 18 passthru.tests = { inherit (nixosTests.prometheus-exporters) rtl_433; }; 19 20 meta = with lib; { 21 description = "Prometheus time-series DB exporter for rtl_433 433MHz radio packet decoder"; 22 homepage = "https://github.com/mhansen/rtl_433_prometheus"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ zopieux ]; 25 }; 26}