nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (552B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   buildGoModule,
      5 }:
      6 
      7 buildGoModule rec {
      8   pname = "go-mqtt-to-influxdb";
      9   version = "0.0.7";
     10 
     11   src = fetchFromGitHub {
     12     owner = "elgohr";
     13     repo = "mqtt-to-influxdb";
     14     rev = "v${version}";
     15     hash = "sha256-wO/TS+J68UvnadeMqm3xzZ/qv7gitW3Hi84v32UlZKI=";
     16   };
     17 
     18   vendorHash = null;
     19   doCheck = false;
     20 
     21   meta = {
     22     description = "Bridge to write MQTT to InfluxDB";
     23     homepage = "https://github.com/elgohr/mqtt-to-influxdb";
     24     license = lib.licenses.mit;
     25     maintainers = [ lib.maintainers.sikmir ];
     26   };
     27 }