about summary refs log tree commit diff
path: root/nixpkgs/pkgs/desktops/deepin/apps/deepin-terminal/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/desktops/deepin/apps/deepin-terminal/default.nix')
-rw-r--r--nixpkgs/pkgs/desktops/deepin/apps/deepin-terminal/default.nix63
1 files changed, 63 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/desktops/deepin/apps/deepin-terminal/default.nix b/nixpkgs/pkgs/desktops/deepin/apps/deepin-terminal/default.nix
new file mode 100644
index 000000000000..7356d6342c4d
--- /dev/null
+++ b/nixpkgs/pkgs/desktops/deepin/apps/deepin-terminal/default.nix
@@ -0,0 +1,63 @@
+{ stdenv
+, lib
+, fetchFromGitHub
+, nixosTests
+, dtkwidget
+, qt5integration
+, qt5platform-plugins
+, cmake
+, qtbase
+, qtsvg
+, qttools
+, qtx11extras
+, pkg-config
+, wrapQtAppsHook
+, libsecret
+, chrpath
+, lxqt
+}:
+
+stdenv.mkDerivation rec {
+  pname = "deepin-terminal";
+  version = "6.0.9";
+
+  src = fetchFromGitHub {
+    owner = "linuxdeepin";
+    repo = pname;
+    rev = version;
+    hash = "sha256-QdODR4zmbMuzSVy6eJhwJHNPXkAn6oCLHq+YZEOmtIU=";
+  };
+
+  cmakeFlags = [ "-DVERSION=${version}" ];
+
+  nativeBuildInputs = [
+    cmake
+    qttools
+    pkg-config
+    wrapQtAppsHook
+    lxqt.lxqt-build-tools
+  ];
+
+  buildInputs = [
+    qt5integration
+    qt5platform-plugins
+    qtbase
+    qtsvg
+    dtkwidget
+    qtx11extras
+    libsecret
+    chrpath
+  ];
+
+  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";
+    license = licenses.gpl3Plus;
+    platforms = platforms.linux;
+    maintainers = teams.deepin.members;
+  };
+}