depot/third_party/nixpkgs/pkgs/development/python-modules/nomadnet/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

49 lines
933 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
lxmf,
pythonOlder,
qrcode,
rns,
setuptools,
urwid,
}:
buildPythonPackage rec {
pname = "nomadnet";
version = "0.4.9";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "markqvist";
repo = "NomadNet";
rev = "refs/tags/${version}";
hash = "sha256-Ut/YifODoiHCo3bhN8nV5ZPNIr70FM6MjlZCrUuNaFc=";
};
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";
};
}