mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
borgbackup: backport msgspec 1.2.1 support
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
acl,
|
||||
e2fsprogs,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
libb2,
|
||||
lz4,
|
||||
openssh,
|
||||
@@ -32,6 +33,26 @@ python.pkgs.buildPythonApplication (finalAttrs: {
|
||||
hash = "sha256-pMZr9cVr84b948b5Iuevpy6AtMeYo/Ma8uFLuagAYy4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "msgspec-1.2.0-compat.patch";
|
||||
url = "https://github.com/borgbackup/borg/commit/364438f58c86aebd157b55bd2202afaf5945e008.patch";
|
||||
excludes = [ "docs/changes.rst" ];
|
||||
hash = "sha256-YhZDD6i2cn7p00Dgmpqi8uGJzFZzixMZmHPcZroB1sE=";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "msgspec-1.2.1-compat.patch";
|
||||
url = "https://github.com/borgbackup/borg/commit/8abdd3b8bf065dceecd52d2b22d92b3c407a7c1d.patch";
|
||||
excludes = [ "docs/changes.rst" ];
|
||||
hash = "sha256-bvSRxEzNvejG6PQFkeNDuQB7Zd4/EYPEZkrgjpgQ9Ss=";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "msgspec-1.2.1-unpacker-compat.patch";
|
||||
url = "https://github.com/borgbackup/borg/commit/b09bbed3de095d6ac9d69a42a486ec18523046dc.patch";
|
||||
hash = "sha256-F8CIqOcQOLdYn7srsev2op0pgkgt8zdkc5DQUH1c6xg=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# sandbox does not support setuid/setgid/sticky bits
|
||||
substituteInPlace src/borg/testsuite/archiver.py \
|
||||
|
||||
Reference in New Issue
Block a user