mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
duplicati: 2.0.7.1 → 2.0.8.1 (#340085)
This commit is contained in:
commit
f4efefb9c9
@ -1,14 +1,21 @@
|
||||
{ lib, stdenv, fetchzip, mono, sqlite, makeWrapper }:
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchzip,
|
||||
mono,
|
||||
sqlite,
|
||||
makeWrapper,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "duplicati";
|
||||
version = "2.0.7.1";
|
||||
version = "2.0.8.1";
|
||||
channel = "beta";
|
||||
build_date = "2023-05-25";
|
||||
build_date = "2024-05-07";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/duplicati/duplicati/releases/download/v${version}-${version}_${channel}_${build_date}/duplicati-${version}_${channel}_${build_date}.zip";
|
||||
hash = "sha256-isPmRC6N+gEZgvJ0bgeFf5kOQJsicZOsGnT+CAGgg+U=";
|
||||
hash = "sha256-LmW6yGutxP33ghFqyOLKrGDNCQdr8DDFn/IHigsLpzA=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
@ -19,19 +26,26 @@ stdenv.mkDerivation rec {
|
||||
cp -r * $out/share/${pname}-${version}
|
||||
makeWrapper "${mono}/bin/mono" $out/bin/duplicati-cli \
|
||||
--add-flags "$out/share/${pname}-${version}/Duplicati.CommandLine.exe" \
|
||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [
|
||||
sqlite ]}
|
||||
--prefix LD_LIBRARY_PATH : ${
|
||||
lib.makeLibraryPath [
|
||||
sqlite
|
||||
]
|
||||
}
|
||||
makeWrapper "${mono}/bin/mono" $out/bin/duplicati-server \
|
||||
--add-flags "$out/share/${pname}-${version}/Duplicati.Server.exe" \
|
||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [
|
||||
sqlite ]}
|
||||
--prefix LD_LIBRARY_PATH : ${
|
||||
lib.makeLibraryPath [
|
||||
sqlite
|
||||
]
|
||||
}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Free backup client that securely stores encrypted, incremental, compressed backups on cloud storage services and remote file servers";
|
||||
homepage = "https://www.duplicati.com/";
|
||||
license = licenses.lgpl21;
|
||||
maintainers = with maintainers; [ nyanloutre ];
|
||||
maintainers = with maintainers; [ nyanloutre bot-wxt1221 ];
|
||||
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -7210,8 +7210,6 @@ with pkgs;
|
||||
|
||||
duplicacy = callPackage ../tools/backup/duplicacy { };
|
||||
|
||||
duplicati = callPackage ../tools/backup/duplicati { };
|
||||
|
||||
duplicity = callPackage ../tools/backup/duplicity { };
|
||||
|
||||
duply = callPackage ../tools/backup/duply { };
|
||||
|
Loading…
Reference in New Issue
Block a user