2018-10-31 01:16:20 +01:00
|
|
|
{ stdenv, fetchurl, fetchFromGitHub, pkgconfig, cmake, ninja, vala,
|
2018-12-02 12:41:15 +01:00
|
|
|
gettext, gobject-introspection, at-spi2-core, dbus, epoxy, expect,
|
2018-10-31 01:16:20 +01:00
|
|
|
gtk3, json-glib, libXdmcp, libgee, libpthreadstubs, librsvg,
|
|
|
|
libsecret, libtasn1, libxcb, libxkbcommon, p11-kit, pcre, vte, wnck,
|
|
|
|
deepin-menu, deepin-shortcut-viewer, deepin }:
|
2017-04-09 11:44:34 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-10-30 23:17:45 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "deepin-terminal";
|
2018-11-19 22:29:12 +01:00
|
|
|
version = "3.0.10.2";
|
2017-04-09 11:44:34 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxdeepin";
|
|
|
|
repo = "deepin-terminal";
|
|
|
|
rev = version;
|
2018-11-19 22:29:12 +01:00
|
|
|
sha256 = "0ylhp8q9kfdq9l69drawjaf0q8vcqyflb2a3zfnwbnf06dlpvkz6";
|
2017-04-09 11:44:34 +02:00
|
|
|
};
|
|
|
|
|
2017-12-13 12:31:14 +01:00
|
|
|
nativeBuildInputs = [
|
2018-09-04 13:45:16 +02:00
|
|
|
pkgconfig
|
|
|
|
cmake
|
|
|
|
ninja
|
2018-10-31 01:16:20 +01:00
|
|
|
vala
|
2018-09-04 13:45:16 +02:00
|
|
|
gettext
|
2018-12-02 12:41:15 +01:00
|
|
|
gobject-introspection # For setup hook
|
2017-12-13 12:31:14 +01:00
|
|
|
];
|
2018-08-31 20:54:39 +02:00
|
|
|
|
2018-09-04 13:45:16 +02:00
|
|
|
buildInputs = [
|
2018-10-31 01:16:20 +01:00
|
|
|
at-spi2-core
|
|
|
|
dbus
|
|
|
|
deepin-menu
|
|
|
|
deepin-shortcut-viewer
|
|
|
|
epoxy
|
|
|
|
expect
|
2018-09-04 13:45:16 +02:00
|
|
|
gtk3
|
2018-10-31 01:16:20 +01:00
|
|
|
json-glib
|
|
|
|
libXdmcp
|
2018-09-04 13:45:16 +02:00
|
|
|
libgee
|
2018-10-31 01:16:20 +01:00
|
|
|
libpthreadstubs
|
2018-09-04 13:45:16 +02:00
|
|
|
librsvg
|
|
|
|
libsecret
|
2018-10-31 01:16:20 +01:00
|
|
|
libtasn1
|
|
|
|
libxcb
|
|
|
|
libxkbcommon
|
|
|
|
p11-kit
|
|
|
|
pcre
|
|
|
|
vte
|
|
|
|
wnck
|
2018-09-04 13:45:16 +02:00
|
|
|
];
|
|
|
|
|
2018-10-31 01:16:20 +01:00
|
|
|
postPatch = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
|
|
|
|
2018-09-04 13:45:16 +02:00
|
|
|
enableParallelBuilding = true;
|
2017-04-09 11:44:34 +02:00
|
|
|
|
2018-10-30 23:17:45 +01:00
|
|
|
passthru.updateScript = deepin.updateScript { inherit name; };
|
|
|
|
|
2017-12-19 04:38:26 +01:00
|
|
|
meta = with stdenv.lib; {
|
2017-04-09 11:44:34 +02:00
|
|
|
description = "The default terminal emulation for Deepin";
|
|
|
|
longDescription = ''
|
2017-12-19 04:38:26 +01:00
|
|
|
Deepin terminal, it sharpens your focus in the world of command line!
|
2018-08-31 20:54:39 +02:00
|
|
|
It is an advanced terminal emulator with workspace, multiple
|
|
|
|
windows, remote management, quake mode and other features.
|
2017-04-09 11:44:34 +02:00
|
|
|
'';
|
2018-08-31 20:54:39 +02:00
|
|
|
homepage = https://github.com/linuxdeepin/deepin-terminal;
|
2017-12-19 04:38:26 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
2018-09-04 04:06:56 +02:00
|
|
|
maintainers = [ maintainers.romildo ];
|
2017-04-09 11:44:34 +02:00
|
|
|
};
|
|
|
|
}
|