forked from mirrors/nixpkgs
1a8d6646d5
- Update to version 3.0.10 - Add some missing dependencies - Remove patch 'remove-vendor.patch' that went upstream - zssh binary path is not hardcoded anymore
72 lines
1.6 KiB
Nix
72 lines
1.6 KiB
Nix
{ stdenv, fetchurl, fetchFromGitHub, pkgconfig, cmake, ninja, vala,
|
|
gettext, gobjectIntrospection, at-spi2-core, dbus, epoxy, expect,
|
|
gtk3, json-glib, libXdmcp, libgee, libpthreadstubs, librsvg,
|
|
libsecret, libtasn1, libxcb, libxkbcommon, p11-kit, pcre, vte, wnck,
|
|
deepin-menu, deepin-shortcut-viewer, deepin }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
pname = "deepin-terminal";
|
|
version = "3.0.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxdeepin";
|
|
repo = "deepin-terminal";
|
|
rev = version;
|
|
sha256 = "1jrzx0igq2csb25k4ak5hj81gpvb7zwbg4i64p4mln4vl7x27i5q";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
cmake
|
|
ninja
|
|
vala
|
|
gettext
|
|
gobjectIntrospection # For setup hook
|
|
];
|
|
|
|
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 = ''
|
|
patchShebangs .
|
|
'';
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
passthru.updateScript = deepin.updateScript { inherit name; };
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "The default terminal emulation 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 ];
|
|
};
|
|
}
|