borgbackup: 1.2.3 -> 1.2.4

Changelog: https://github.com/borgbackup/borg/blob/1.2.4/docs/changes.rst

Co-authored-by: Franz Pletz <fpletz@fnordicwalking.de>
This commit is contained in:
Robert Schütz 2023-03-26 16:14:19 -07:00 committed by Franz Pletz
parent 43be38bd78
commit cf66aa9b55
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -11,29 +11,19 @@
, zstd
, installShellFiles
, nixosTests
, fetchpatch
, fetchPypi
}:
python3.pkgs.buildPythonApplication rec {
pname = "borgbackup";
version = "1.2.3";
version = "1.2.4";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-4yQY+GM8lvqWgTUqVutjuY4pQgNHLBFKUkJwnTaWZ4U=";
hash = "sha256-pL1U6UaegbejCmcRQjEVq8gY2c2ETsscoOYQS8U3Tag=";
};
patches = [
(fetchpatch {
# Fix HashIndexSizeTestCase.test_size_on_disk_accurate problems on ZFS,
# see https://github.com/borgbackup/borg/issues/7250
url = "https://github.com/borgbackup/borg/pull/7252/commits/fe3775cf8078c18d8fe39a7f42e52e96d3ecd054.patch";
hash = "sha256-gdssHfhdkmRfSAOeXsq9Afg7xqGM3NLIq4QnzmPBhw4=";
})
];
postPatch = ''
# sandbox does not support setuid/setgid/sticky bits
substituteInPlace src/borg/testsuite/archiver.py \
@ -125,6 +115,7 @@ python3.pkgs.buildPythonApplication rec {
outputs = [ "out" "doc" "man" ];
meta = with lib; {
changelog = "https://github.com/borgbackup/borg/blob/${version}/docs/changes.rst";
description = "Deduplicating archiver with compression and encryption";
homepage = "https://www.borgbackup.org";
license = licenses.bsd3;