duply: 2.4 -> 2.5.5

This commit is contained in:
emaryn
2025-04-22 06:00:15 +08:00
committed by Bjørn Forsman
parent cde4e20b29
commit ed3789c02b

View File

@@ -14,21 +14,24 @@
which,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "duply";
version = "2.4";
version = "2.5.5";
src = fetchurl {
url = "mirror://sourceforge/project/ftplicity/duply%20%28simple%20duplicity%29/2.4.x/duply_${version}.tgz";
hash = "sha256-DCrp3o/ukzkfnVaLbIK84bmYnXvqKsvlkGn3GJY3iNg=";
url = "mirror://sourceforge/project/ftplicity/duply%20%28simple%20duplicity%29/2.5.x/duply_${finalAttrs.version}.tgz";
hash = "sha256-ABryuV5jJNoxcJLsSjODLOHuLKrSEhY3buzy1cQh+AU=";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ txt2man ];
postPatch = "patchShebangs .";
installPhase = ''
runHook preInstall
mkdir -p "$out/bin"
mkdir -p "$out/share/man/man1"
install -vD duply "$out/bin"
@@ -45,9 +48,11 @@ stdenv.mkDerivation rec {
which
]}
"$out/bin/duply" txt2man > "$out/share/man/man1/duply.1"
runHook postInstall
'';
meta = with lib; {
meta = {
description = "Shell front end for the duplicity backup tool";
mainProgram = "duply";
longDescription = ''
@@ -57,8 +62,8 @@ stdenv.mkDerivation rec {
secure backups on non-trusted spaces are no child's play?
'';
homepage = "https://duply.net/";
license = licenses.gpl2Only;
maintainers = [ maintainers.bjornfor ];
license = lib.licenses.gpl2Only;
maintainers = [ lib.maintainers.bjornfor ];
platforms = lib.platforms.unix;
};
}
})