mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
rnsapi: init at 0-unstable-2026-07-06 (#538597)
This commit is contained in:
commit
4f87c8e20c
1 changed files with 53 additions and 0 deletions
53
pkgs/by-name/rn/rnsapi/package.nix
Normal file
53
pkgs/by-name/rn/rnsapi/package.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "rnsapi";
|
||||
version = "0-unstable-2026-07-06";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "attermann";
|
||||
repo = "ReticulumAPI";
|
||||
rev = "9dc2a562c7e8695fb08c5204a403052a19af03d2";
|
||||
hash = "sha256-8WsQyJtxkXVaObBHQCQ2VrqJUApSyePL1IVUoTE4XPk=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
python3Packages.setuptools
|
||||
];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
aiohttp
|
||||
cryptography
|
||||
rns
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
pytest-aiohttp
|
||||
pytest-asyncio
|
||||
pytest-timeout
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"rnsapi"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "REST + WebSocket API daemon that exposes the full Reticulum Network Stack (RNS) service over HTTP(S) and WS(S)";
|
||||
homepage = "https://github.com/attermann/ReticulumAPI";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ drupol ];
|
||||
mainProgram = "reticulum-api";
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue