23b612e36f
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
45 lines
852 B
Nix
45 lines
852 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, rns
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "lxmf";
|
|
version = "0.3.9";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "markqvist";
|
|
repo = "lxmf";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-nZDcSVHR8IKlGBa5ljd3MmgzUPvG7Hv76WRfXxMsndY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|