mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
49c63e498c
These empty inherits were accidentally introduced by https://github.com/NixOS/nixpkgs/pull/66585
79 lines
1.9 KiB
Nix
79 lines
1.9 KiB
Nix
{ stdenv, fetchFromGitHub, pkgconfig, cmake, ninja, vala_0_40,
|
|
gettext, at-spi2-core, dbus, epoxy, expect, gtk3, json-glib,
|
|
libXdmcp, libgee, libpthreadstubs, librsvg, libsecret, libtasn1,
|
|
libxcb, libxkbcommon, p11-kit, pcre, vte, wnck, libselinux, gnutls, pcre2,
|
|
libsepol, utillinux, deepin-menu, deepin-shortcut-viewer, deepin, wrapGAppsHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "deepin-terminal";
|
|
version = "5.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxdeepin";
|
|
repo = "deepin-terminal";
|
|
rev = version;
|
|
sha256 = "1929saj828b438d07caw3cjhqq60v6gni7mi3fqrg9wdjz81xwv7";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
cmake
|
|
ninja
|
|
vala_0_40 # xcb.vapi:411.3-411.48: error: missing return statement at end of subroutine body
|
|
gettext
|
|
libselinux libsepol utillinux # required by gio
|
|
deepin.setupHook
|
|
wrapGAppsHook
|
|
];
|
|
|
|
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
|
|
gnutls
|
|
pcre2
|
|
];
|
|
|
|
postPatch = ''
|
|
searchHardCodedPaths
|
|
'';
|
|
|
|
cmakeFlags = [
|
|
"-DTEST_BUILD=OFF"
|
|
"-DUSE_VENDOR_LIB=OFF"
|
|
"-DVERSION=${version}"
|
|
];
|
|
|
|
passthru.updateScript = deepin.updateScript { name = "${pname}-${version}"; };
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Default terminal emulator 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 ];
|
|
};
|
|
}
|