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/
This commit is contained in:
parent
74deced24d
commit
b938ab99e0
42
pkgs/applications/backup/vorta/default.nix
Normal file
42
pkgs/applications/backup/vorta/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
@ -3080,6 +3080,8 @@ in
|
||||
|
||||
volctl = callPackage ../tools/audio/volctl { };
|
||||
|
||||
vorta = python3Packages.callPackage ../applications/backup/vorta { };
|
||||
|
||||
wallutils = callPackage ../tools/graphics/wallutils { };
|
||||
|
||||
wev = callPackage ../tools/misc/wev { };
|
||||
|
Loading…
Reference in New Issue
Block a user