mqtt2influxdb: init at 1.5.2
This commit is contained in:
parent
c92947c266
commit
61a503c2fa
42
pkgs/development/python-modules/mqtt2influxdb/default.nix
Normal file
42
pkgs/development/python-modules/mqtt2influxdb/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, influxdb
|
||||||
|
, jsonpath-ng
|
||||||
|
, paho-mqtt
|
||||||
|
, py-expression-eval
|
||||||
|
, pyaml
|
||||||
|
, pycron
|
||||||
|
, schema
|
||||||
|
}:
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "mqtt2influxdb";
|
||||||
|
version = "1.5.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "hardwario";
|
||||||
|
repo = "bch-mqtt2influxdb";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "YDgMoxnH4vCCa7b857U6iVBhYLxk8ZjytGziryn24bg=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
influxdb
|
||||||
|
jsonpath-ng
|
||||||
|
paho-mqtt
|
||||||
|
py-expression-eval
|
||||||
|
pyaml
|
||||||
|
pycron
|
||||||
|
schema
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "mqtt2influxdb" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/hardwario/bch-mqtt2influxdb";
|
||||||
|
description = "Flexible MQTT to InfluxDB Bridge";
|
||||||
|
platforms = platforms.linux;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ cynerd ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -7760,6 +7760,8 @@ self: super: with self; {
|
||||||
|
|
||||||
micloud = callPackage ../development/python-modules/micloud { };
|
micloud = callPackage ../development/python-modules/micloud { };
|
||||||
|
|
||||||
|
mqtt2influxdb = callPackage ../development/python-modules/mqtt2influxdb { };
|
||||||
|
|
||||||
msgraph-core = callPackage ../development/python-modules/msgraph-core { };
|
msgraph-core = callPackage ../development/python-modules/msgraph-core { };
|
||||||
|
|
||||||
multipart = callPackage ../development/python-modules/multipart { };
|
multipart = callPackage ../development/python-modules/multipart { };
|
||||||
|
|
Loading…
Reference in a new issue