Files
nixpkgs/pkgs/development/python-modules/nomadnet/default.nix
2026-06-09 14:17:01 +02:00

53 lines
974 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
lxmf,
msgpack,
qrcode,
rns,
setuptools,
urwid,
}:
buildPythonPackage (finalAttrs: {
pname = "nomadnet";
version = "1.2.0";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "markqvist";
repo = "NomadNet";
tag = finalAttrs.version;
hash = "sha256-BaRZfqQ9oNpWQc5uQ0PvVduauW3+gTnDljYeBXlmJ9w=";
};
build-system = [ setuptools ];
dependencies = [
rns
lxmf
msgpack
urwid
qrcode
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "nomadnet" ];
meta = {
description = "Off-grid, resilient mesh communication";
homepage = "https://github.com/markqvist/NomadNet";
changelog = "https://github.com/markqvist/NomadNet/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [
drupol
fab
];
mainProgram = "nomadnet";
};
})