2019-06-16 20:59:06 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, cmake, ninja, vala,
|
2018-11-27 17:23:56 +00:00
|
|
|
gettext, at-spi2-core, dbus, epoxy, expect, gtk3, json-glib,
|
|
|
|
libXdmcp, libgee, libpthreadstubs, librsvg, libsecret, libtasn1,
|
|
|
|
libxcb, libxkbcommon, p11-kit, pcre, vte, wnck, libselinux,
|
2019-07-22 03:53:18 +01:00
|
|
|
libsepol, utillinux, deepin-menu, deepin-shortcut-viewer, deepin, wrapGAppsHook }:
|
2017-04-09 10:44:34 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-10-30 22:17:45 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "deepin-terminal";
|
2019-06-22 13:26:34 +01:00
|
|
|
version = "3.2.6";
|
2017-04-09 10:44:34 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxdeepin";
|
|
|
|
repo = "deepin-terminal";
|
|
|
|
rev = version;
|
2019-06-22 13:26:34 +01:00
|
|
|
sha256 = "09s5gvzfxfb353kb61x1b6z3h2aqgln3s3mah3f3zkf5y8hrp2pj";
|
2017-04-09 10:44:34 +01:00
|
|
|
};
|
|
|
|
|
2017-12-13 11:31:14 +00:00
|
|
|
nativeBuildInputs = [
|
2018-09-04 12:45:16 +01:00
|
|
|
pkgconfig
|
|
|
|
cmake
|
|
|
|
ninja
|
2018-10-31 00:16:20 +00:00
|
|
|
vala
|
2018-09-04 12:45:16 +01:00
|
|
|
gettext
|
2018-11-27 17:23:56 +00:00
|
|
|
libselinux libsepol utillinux # required by gio
|
|
|
|
deepin.setupHook
|
2019-07-22 03:53:18 +01:00
|
|
|
wrapGAppsHook
|
2017-12-13 11:31:14 +00:00
|
|
|
];
|
2018-08-31 19:54:39 +01:00
|
|
|
|
2018-09-04 12:45:16 +01:00
|
|
|
buildInputs = [
|
2018-10-31 00:16:20 +00:00
|
|
|
at-spi2-core
|
|
|
|
dbus
|
|
|
|
deepin-menu
|
|
|
|
deepin-shortcut-viewer
|
|
|
|
epoxy
|
|
|
|
expect
|
2018-09-04 12:45:16 +01:00
|
|
|
gtk3
|
2018-10-31 00:16:20 +00:00
|
|
|
json-glib
|
|
|
|
libXdmcp
|
2018-09-04 12:45:16 +01:00
|
|
|
libgee
|
2018-10-31 00:16:20 +00:00
|
|
|
libpthreadstubs
|
2018-09-04 12:45:16 +01:00
|
|
|
librsvg
|
|
|
|
libsecret
|
2018-10-31 00:16:20 +00:00
|
|
|
libtasn1
|
|
|
|
libxcb
|
|
|
|
libxkbcommon
|
|
|
|
p11-kit
|
|
|
|
pcre
|
|
|
|
vte
|
|
|
|
wnck
|
2018-09-04 12:45:16 +01:00
|
|
|
];
|
|
|
|
|
2018-10-31 00:16:20 +00:00
|
|
|
postPatch = ''
|
2018-11-27 17:23:56 +00:00
|
|
|
searchHardCodedPaths
|
2018-10-31 00:16:20 +00:00
|
|
|
'';
|
|
|
|
|
2018-11-27 17:23:56 +00:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DTEST_BUILD=OFF"
|
|
|
|
"-DUSE_VENDOR_LIB=OFF"
|
|
|
|
"-DVERSION=${version}"
|
|
|
|
];
|
2017-04-09 10:44:34 +01:00
|
|
|
|
2018-10-30 22:17:45 +00:00
|
|
|
passthru.updateScript = deepin.updateScript { inherit name; };
|
|
|
|
|
2017-12-19 03:38:26 +00:00
|
|
|
meta = with stdenv.lib; {
|
2018-11-27 17:23:56 +00:00
|
|
|
description = "Default terminal emulator for Deepin";
|
2017-04-09 10:44:34 +01:00
|
|
|
longDescription = ''
|
2017-12-19 03:38:26 +00:00
|
|
|
Deepin terminal, it sharpens your focus in the world of command line!
|
2018-08-31 19:54:39 +01:00
|
|
|
It is an advanced terminal emulator with workspace, multiple
|
|
|
|
windows, remote management, quake mode and other features.
|
2017-04-09 10:44:34 +01:00
|
|
|
'';
|
2018-08-31 19:54:39 +01:00
|
|
|
homepage = https://github.com/linuxdeepin/deepin-terminal;
|
2017-12-19 03:38:26 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
2018-09-04 03:06:56 +01:00
|
|
|
maintainers = [ maintainers.romildo ];
|
2017-04-09 10:44:34 +01:00
|
|
|
};
|
|
|
|
}
|