depot/third_party/nixpkgs/pkgs/desktops/deepin/apps/deepin-terminal/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

64 lines
1.2 KiB
Nix

{ 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.12";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
hash = "sha256-VAF6Dn9cGmipQhAKhEOLd7lJyYWySOJ+rehc9L8pfL0=";
};
cmakeFlags = [ "-DVERSION=${version}" ];
nativeBuildInputs = [
cmake
qttools
pkg-config
wrapQtAppsHook
lxqt.lxqt-build-tools_0_13
];
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";
mainProgram = "deepin-terminal";
homepage = "https://github.com/linuxdeepin/deepin-terminal";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = teams.deepin.members;
};
}