889482aab3
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
43 lines
749 B
Nix
43 lines
749 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, rns
|
|
, fetchFromGitHub
|
|
, lxmf
|
|
, urwid
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nomadnet";
|
|
version = "0.1.9";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "markqvist";
|
|
repo = "NomadNet";
|
|
rev = version;
|
|
hash = "sha256-GZsARzqnLyZZU900ONv1/sejsEGMTFNIhOS+SESFBqg=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
rns
|
|
lxmf
|
|
urwid
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"nomadnet"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Off-grid, resilient mesh communication";
|
|
homepage = "https://github.com/markqvist/NomadNet";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|