borgmatic: 2.1.5 -> 2.1.6, add changelog (#538348)
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
}:
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "borgmatic";
|
||||
version = "2.1.5";
|
||||
version = "2.1.6";
|
||||
pyproject = true;
|
||||
|
||||
strictDeps = true;
|
||||
@@ -23,7 +23,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-T0+E6opyfr7zxfP44OlNuhqsdQyi7OdIXiE5r310LaU=";
|
||||
hash = "sha256-Mgx8PnGfTa5j6+53RVntPHa5EDJAY2NQC3fvmyRj24Y=";
|
||||
};
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
@@ -33,13 +33,17 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
[
|
||||
flexmock
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
pytest-cov-stub
|
||||
pytest-timeout
|
||||
]
|
||||
++ finalAttrs.passthru.optional-dependencies.apprise;
|
||||
++ finalAttrs.passthru.optional-dependencies.apprise
|
||||
++ finalAttrs.passthru.optional-dependencies.browse;
|
||||
|
||||
# - test_borgmatic_version_matches_news_version
|
||||
# NEWS file not available on the pypi source
|
||||
# NEWS file is available on the pypi source, but the test requires a
|
||||
# borgmatic executable. Which it can't find in difference to all the
|
||||
# other tests.
|
||||
# - test_log_outputs_includes_error_output_in_exception
|
||||
# TOCTOU race in log_outputs(): process.poll() returns None in
|
||||
# raise_for_process_errors but non-None in the while-loop exit check,
|
||||
@@ -51,6 +55,8 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
build-system = [ python3Packages.setuptools ];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
borgbackup
|
||||
colorama
|
||||
@@ -58,11 +64,14 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
packaging
|
||||
requests
|
||||
ruamel-yaml
|
||||
setuptools
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
apprise = [ python3Packages.apprise ];
|
||||
browse = with python3Packages; [
|
||||
binaryornot
|
||||
textual
|
||||
];
|
||||
};
|
||||
|
||||
postInstall =
|
||||
@@ -93,6 +102,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
meta = {
|
||||
description = "Simple, configuration-driven backup software for servers and workstations";
|
||||
homepage = "https://torsion.org/borgmatic/";
|
||||
changelog = "https://projects.torsion.org/borgmatic-collective/borgmatic/src/tag/${finalAttrs.version}/NEWS";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = lib.platforms.all;
|
||||
mainProgram = "borgmatic";
|
||||
|
||||
Reference in New Issue
Block a user