mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
maestral: add NixOS tests
This commit is contained in:
parent
e38cc45dd1
commit
ce05c3ae6b
2 changed files with 20 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
, fetchFromGitHub
|
||||
, python3
|
||||
, wrapQtAppsHook
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
|
@ -44,6 +45,8 @@ python3.pkgs.buildPythonApplication rec {
|
|||
|
||||
pythonImportsCheck = [ "maestral_qt" ];
|
||||
|
||||
passthru.tests.maestral = nixosTests.maestral;
|
||||
|
||||
meta = with lib; {
|
||||
description = "GUI front-end for maestral (an open-source Dropbox client) for Linux";
|
||||
license = licenses.mit;
|
||||
|
|
|
@ -3,9 +3,23 @@
|
|||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, python
|
||||
, click, desktop-notifier, dropbox, fasteners, keyring, keyrings-alt, packaging, pathspec, Pyro5, requests, setuptools, sdnotify, survey, watchdog
|
||||
, click
|
||||
, desktop-notifier
|
||||
, dropbox
|
||||
, fasteners
|
||||
, keyring
|
||||
, keyrings-alt
|
||||
, packaging
|
||||
, pathspec
|
||||
, Pyro5
|
||||
, requests
|
||||
, setuptools
|
||||
, sdnotify
|
||||
, survey
|
||||
, watchdog
|
||||
, importlib-metadata
|
||||
, pytestCheckHook
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -66,6 +80,8 @@ buildPythonPackage rec {
|
|||
|
||||
pythonImportsCheck = [ "maestral" ];
|
||||
|
||||
passthru.tests.maestral = nixosTests.maestral;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Open-source Dropbox client for macOS and Linux";
|
||||
license = licenses.mit;
|
||||
|
|
Loading…
Reference in a new issue