borgbackup: patch bug that allowed for exceeding quotas

See also https://github.com/borgbackup/borg/issues/4093 for this.
This commit is contained in:
Justin Humm 2018-10-06 23:53:06 +02:00
parent 683c413118
commit 0cfc923813
No known key found for this signature in database
GPG Key ID: 5F24E3BD56617EB2

View File

@ -1,4 +1,4 @@
{ stdenv, python3Packages, acl, libb2, lz4, zstd, openssl, openssh }:
{ stdenv, fetchpatch, python3Packages, acl, libb2, lz4, zstd, openssl, openssh }:
python3Packages.buildPythonApplication rec {
pname = "borgbackup";
@ -9,6 +9,15 @@ python3Packages.buildPythonApplication rec {
sha256 = "f7b51a132e9edfbe1cacb4f478b28caf3622d79fffcb369bdae9f92d8c8a7fdc";
};
patches = [
# Workarounds for https://github.com/borgbackup/borg/issues/4093
# Can be deleted when 1.1.8 comes out
(fetchpatch {
url = "https://github.com/borgbackup/borg/commit/975cc33206e0e3644626fb7204c34d2157715b61.patch";
sha256 = "0b7apaixpa7bk0sy7g5ycm98cjpkg5gkwcgm7m37xj35lzxdlxhc";
})
];
nativeBuildInputs = with python3Packages; [
# For building documentation:
sphinx guzzle_sphinx_theme