1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, rns
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "lxmf";
10 version = "0.2.4";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.7";
14
15 src = fetchFromGitHub {
16 owner = "markqvist";
17 repo = "lxmf";
18 rev = "refs/tags/${version}";
19 hash = "sha256-yr+CU8MgBIUHuw40oNmm+//DG+iB0m7geBh4doaqV/0=";
20 };
21
22 propagatedBuildInputs = [
23 rns
24 ];
25
26 # Module has no tests
27 doCheck = false;
28
29 pythonImportsCheck = [
30 "LXMF"
31 ];
32
33 meta = with lib; {
34 description = "Lightweight Extensible Message Format for Reticulum";
35 homepage = "https://github.com/markqvist/lxmf";
36 license = licenses.mit;
37 maintainers = with maintainers; [ fab ];
38 };
39}