686ce24904
GitOrigin-RevId: ac1f5b72a9e95873d1de0233fddcb56f99884b37
46 lines
865 B
Nix
46 lines
865 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, rns
|
|
, fetchFromGitHub
|
|
, lxmf
|
|
, urwid
|
|
, pythonOlder
|
|
, qrcode
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nomadnet";
|
|
version = "0.3.3";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "markqvist";
|
|
repo = "NomadNet";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-7EiAvWYhYJ7S/quME6B4Iw5nw+xOnL7PMCWXLPx0O+4=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
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 ];
|
|
};
|
|
}
|