deepin-terminal: 2.6.1 → 2.9.2
This commit is contained in:
parent
8eb81aa830
commit
527f075860
@ -1,31 +1,42 @@
|
|||||||
{ stdenv, unzip, fetchFromGitHub, pkgconfig, gtk3, vala, cmake, vte, libgee, wnck, gettext, libsecret, json_glib }:
|
{ stdenv, fetchurl, fetchFromGitHub, pkgconfig, gtk3, vala, cmake, vte, libgee, wnck, zssh, gettext, librsvg, libsecret, json_glib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "deepin-terminal-${version}";
|
name = "deepin-terminal-${version}";
|
||||||
version = "2.6.1";
|
version = "2.9.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "linuxdeepin";
|
owner = "linuxdeepin";
|
||||||
repo = "deepin-terminal";
|
repo = "deepin-terminal";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "11lylkrv69k2jvwparnxymr7z3x9cs82q9p0lr2wrfr48hnfwp8b";
|
sha256 = "1pmg1acs44c30hz9rpr6x1l6lyvlylc2pz5lv4ai0rhv37n51yn2";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patches = [
|
||||||
substituteInPlace project_path.c --replace __FILE__ \"$out/share/deepin-terminal/\"
|
# Do not build vendored zssh and vte
|
||||||
|
(fetchurl {
|
||||||
|
name = "remove-vendor.patch";
|
||||||
|
url = https://git.archlinux.org/svntogit/community.git/plain/trunk/remove-vendor.patch?h=packages/deepin-terminal&id=5baa756e8e6ac8ce43fb122fce270756cc55086c;
|
||||||
|
sha256 = "0zrq004malphpy7xv5z502bpq30ybyj1rr4hlq4k5m4fpk29dlw6";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace project_path.c --replace __FILE__ \"$out/share/deepin-terminal/\"
|
||||||
|
substituteInPlace ssh_login.sh --replace /usr/lib/deepin-terminal/zssh "${zssh}/bin/zssh"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig vala cmake gettext unzip ];
|
nativeBuildInputs = [ pkgconfig vala cmake gettext ];
|
||||||
buildInputs = [ gtk3 vte libgee wnck libsecret json_glib ];
|
buildInputs = [ gtk3 vte libgee wnck librsvg libsecret json_glib ];
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "The default terminal emulation for Deepin";
|
description = "The default terminal emulation for Deepin";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Deepin terminal, it sharpens your focus in the world of command line!
|
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.
|
It is an advanced terminal emulator with workspace, multiple windows, remote management, quake mode and other features.
|
||||||
'';
|
'';
|
||||||
homepage = https://github.com/linuxdeepin/deepin-terminal/;
|
homepage = https://github.com/linuxdeepin/deepin-terminal/;
|
||||||
license = stdenv.lib.licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
maintainers = with maintainers; [ ];
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -17046,7 +17046,6 @@ with pkgs;
|
|||||||
deepin-terminal = callPackage ../applications/misc/deepin-terminal {
|
deepin-terminal = callPackage ../applications/misc/deepin-terminal {
|
||||||
inherit (gnome3) libgee vte;
|
inherit (gnome3) libgee vte;
|
||||||
wnck = libwnck3;
|
wnck = libwnck3;
|
||||||
vala = vala_0_34;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
termite = callPackage ../applications/misc/termite {
|
termite = callPackage ../applications/misc/termite {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user