From a2e9583124e8ced26993d09cd8546508c7c6ebf5 Mon Sep 17 00:00:00 2001 From: Dionysis Grigoropoulos Date: Wed, 7 Feb 2024 00:27:02 +0200 Subject: [PATCH 1/2] maintainers: Add Erethon --- maintainers/maintainer-list.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 1ebc30f27d44..a43ae21bc7e5 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -5771,6 +5771,13 @@ githubId = 8706; name = "Rafael Fernández López"; }; + erethon = { + email = "dgrig@erethon.com"; + matrix = "@dgrig:erethon.com"; + github = "erethon"; + githubId = 1254842; + name = "Dionysis Grigoropoulos"; + }; ericbmerritt = { email = "eric@afiniate.com"; github = "ericbmerritt"; From ca242116af937160979b86a475059757098f322c Mon Sep 17 00:00:00 2001 From: Dionysis Grigoropoulos Date: Fri, 16 Feb 2024 23:50:27 +0200 Subject: [PATCH 2/2] loramon: init at 0.9.7 --- pkgs/by-name/lo/loramon/package.nix | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkgs/by-name/lo/loramon/package.nix diff --git a/pkgs/by-name/lo/loramon/package.nix b/pkgs/by-name/lo/loramon/package.nix new file mode 100644 index 000000000000..9d0161dff2cd --- /dev/null +++ b/pkgs/by-name/lo/loramon/package.nix @@ -0,0 +1,33 @@ +{ lib +, python3 +, fetchFromGitHub +}: + +python3.pkgs.buildPythonApplication rec { + pname = "loramon"; + version = "0.9.7"; + pyproject = true; + + src = fetchFromGitHub { + owner = "markqvist"; + repo = "LoRaMon"; + rev = "refs/tags/${version}"; + hash = "sha256-94tXhuAoaS1y/zGz63PPqOayRylGK0Ei2a6H4/BCB30"; + }; + + nativeBuildInputs = with python3.pkgs; [ + setuptools + ]; + + propagatedBuildInputs = with python3.pkgs; [ + pyserial + ]; + + meta = with lib; { + description = "LoRa packet sniffer for RNode hardware"; + homepage = "https://github.com/markqvist/LoRaMon"; + changelog = "https://github.com/markqvist/LoRaMon/releases/tag/${version}"; + license = licenses.mit; + maintainers = with maintainers; [ erethon ]; + }; +}