Merge pull request #264104 from imlonghao/borgmatic/1.8.4

borgmatic: 1.8.1 -> 1.8.8
This commit is contained in:
lassulus 2024-02-25 12:26:38 +07:00 committed by GitHub
commit bbd8e19e09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)