nixpkgs/pkgs/applications/misc/deepin-terminal/default.nix

32 lines
1.1 KiB
Nix
Raw Normal View History

2017-10-06 22:05:01 +02:00
{ stdenv, unzip, fetchFromGitHub, pkgconfig, gtk3, vala, cmake, vte, libgee, wnck, gettext, libsecret, json_glib }:
2017-04-09 11:44:34 +02:00
stdenv.mkDerivation rec {
name = "deepin-terminal-${version}";
2017-10-06 22:05:01 +02:00
version = "2.6.1";
2017-04-09 11:44:34 +02:00
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = "deepin-terminal";
rev = version;
2017-10-06 22:05:01 +02:00
sha256 = "11lylkrv69k2jvwparnxymr7z3x9cs82q9p0lr2wrfr48hnfwp8b";
2017-04-09 11:44:34 +02:00
};
patchPhase = ''
substituteInPlace project_path.c --replace __FILE__ \"$out/share/deepin-terminal/\"
'';
2017-10-06 22:05:01 +02:00
nativeBuildInputs = [ pkgconfig vala cmake gettext unzip ];
buildInputs = [ gtk3 vte libgee wnck libsecret json_glib ];
2017-04-09 11:44:34 +02:00
meta = {
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/;
2017-04-09 11:44:34 +02:00
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.linux;
};
}