ctucx.git: lacrosse2mqtt

Publish data from LaCrosse sensors via MQTT

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
{ nimPackages, fetchFromGitHub }:

let

  nmqtt = fetchFromGitHub {
    owner  = "zevv";
    repo   = "nmqtt";
    rev    = "v1.0.4";
    sha256 = "1by0xyqz754dny19lf8rpkg42passnj0rs6rk3jr763m1zr803mc";
  };

in nimPackages.buildNimPackage {
  name       = "lacrosse2mqtt";

  nimBinOnly  = true;
  buildInputs = [ nmqtt ];

  src = ./src;
}