1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pythonOlder,
6 rns,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "lxmf";
12 version = "0.8.0";
13 pyproject = true;
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchFromGitHub {
18 owner = "markqvist";
19 repo = "lxmf";
20 tag = version;
21 hash = "sha256-toxie5QdrgwyvC9v0G7mvGS6/ZEqA5gpRtEeaHgspD0=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [ rns ];
27
28 # Module has no tests
29 doCheck = false;
30
31 pythonImportsCheck = [ "LXMF" ];
32
33 meta = with lib; {
34 description = "Lightweight Extensible Message Format for Reticulum";
35 homepage = "https://github.com/markqvist/lxmf";
36 changelog = "https://github.com/markqvist/LXMF/releases/tag/${src.tag}";
37 # Reticulum License
38 # https://github.com/markqvist/LXMF/blob/master/LICENSE
39 license = licenses.unfree;
40 maintainers = with maintainers; [ fab ];
41 mainProgram = "lxmd";
42 };
43}