diff options
author | Peter Hoeg <peter@hoeg.com> | 2022-04-01 10:41:43 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2022-04-03 03:37:22 +0800 |
commit | ce05c3ae6b7ad230787b17562274716f0f36eb8c (patch) | |
tree | 7b11f0b6b37f5ae99829e361c64b7e05396ead85 | |
parent | e38cc45dd196bcbe177e6852b2f8ebc4bcca3bd7 (diff) | |
download | nixlib-ce05c3ae6b7ad230787b17562274716f0f36eb8c.tar nixlib-ce05c3ae6b7ad230787b17562274716f0f36eb8c.tar.gz nixlib-ce05c3ae6b7ad230787b17562274716f0f36eb8c.tar.bz2 nixlib-ce05c3ae6b7ad230787b17562274716f0f36eb8c.tar.lz nixlib-ce05c3ae6b7ad230787b17562274716f0f36eb8c.tar.xz nixlib-ce05c3ae6b7ad230787b17562274716f0f36eb8c.tar.zst nixlib-ce05c3ae6b7ad230787b17562274716f0f36eb8c.zip |
maestral: add NixOS tests
-rw-r--r-- | pkgs/applications/networking/maestral-qt/default.nix | 3 | ||||
-rw-r--r-- | pkgs/development/python-modules/maestral/default.nix | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/pkgs/applications/networking/maestral-qt/default.nix b/pkgs/applications/networking/maestral-qt/default.nix index 2f0f3bd74ff1..9b87073f3f41 100644 --- a/pkgs/applications/networking/maestral-qt/default.nix +++ b/pkgs/applications/networking/maestral-qt/default.nix @@ -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; diff --git a/pkgs/development/python-modules/maestral/default.nix b/pkgs/development/python-modules/maestral/default.nix index ccbd70ff48e3..63cb8db5fd46 100644 --- a/pkgs/development/python-modules/maestral/default.nix +++ b/pkgs/development/python-modules/maestral/default.nix @@ -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; |