Merge pull request #246533 from wineee/terminal-emulators

deepin-terminal: enable nixosTests.terminal-emulators
This commit is contained in:
Nick Cao 2023-08-01 18:27:28 -06:00 committed by GitHub
commit c1e1fe0068
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -35,6 +35,8 @@ let tests = {
darktile.pkg = p: p.darktile; darktile.pkg = p: p.darktile;
deepin-terminal.pkg = p: p.deepin.deepin-terminal;
eterm.pkg = p: p.eterm; eterm.pkg = p: p.eterm;
eterm.executable = "Eterm"; eterm.executable = "Eterm";
eterm.pinkValue = "#D40055"; eterm.pinkValue = "#D40055";
@ -121,7 +123,7 @@ in mapAttrs (name: { pkg, executable ? name, cmd ? "SHELL=$command ${executable}
maintainers = [ jjjollyjim ]; maintainers = [ jjjollyjim ];
}; };
machine = { pkgsInner, ... }: nodes.machine = { pkgsInner, ... }:
{ {
imports = [ ./common/x11.nix ./common/user-account.nix ]; imports = [ ./common/x11.nix ./common/user-account.nix ];

View file

@ -2,6 +2,7 @@
, lib , lib
, fetchFromGitHub , fetchFromGitHub
, fetchpatch , fetchpatch
, nixosTests
, dtkwidget , dtkwidget
, qt5integration , qt5integration
, qt5platform-plugins , qt5platform-plugins
@ -55,6 +56,8 @@ stdenv.mkDerivation rec {
strictDeps = true; strictDeps = true;
passthru.tests.test = nixosTests.terminal-emulators.deepin-terminal;
meta = with lib; { meta = with lib; {
description = "Terminal emulator with workspace, multiple windows, remote management, quake mode and other features"; description = "Terminal emulator with workspace, multiple windows, remote management, quake mode and other features";
homepage = "https://github.com/linuxdeepin/deepin-terminal"; homepage = "https://github.com/linuxdeepin/deepin-terminal";