2c061359ea
Diff: https://github.com/markqvist/NomadNet/compare/0.9.7...0.9.8 Changelog: https://github.com/markqvist/NomadNet/releases/tag/0.9.8
47 lines
900 B
Nix
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";
|
|
};
|
|
})
|