Merge pull request #223318 from dotlambda/borgbackup-1.2.4

borgbackup: 1.2.3 -> 1.2.4
This commit is contained in:
Pol Dellaiera 2023-06-21 14:58:13 +02:00 committed by GitHub
commit 3cd360a2de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;