2023-02-02 18:25:31 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
2023-08-04 22:07:22 +00:00
|
|
|
, nixosTests
|
2023-02-02 18:25:31 +00:00
|
|
|
, dtkwidget
|
|
|
|
, qt5integration
|
|
|
|
, qt5platform-plugins
|
|
|
|
, cmake
|
|
|
|
, qtbase
|
2023-03-15 16:39:30 +00:00
|
|
|
, qtsvg
|
2023-02-02 18:25:31 +00:00
|
|
|
, qttools
|
|
|
|
, qtx11extras
|
|
|
|
, pkg-config
|
|
|
|
, wrapQtAppsHook
|
|
|
|
, libsecret
|
|
|
|
, chrpath
|
|
|
|
, lxqt
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "deepin-terminal";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "6.0.9";
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxdeepin";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-QdODR4zmbMuzSVy6eJhwJHNPXkAn6oCLHq+YZEOmtIU=";
|
2023-02-02 18:25:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cmakeFlags = [ "-DVERSION=${version}" ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
qttools
|
|
|
|
pkg-config
|
|
|
|
wrapQtAppsHook
|
|
|
|
lxqt.lxqt-build-tools
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2023-04-29 16:46:19 +00:00
|
|
|
qt5integration
|
|
|
|
qt5platform-plugins
|
2023-03-15 16:39:30 +00:00
|
|
|
qtbase
|
|
|
|
qtsvg
|
2023-02-02 18:25:31 +00:00
|
|
|
dtkwidget
|
|
|
|
qtx11extras
|
|
|
|
libsecret
|
|
|
|
chrpath
|
|
|
|
];
|
|
|
|
|
|
|
|
strictDeps = true;
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
passthru.tests.test = nixosTests.terminal-emulators.deepin-terminal;
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Terminal emulator with workspace, multiple windows, remote management, quake mode and other features";
|
|
|
|
homepage = "https://github.com/linuxdeepin/deepin-terminal";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = teams.deepin.members;
|
|
|
|
};
|
|
|
|
}
|