summary refs log tree commit diff
path: root/pkgs/applications/backup
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2020-03-28 22:32:34 +0100
committerMaximilian Bosch <maximilian@mbosch.me>2020-03-28 22:36:02 +0100
commitb938ab99e054eaed93a72e3ff772f1e537b072a5 (patch)
tree198b8254588a6d78ee614185664eeb62caee9bc7 /pkgs/applications/backup
parent74deced24da9a2b3fbf21b4c39531bd7ee3bc031 (diff)
downloadnixpkgs-b938ab99e054eaed93a72e3ff772f1e537b072a5.tar
nixpkgs-b938ab99e054eaed93a72e3ff772f1e537b072a5.tar.gz
nixpkgs-b938ab99e054eaed93a72e3ff772f1e537b072a5.tar.bz2
nixpkgs-b938ab99e054eaed93a72e3ff772f1e537b072a5.tar.lz
nixpkgs-b938ab99e054eaed93a72e3ff772f1e537b072a5.tar.xz
nixpkgs-b938ab99e054eaed93a72e3ff772f1e537b072a5.tar.zst
nixpkgs-b938ab99e054eaed93a72e3ff772f1e537b072a5.zip
vorta: init at 0.6.24
Simple QT5-based desktop client[1] for `borgbackup`[2].

[1] https://vorta.borgbase.com/
[2] https://borgbackup.readthedocs.io/en/stable/
Diffstat (limited to 'pkgs/applications/backup')
-rw-r--r--pkgs/applications/backup/vorta/default.nix42
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/applications/backup/vorta/default.nix b/pkgs/applications/backup/vorta/default.nix
new file mode 100644
index 00000000000..1a4d1832c7e
--- /dev/null
+++ b/pkgs/applications/backup/vorta/default.nix
@@ -0,0 +1,42 @@
+{ buildPythonApplication, fetchFromGitHub, lib, paramiko, peewee, pyqt5
+, python-dateutil, APScheduler, psutil, qdarkstyle, secretstorage
+, appdirs, setuptools, qt5
+}:
+
+buildPythonApplication rec {
+  pname = "vorta";
+  version = "0.6.24";
+
+  src = fetchFromGitHub {
+    owner = "borgbase";
+    repo = "vorta";
+    rev = "v${version}";
+    sha256 = "1xc4cng4npc7g739qd909a8wim6s6sn8h8bb1wpxzg4gcnfyin8z";
+  };
+
+  postPatch = ''
+    sed -i -e '/setuptools_git/d' -e '/pytest-runner/d' setup.cfg
+  '';
+
+  nativeBuildInputs = [ qt5.wrapQtAppsHook ];
+
+  propagatedBuildInputs = [
+    paramiko peewee pyqt5 python-dateutil APScheduler psutil qdarkstyle
+    secretstorage appdirs setuptools
+  ];
+
+  # QT setup in tests broken.
+  doCheck = false;
+
+  postFixup = ''
+    wrapQtApp $out/bin/vorta
+  '';
+
+  meta = with lib; {
+    license = licenses.gpl3;
+    homepage = "https://vorta.borgbase.com/";
+    maintainers = with maintainers; [ ma27 ];
+    description = "Desktop Backup Client for Borg";
+    platforms = platforms.linux;
+  };
+}