borgmatic: 1.8.1 -> 1.8.8

This commit is contained in:
imlonghao 2023-10-29 09:24:40 +08:00
parent 7c9cc5a6e5
commit 31deaa7d3d
No known key found for this signature in database
GPG key ID: BB80A757B3E37324

View file

@ -13,14 +13,14 @@
python3Packages.buildPythonApplication rec {
pname = "borgmatic";
version = "1.8.1";
version = "1.8.8";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-XbihTQJtoiRRfwjMCP+XEPmbt7//zFPx1fIWOvn92Nc=";
sha256 = "sha256-dPWp8SH4//HJlCrF6YRaMb32idox1E0/Gd8qc/GmP4c=";
};
nativeCheckInputs = with python3Packages; [ flexmock pytestCheckHook pytest-cov ];
nativeCheckInputs = with python3Packages; [ flexmock pytestCheckHook pytest-cov ] ++ passthru.optional-dependencies.apprise;
# - test_borgmatic_version_matches_news_version
# The file NEWS not available on the pypi source, and this test is useless
@ -40,6 +40,10 @@ python3Packages.buildPythonApplication rec {
setuptools
];
passthru.optional-dependencies = {
apprise = with python3Packages; [ apprise ];
};
postInstall = ''
installShellCompletion --cmd borgmatic \
--bash <($out/bin/borgmatic --bash-completion)