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

72 lines
1.6 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, fetchFromGitHub, pkgconfig, cmake, ninja, vala,
gettext, gobject-introspection, 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 }:
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";
version = "3.0.10.2";
2017-04-09 10:44:34 +01:00
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = "deepin-terminal";
rev = version;
sha256 = "0ylhp8q9kfdq9l69drawjaf0q8vcqyflb2a3zfnwbnf06dlpvkz6";
2017-04-09 10:44:34 +01:00
};
nativeBuildInputs = [
pkgconfig
cmake
ninja
vala
gettext
gobject-introspection # For setup hook
];
2018-08-31 19:54:39 +01: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 = ''
patchShebangs .
'';
enableParallelBuilding = true;
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; {
2017-04-09 10:44:34 +01:00
description = "The default terminal emulation for Deepin";
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;
maintainers = [ maintainers.romildo ];
2017-04-09 10:44:34 +01:00
};
}