python3Packages.nomadnet: init at 0.1.7

This commit is contained in:
Fabian Affolter 2022-04-09 16:03:34 +02:00
parent bed3a732cb
commit 5d89f26566
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, rns
, fetchFromGitHub
, lxmf
, urwid
, pythonOlder
}:
buildPythonPackage rec {
pname = "nomadnet";
version = "0.1.7";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "markqvist";
repo = "NomadNet";
rev = version;
hash = "sha256-WJpcV6+cnK1525lbYvkWqrGasioph72nuoNV4oWxVK0=";
};
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 ];
};
}

View File

@ -5413,6 +5413,8 @@ in {
nanoleaf = callPackage ../development/python-modules/nanoleaf { };
nomadnet = callPackage ../development/python-modules/nomadnet { };
nanomsg-python = callPackage ../development/python-modules/nanomsg-python {
inherit (pkgs) nanomsg;
};