nixpkgs/pkgs/development/python-modules/lxmf/default.nix

41 lines
799 B
Nix

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