Merge pull request #135258 from SFrijters/maestral-1.4.8

maestral-gui: 1.4.6 -> 1.4.8
This commit is contained in:
Sandro 2021-08-23 11:45:51 +02:00 committed by GitHub
commit 4a08ee1ebe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 8 deletions

View File

@ -6,14 +6,14 @@
python3.pkgs.buildPythonApplication rec {
pname = "maestral-qt";
version = "1.4.6";
version = "1.4.8";
disabled = python3.pkgs.pythonOlder "3.6";
src = fetchFromGitHub {
owner = "SamSchott";
repo = "maestral-qt";
rev = "v${version}";
sha256 = "sha256-Y4n67LJyNUsLmGMu7B73n888qmCQ9HjxCSM1MlfTbqQ=";
sha256 = "sha256-lP6ASWizIQC3TkkIOHS6cBbgLNoGrSx/sThtl9bMjys=";
};
propagatedBuildInputs = with python3.pkgs; [
@ -40,6 +40,8 @@ python3.pkgs.buildPythonApplication rec {
# no tests
doCheck = false;
pythonImportsCheck = [ "maestral_qt" ];
meta = with lib; {
description = "GUI front-end for maestral (an open-source Dropbox client) for Linux";
license = licenses.mit;

View File

@ -10,14 +10,14 @@
buildPythonPackage rec {
pname = "desktop-notifier";
version = "3.3.1";
version = "3.3.2";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "SamSchott";
repo = pname;
rev = "v${version}";
sha256 = "sha256-GbsbwCKRTgLk0xK6MGKb1Tp6cd8q3h6OUdJ2f+VPyzk=";
sha256 = "sha256-h7an/Fm9pNnThCHXg9PAKG822dqXE/CUuW8lDJlwMfw=";
};
propagatedBuildInputs = [

View File

@ -5,18 +5,19 @@
, python
, click, desktop-notifier, dropbox, fasteners, keyring, keyrings-alt, packaging, pathspec, Pyro5, requests, setuptools, sdnotify, survey, watchdog
, importlib-metadata
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "maestral";
version = "1.4.6";
version = "1.4.8";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "SamSchott";
repo = "maestral";
rev = "v${version}";
sha256 = "sha256-kaRcM8Z0xeDp3JYputKZmzTfYYq2oKpF7AM6ciFF7I4=";
sha256 = "sha256-sxPogzQW+P8yrqaaJHrQu7e0ztgwWUI0kLikcmrhYoQ=";
};
propagatedBuildInputs = [
@ -44,8 +45,24 @@ buildPythonPackage rec {
"--prefix" "PYTHONPATH" ":" "$out/lib/${python.libPrefix}/site-packages"
];
# no tests
doCheck = false;
checkInputs = [
pytestCheckHook
];
disabledTests = [
# We don't want to benchmark
"test_performance"
# Requires systemd
"test_autostart"
# Requires network access
"test_check_for_updates"
# Tries to look at /usr
"test_filestatus"
"test_path_exists_case_insensitive"
"test_cased_path_candidates"
];
pythonImportsCheck = [ "maestral" ];
meta = with lib; {
description = "Open-source Dropbox client for macOS and Linux";