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

40 lines
722 B
Nix
Raw Normal View History

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