2021-12-24 04:21:11 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, automake, autoconf, intltool, pkg-config, gtk3, vte, wrapGAppsHook
|
2022-03-30 09:31:56 +00:00
|
|
|
, libxslt, docbook_xml_dtd_412, docbook_xsl, libxml2, findXMLCatalogs, nixosTests
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
2021-12-24 04:21:11 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "lxterminal";
|
2021-12-24 04:21:11 +00:00
|
|
|
version = "0.3.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-24 04:21:11 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lxde";
|
|
|
|
repo = "lxterminal";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-5J21Xvx43Ie01IxB2usyixDl+WZEeFHn2HXZsRS5imo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-man"
|
|
|
|
"--enable-gtk3"
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-02-05 17:12:51 +00:00
|
|
|
automake autoconf intltool pkg-config wrapGAppsHook
|
2020-04-24 23:36:52 +00:00
|
|
|
libxslt docbook_xml_dtd_412 docbook_xsl libxml2 findXMLCatalogs
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [ gtk3 vte ];
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
./respect-xml-catalog-files-var.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
passthru.tests.test = nixosTests.terminal-emulators.lxterminal;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
|
|
|
description = "The standard terminal emulator of LXDE";
|
|
|
|
longDescription = ''
|
|
|
|
LXTerminal is the standard terminal emulator of LXDE. The terminal is a
|
|
|
|
desktop-independent VTE-based terminal emulator for LXDE without any
|
|
|
|
unnecessary dependencies.
|
|
|
|
'';
|
|
|
|
homepage = "https://wiki.lxde.org/en/LXTerminal";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = [ lib.maintainers.velovix ];
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|