9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
79 lines
1.4 KiB
Nix
79 lines
1.4 KiB
Nix
{ lib, stdenv
|
|
, fetchFromGitLab
|
|
, substituteAll
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, vala
|
|
, gettext
|
|
, itstool
|
|
, desktop-file-utils
|
|
, glib
|
|
, gtk4
|
|
, coreutils
|
|
, libsoup_3
|
|
, libsecret
|
|
, libadwaita
|
|
, wrapGAppsHook4
|
|
, libgpg-error
|
|
, json-glib
|
|
, duplicity
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "deja-dup";
|
|
version = "44.2";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.gnome.org";
|
|
owner = "World";
|
|
repo = "deja-dup";
|
|
rev = version;
|
|
hash = "sha256-TnyH2tIvzG1B2hbDPyFyaTArfuMJaP6GKw6yahwsQ1Q=";
|
|
};
|
|
|
|
patches = [
|
|
(substituteAll {
|
|
src = ./fix-paths.patch;
|
|
inherit coreutils;
|
|
})
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
vala
|
|
gettext
|
|
itstool
|
|
desktop-file-utils
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
libsoup_3
|
|
glib
|
|
gtk4
|
|
libsecret
|
|
libadwaita
|
|
libgpg-error
|
|
json-glib
|
|
];
|
|
|
|
mesonFlags = [
|
|
"-Dduplicity_command=${duplicity}/bin/duplicity"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A simple backup tool";
|
|
longDescription = ''
|
|
Déjà Dup is a simple backup tool. It hides the complexity \
|
|
of backing up the Right Way (encrypted, off-site, and regular) \
|
|
and uses duplicity as the backend.
|
|
'';
|
|
homepage = "https://wiki.gnome.org/Apps/DejaDup";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|