rns: init at 0.9.1 (#378360)

This commit is contained in:
Nick Cao
2025-02-01 15:07:11 -05:00
committed by GitHub
2 changed files with 24 additions and 16 deletions
+1
View File
@@ -0,0 +1 @@
{ python3Packages }: with python3Packages; toPythonApplication rns
+23 -16
View File
@@ -1,15 +1,21 @@
{
lib,
bleak,
buildPythonPackage,
cryptography,
esptool,
fetchFromGitHub,
replaceVars,
esptool,
# build-system
setuptools,
# dependencies
bleak,
cryptography,
netifaces,
pyserial,
pythonOlder,
replaceVars,
setuptools,
# tests
versionCheckHook,
}:
buildPythonPackage rec {
@@ -17,8 +23,6 @@ buildPythonPackage rec {
version = "0.9.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "markqvist";
repo = "Reticulum";
@@ -41,17 +45,20 @@ buildPythonPackage rec {
pyserial
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "RNS" ];
meta = with lib; {
nativeCheckInputs = [
versionCheckHook
];
versionCheckProgram = "${placeholder "out"}/bin/rncp";
versionCheckProgramArg = [ "--version" ];
meta = {
description = "Cryptography-based networking stack for wide-area networks";
homepage = "https://github.com/markqvist/Reticulum";
changelog = "https://github.com/markqvist/Reticulum/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [
homepage = "https://reticulum.network";
changelog = "https://github.com/markqvist/Reticulum/blob/${version}/Changelog.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
fab
qbit
];