diff options
author | Mx Kookie <kookie@spacekookie.de> | 2020-10-31 19:35:09 +0100 |
---|---|---|
committer | Mx Kookie <kookie@spacekookie.de> | 2020-10-31 19:35:09 +0100 |
commit | c4625b175f8200f643fd6e11010932ea44c78433 (patch) | |
tree | bce3f89888c8ac3991fa5569a878a9eab6801ccc /infra/libkookie/nixpkgs/pkgs/applications/backup/deja-dup/default.nix | |
parent | 49f735974dd103039ddc4cb576bb76555164a9e7 (diff) | |
parent | d661aa56a8843e991261510c1bb28fdc2f6975ae (diff) |
Add 'infra/libkookie/' from commit 'd661aa56a8843e991261510c1bb28fdc2f6975ae'
git-subtree-dir: infra/libkookie
git-subtree-mainline: 49f735974dd103039ddc4cb576bb76555164a9e7
git-subtree-split: d661aa56a8843e991261510c1bb28fdc2f6975ae
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/applications/backup/deja-dup/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/applications/backup/deja-dup/default.nix | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/applications/backup/deja-dup/default.nix b/infra/libkookie/nixpkgs/pkgs/applications/backup/deja-dup/default.nix new file mode 100644 index 000000000000..ad4fc9728be2 --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/applications/backup/deja-dup/default.nix @@ -0,0 +1,77 @@ +{ stdenv +, fetchFromGitLab +, substituteAll +, meson +, ninja +, pkg-config +, vala +, gettext +, itstool +, glib +, gtk3 +, coreutils +, libsoup +, libsecret +, libhandy +, wrapGAppsHook +, libgpgerror +, json-glib +, duplicity +}: + +stdenv.mkDerivation rec { + pname = "deja-dup"; + version = "42.4"; + + src = fetchFromGitLab { + domain = "gitlab.gnome.org"; + owner = "World"; + repo = pname; + rev = version; + sha256 = "c4E6mHYVb8TWVTVlmHidcLa9ebHJ27iStsNNLJhY8vY="; + }; + + patches = [ + (substituteAll { + src = ./fix-paths.patch; + inherit coreutils; + }) + ]; + + nativeBuildInputs = [ + meson + ninja + pkg-config + vala + gettext + itstool + wrapGAppsHook + ]; + + buildInputs = [ + libsoup + glib + gtk3 + libsecret + libhandy + libgpgerror + json-glib + ]; + + mesonFlags = [ + "-Dduplicity_command=${duplicity}/bin/duplicity" + ]; + + meta = with stdenv.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; + }; +} |