nur-packages

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

default.nix (534B)


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