3
0
Fork 0
forked from mirrors/nixpkgs

maestral: add NixOS tests

This commit is contained in:
Peter Hoeg 2022-04-01 10:41:43 +08:00
parent e38cc45dd1
commit ce05c3ae6b
2 changed files with 20 additions and 1 deletions

View file

@ -2,6 +2,7 @@
, fetchFromGitHub , fetchFromGitHub
, python3 , python3
, wrapQtAppsHook , wrapQtAppsHook
, nixosTests
}: }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
@ -44,6 +45,8 @@ python3.pkgs.buildPythonApplication rec {
pythonImportsCheck = [ "maestral_qt" ]; pythonImportsCheck = [ "maestral_qt" ];
passthru.tests.maestral = nixosTests.maestral;
meta = with lib; { meta = with lib; {
description = "GUI front-end for maestral (an open-source Dropbox client) for Linux"; description = "GUI front-end for maestral (an open-source Dropbox client) for Linux";
license = licenses.mit; license = licenses.mit;

View file

@ -3,9 +3,23 @@
, fetchFromGitHub , fetchFromGitHub
, pythonOlder , pythonOlder
, python , 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 , importlib-metadata
, pytestCheckHook , pytestCheckHook
, nixosTests
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -66,6 +80,8 @@ buildPythonPackage rec {
pythonImportsCheck = [ "maestral" ]; pythonImportsCheck = [ "maestral" ];
passthru.tests.maestral = nixosTests.maestral;
meta = with lib; { meta = with lib; {
description = "Open-source Dropbox client for macOS and Linux"; description = "Open-source Dropbox client for macOS and Linux";
license = licenses.mit; license = licenses.mit;