555cd8a8f9
GitOrigin-RevId: 5633bcff0c6162b9e4b5f1264264611e950c8ec7
49 lines
933 B
Nix
49 lines
933 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
lxmf,
|
|
pythonOlder,
|
|
qrcode,
|
|
rns,
|
|
setuptools,
|
|
urwid,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nomadnet";
|
|
version = "0.5.4";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "markqvist";
|
|
repo = "NomadNet";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-4dHxwTHDe8aE/FFtf9jhOO1Wf3uU7KjBa/ngj8o5iMY=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
rns
|
|
lxmf
|
|
urwid
|
|
qrcode
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "nomadnet" ];
|
|
|
|
meta = with lib; {
|
|
description = "Off-grid, resilient mesh communication";
|
|
homepage = "https://github.com/markqvist/NomadNet";
|
|
changelog = "https://github.com/markqvist/NomadNet/releases/tag/${version}";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ fab ];
|
|
mainProgram = "nomadnet";
|
|
};
|
|
}
|