blob: e2dfe466eb77daa92718038d747174c16d3032d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
lxmf,
qrcode,
rns,
setuptools,
urwid,
}:
buildPythonPackage (finalAttrs: {
pname = "nomadnet";
version = "0.9.7";
pyproject = true;
src = fetchFromGitHub {
owner = "markqvist";
repo = "NomadNet";
tag = finalAttrs.version;
hash = "sha256-IDEbyvTX5PLPqDQ8gj5UwNkGCn+5wJx2xkYJ8BIWmWI=";
};
build-system = [ setuptools ];
dependencies = [
rns
lxmf
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; [ fab ];
mainProgram = "nomadnet";
};
})
|