edf122269e
Now follows GNOME version scheme (though not the schedule). Ported to GTK 4 and libsoup 3. https://gitlab.gnome.org/World/deja-dup/-/tags/43.alpha https://gitlab.gnome.org/World/deja-dup/-/tags/43.beta https://gitlab.gnome.org/World/deja-dup/-/tags/43.0 https://gitlab.gnome.org/World/deja-dup/-/tags/43.1 https://gitlab.gnome.org/World/deja-dup/-/tags/43.2
78 lines
1.3 KiB
Nix
78 lines
1.3 KiB
Nix
{ lib, stdenv
|
|
, fetchFromGitLab
|
|
, substituteAll
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, vala
|
|
, gettext
|
|
, itstool
|
|
, glib
|
|
, gtk4
|
|
, coreutils
|
|
, libsoup_3
|
|
, libsecret
|
|
, libadwaita
|
|
, wrapGAppsHook4
|
|
, libgpg-error
|
|
, json-glib
|
|
, duplicity
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "deja-dup";
|
|
version = "43.2";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.gnome.org";
|
|
owner = "World";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-iFrPx/m/nTdm7xVVd1SZh5QNpSqI+TCbMfx0/jLgc1c=";
|
|
};
|
|
|
|
patches = [
|
|
(substituteAll {
|
|
src = ./fix-paths.patch;
|
|
inherit coreutils;
|
|
})
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
vala
|
|
gettext
|
|
itstool
|
|
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;
|
|
};
|
|
}
|