39 lines
722 B
Nix
39 lines
722 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, rns
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "lxmf";
|
|
version = "0.1.7";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "markqvist";
|
|
repo = "lxmf";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-SRDUFDtXJ1ZkX8A4ekF+YSOnxj/vsFsvr3W/LOIuerg=";
|
|
};
|
|
|
|
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";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|