Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 58 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ lib, buildPythonPackage, fetchFromGitHub, influxdb, jsonpath-ng, paho-mqtt, py-expression-eval, pyaml, pycron, pytestCheckHook, schema, hatchling, click, influxdb3-python, pydantic,}:
buildPythonPackage rec { pname = "mqtt2influxdb"; version = "2.0.6"; pyproject = true;
src = fetchFromGitHub { owner = "hardwario"; repo = "bch-mqtt2influxdb"; tag = "v${version}"; hash = "sha256-DS1k3JcTUK0yXRkJSFMeIZHSXpiIgSXJPZb3+72Wqko="; };
build-system = [ hatchling ];
dependencies = [ influxdb jsonpath-ng paho-mqtt py-expression-eval pyaml pycron schema click influxdb3-python pydantic ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "mqtt2influxdb" ];
meta = { description = "Flexible MQTT to InfluxDB Bridge"; homepage = "https://github.com/hardwario/bch-mqtt2influxdb"; changelog = "https://github.com/hardwario/bch-mqtt2influxdb/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ cynerd ]; mainProgram = "mqtt2influxdb"; };}