41 lines
908 B
Nix
41 lines
908 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
rns,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "lxmf";
|
|
version = "0.9.4";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "markqvist";
|
|
repo = "lxmf";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-WeEGwdbW2hmN7sdMl8tR5pmaXGqRb6y5Zb536ty3eiY=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ rns ];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "LXMF" ];
|
|
|
|
meta = {
|
|
description = "Lightweight Extensible Message Format for Reticulum";
|
|
homepage = "https://github.com/markqvist/lxmf";
|
|
changelog = "https://github.com/markqvist/LXMF/releases/tag/${finalAttrs.src.tag}";
|
|
# Reticulum License
|
|
# https://github.com/markqvist/LXMF/blob/master/LICENSE
|
|
license = lib.licenses.unfree;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
mainProgram = "lxmd";
|
|
};
|
|
})
|