Files
nixpkgs/pkgs/development/python-modules/lxmf/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

41 lines
876 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
rns,
setuptools,
}:
buildPythonPackage rec {
pname = "lxmf";
version = "0.9.3";
pyproject = true;
src = fetchFromGitHub {
owner = "markqvist";
repo = "lxmf";
tag = version;
hash = "sha256-bPRoKJGMy+JAyhKcRXKR3Jra5K1UAjRMg0lMt2lOvzA=";
};
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/${src.tag}";
# Reticulum License
# https://github.com/markqvist/LXMF/blob/master/LICENSE
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "lxmd";
};
}