2025-07-24 03:02:51 +00:00

44 lines
926 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
rns,
setuptools,
}:
buildPythonPackage rec {
pname = "lxmf";
version = "0.8.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "markqvist";
repo = "lxmf";
tag = version;
hash = "sha256-toxie5QdrgwyvC9v0G7mvGS6/ZEqA5gpRtEeaHgspD0=";
};
build-system = [ setuptools ];
dependencies = [ rns ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "LXMF" ];
meta = with lib; {
description = "Lightweight Extensible Message Format for Reticulum";
homepage = "https://github.com/markqvist/lxmf";
changelog = "https://github.com/markqvist/LXMF/releases/tag/${src.tag}";
# Reticulum License
# https://github.com/markqvist/LXMF/blob/master/LICENSE
license = licenses.unfree;
maintainers = with maintainers; [ fab ];
mainProgram = "lxmd";
};
}