borgbackup: modernize

This commit is contained in:
Robert Schütz 2024-03-30 11:49:14 -07:00
parent 72a89d1243
commit cc2adde531

View File

@ -32,14 +32,16 @@ python.pkgs.buildPythonApplication rec {
postPatch = '' postPatch = ''
# sandbox does not support setuid/setgid/sticky bits # sandbox does not support setuid/setgid/sticky bits
substituteInPlace src/borg/testsuite/archiver.py \ substituteInPlace src/borg/testsuite/archiver.py \
--replace "0o4755" "0o0755" --replace-fail "0o4755" "0o0755"
''; '';
nativeBuildInputs = with python.pkgs; [ build-system = with python.pkgs; [
cython cython
setuptools-scm setuptools-scm
pkgconfig pkgconfig
];
nativeBuildInputs = with python.pkgs; [
# docs # docs
sphinxHook sphinxHook
guzzle-sphinx-theme guzzle-sphinx-theme
@ -60,7 +62,7 @@ python.pkgs.buildPythonApplication rec {
acl acl
]; ];
propagatedBuildInputs = with python.pkgs; [ dependencies = with python.pkgs; [
msgpack msgpack
packaging packaging
(if stdenv.isLinux then pyfuse3 else llfuse) (if stdenv.isLinux then pyfuse3 else llfuse)