Files
nixpkgs/pkgs/development/python-modules/nomadnet/default.nix
T

47 lines
900 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
lxmf,
qrcode,
rns,
setuptools,
urwid,
}:
buildPythonPackage (finalAttrs: {
pname = "nomadnet";
version = "0.9.8";
pyproject = true;
src = fetchFromGitHub {
owner = "markqvist";
repo = "NomadNet";
tag = finalAttrs.version;
hash = "sha256-az/AzYGt42PBP8w1Lzo2+/cgmXue/rHY/ohysc34SPI=";
};
build-system = [ setuptools ];
dependencies = [
rns
lxmf
urwid
qrcode
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "nomadnet" ];
meta = {
description = "Off-grid, resilient mesh communication";
homepage = "https://github.com/markqvist/NomadNet";
changelog = "https://github.com/markqvist/NomadNet/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "nomadnet";
};
})