nixpkgs-suyu/pkgs/development/python-modules/lxmf/default.nix
2022-05-18 18:52:24 +02:00

39 lines
722 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, rns
, pythonOlder
}:
buildPythonPackage rec {
pname = "lxmf";
version = "0.1.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "markqvist";
repo = "lxmf";
rev = "refs/tags/${version}";
hash = "sha256-n7ZEXz+jFokjqQJf8feDE6wuN2kI3xB0z+guUhGse3o=";
};
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 ];
};
}