From 9278b39e9012cb85ea41e578697caa873282d0bb Mon Sep 17 00:00:00 2001 From: rewine Date: Tue, 1 Aug 2023 17:49:39 +0800 Subject: [PATCH] deepin-terminal: enable nixosTests.terminal-emulators --- nixos/tests/terminal-emulators.nix | 2 ++ pkgs/desktops/deepin/apps/deepin-terminal/default.nix | 3 +++ 2 files changed, 5 insertions(+) diff --git a/nixos/tests/terminal-emulators.nix b/nixos/tests/terminal-emulators.nix index 1651fd54400f..b97394194a22 100644 --- a/nixos/tests/terminal-emulators.nix +++ b/nixos/tests/terminal-emulators.nix @@ -35,6 +35,8 @@ let tests = { darktile.pkg = p: p.darktile; + deepin-terminal.pkg = p: p.deepin.deepin-terminal; + eterm.pkg = p: p.eterm; eterm.executable = "Eterm"; eterm.pinkValue = "#D40055"; diff --git a/pkgs/desktops/deepin/apps/deepin-terminal/default.nix b/pkgs/desktops/deepin/apps/deepin-terminal/default.nix index 9f27dbaab9e8..da6d12cd6ac4 100644 --- a/pkgs/desktops/deepin/apps/deepin-terminal/default.nix +++ b/pkgs/desktops/deepin/apps/deepin-terminal/default.nix @@ -17,6 +17,7 @@ , libsecret , chrpath , lxqt +, nixosTests }: stdenv.mkDerivation rec { @@ -55,6 +56,8 @@ stdenv.mkDerivation rec { strictDeps = true; + passthru.tests.test = nixosTests.terminal-emulators.deepin-terminal; + meta = with lib; { description = "Terminal emulator with workspace, multiple windows, remote management, quake mode and other features"; homepage = "https://github.com/linuxdeepin/deepin-terminal";