rns: init at 0.9.1 (#378360)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{ python3Packages }: with python3Packages; toPythonApplication rns
|
||||
@@ -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
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user