mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-09 02:23:20 -05:00
50 lines
833 B
Nix
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";
|
|
};
|
|
})
|