c3d2-web: add atomic-rsync

This commit is contained in:
Sandro - 2023-07-24 21:30:36 +02:00
parent 251807cc75
commit 1c1131f86a
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 16 additions and 0 deletions

View File

@ -186,6 +186,22 @@ in
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHIkIN1gi5cX2wV2WuNph/QzVK7vvYkvqnR/P69s36mZ drone@c3d2"
];
packages = with pkgs; [
(stdenv.mkDerivation {
pname = "atomic-rsync";
inherit (rsync) version src meta;
dontBuild = true;
dontConfigure = true;
buildInputs = [ python3 ];
installPhase = ''
substituteInPlace support/atomic-rsync \
--replace /usr/bin/rsync rsync
install -Dm755 support/atomic-rsync -t $out/bin
'';
})
libxslt
libxml2
rsync