2020-03-28 21:32:34 +00:00
|
|
|
{ buildPythonApplication, fetchFromGitHub, lib, paramiko, peewee, pyqt5
|
|
|
|
, python-dateutil, APScheduler, psutil, qdarkstyle, secretstorage
|
|
|
|
, appdirs, setuptools, qt5
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "vorta";
|
2020-09-06 09:10:21 +00:00
|
|
|
version = "0.7.0";
|
2020-03-28 21:32:34 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "borgbase";
|
|
|
|
repo = "vorta";
|
|
|
|
rev = "v${version}";
|
2020-09-06 09:10:21 +00:00
|
|
|
sha256 = "1hz19c0lphwql881n7w0ls39bbl63lccx57c3klwfyzgsxcgdy2j";
|
2020-03-28 21:32:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|