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