2022-04-27 09:35:20 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, rns
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lxmf
|
|
|
|
, urwid
|
|
|
|
, pythonOlder
|
2022-11-27 09:42:12 +00:00
|
|
|
, qrcode
|
2022-04-27 09:35:20 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nomadnet";
|
2023-08-22 20:05:09 +00:00
|
|
|
version = "0.3.6";
|
2022-04-27 09:35:20 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "markqvist";
|
|
|
|
repo = "NomadNet";
|
2022-11-27 09:42:12 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2023-08-22 20:05:09 +00:00
|
|
|
hash = "sha256-3b6uwojekWthH5AsAVfS/ue+yAoIMac1LQff1mrM9PM=";
|
2022-04-27 09:35:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
rns
|
|
|
|
lxmf
|
|
|
|
urwid
|
2022-11-27 09:42:12 +00:00
|
|
|
qrcode
|
2022-04-27 09:35:20 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Module has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"nomadnet"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Off-grid, resilient mesh communication";
|
|
|
|
homepage = "https://github.com/markqvist/NomadNet";
|
2022-11-27 09:42:12 +00:00
|
|
|
changelog = "https://github.com/markqvist/NomadNet/releases/tag/${version}";
|
2022-04-27 09:35:20 +00:00
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|