735199a210
This switches a majority of the applications to using qt5.mkDerivation which automatically adds wrapQtAppsHook. In certain places, where GLib and gtk intersect with Qt, we also needed to use wrapGAppsHook. In these cases there will be multiple wrappers.
78 lines
1.8 KiB
Nix
78 lines
1.8 KiB
Nix
{ stdenv, fetchFromGitHub, pkgconfig, cmake, ninja, vala,
|
|
gettext, at-spi2-core, dbus, epoxy, expect, gtk3, json-glib,
|
|
libXdmcp, libgee, libpthreadstubs, librsvg, libsecret, libtasn1,
|
|
libxcb, libxkbcommon, p11-kit, pcre, vte, wnck, libselinux,
|
|
libsepol, utillinux, deepin-menu, deepin-shortcut-viewer, deepin, wrapGAppsHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
pname = "deepin-terminal";
|
|
version = "3.2.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxdeepin";
|
|
repo = "deepin-terminal";
|
|
rev = version;
|
|
sha256 = "09s5gvzfxfb353kb61x1b6z3h2aqgln3s3mah3f3zkf5y8hrp2pj";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
cmake
|
|
ninja
|
|
vala
|
|
gettext
|
|
libselinux libsepol utillinux # required by gio
|
|
deepin.setupHook
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
at-spi2-core
|
|
dbus
|
|
deepin-menu
|
|
deepin-shortcut-viewer
|
|
epoxy
|
|
expect
|
|
gtk3
|
|
json-glib
|
|
libXdmcp
|
|
libgee
|
|
libpthreadstubs
|
|
librsvg
|
|
libsecret
|
|
libtasn1
|
|
libxcb
|
|
libxkbcommon
|
|
p11-kit
|
|
pcre
|
|
vte
|
|
wnck
|
|
];
|
|
|
|
postPatch = ''
|
|
searchHardCodedPaths
|
|
'';
|
|
|
|
cmakeFlags = [
|
|
"-DTEST_BUILD=OFF"
|
|
"-DUSE_VENDOR_LIB=OFF"
|
|
"-DVERSION=${version}"
|
|
];
|
|
|
|
passthru.updateScript = deepin.updateScript { inherit name; };
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Default terminal emulator for Deepin";
|
|
longDescription = ''
|
|
Deepin terminal, it sharpens your focus in the world of command line!
|
|
It is an advanced terminal emulator with workspace, multiple
|
|
windows, remote management, quake mode and other features.
|
|
'';
|
|
homepage = https://github.com/linuxdeepin/deepin-terminal;
|
|
license = licenses.gpl3;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.romildo ];
|
|
};
|
|
}
|