nixpkgs/pkgs/development/python-modules/nomadnet/default.nix
2026-06-25 12:53:16 +02:00

50 lines
833 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
lxmf,
msgpack,
qrcode,
rns,
setuptools,
urwid,
}:
buildPythonPackage (finalAttrs: {
pname = "nomadnet";
version = "1.2.6";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit (finalAttrs) version pname;
hash = "sha256-XNRs4avq22JslxkSlqgTOj0bKuiVwam3i9bzoMAUjAU=";
};
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";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [
drupol
fab
];
mainProgram = "nomadnet";
};
})