depot/third_party/nixpkgs/pkgs/development/python-modules/lxmf/default.nix
Default email 555cd8a8f9 Project import generated by Copybara.
GitOrigin-RevId: 5633bcff0c6162b9e4b5f1264264611e950c8ec7
2024-10-09 18:51:18 +02:00

41 lines
854 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
rns,
setuptools,
}:
buildPythonPackage rec {
pname = "lxmf";
version = "0.5.5";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "markqvist";
repo = "lxmf";
rev = "refs/tags/${version}";
hash = "sha256-1zZRONzKafXfnmszRl7oCRTFBsy9U1bUaOzWwt7jLzY=";
};
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/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "lxmd";
};
}