nixpkgs/pkgs/desktops/deepin/deepin-terminal/default.nix

77 lines
1.8 KiB
Nix
Raw Normal View History

{ 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 }:
2017-04-09 11:44:34 +02:00
stdenv.mkDerivation rec {
2018-10-30 23:17:45 +01:00
pname = "deepin-terminal";
version = "3.2.6";
2017-04-09 11:44:34 +02:00
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = "deepin-terminal";
rev = version;
sha256 = "09s5gvzfxfb353kb61x1b6z3h2aqgln3s3mah3f3zkf5y8hrp2pj";
2017-04-09 11:44:34 +02:00
};
nativeBuildInputs = [
pkgconfig
cmake
ninja
vala
gettext
libselinux libsepol utillinux # required by gio
deepin.setupHook
wrapGAppsHook
];
2018-08-31 20:54:39 +02:00
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}"
];
2017-04-09 11:44:34 +02:00
passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
2018-10-30 23:17:45 +01:00
2017-12-19 04:38:26 +01:00
meta = with stdenv.lib; {
description = "Default terminal emulator for Deepin";
2017-04-09 11:44:34 +02:00
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;
maintainers = [ maintainers.romildo ];
2017-04-09 11:44:34 +02:00
};
}