40 lines
799 B
Nix
40 lines
799 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, rns
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "lxmf";
|
|
version = "0.2.8";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "markqvist";
|
|
repo = "lxmf";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-JSr9qLyRg0pMZHuvfo/ZO9/Hwl7ZHTrMGkrcejVRweY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
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 ];
|
|
};
|
|
}
|