biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / terminal-emulators / lxterminal / default.nix
blob90483efc89a51d6b2e2c1e2aea8eb2b6f6e3cebb
1 { lib, stdenv, fetchFromGitHub, automake, autoconf, intltool, pkg-config, gtk3, vte, wrapGAppsHook
2 , libxslt, docbook_xml_dtd_412, docbook_xsl, libxml2, findXMLCatalogs, nixosTests
3 , pcre2
4 }:
6 stdenv.mkDerivation rec {
7   pname = "lxterminal";
8   version = "0.4.0";
10   src = fetchFromGitHub {
11     owner = "lxde";
12     repo = "lxterminal";
13     rev = version;
14     sha256 = "sha256-bCF/V6yFe4vKqVMOtNlwYyw/ickj1LFuFn4IyypwIg0=";
15   };
17   configureFlags = [
18     "--enable-man"
19     "--enable-gtk3"
20   ];
22   nativeBuildInputs = [
23     automake autoconf intltool pkg-config wrapGAppsHook
24     libxslt docbook_xml_dtd_412 docbook_xsl libxml2 findXMLCatalogs
25   ];
27   buildInputs = [ gtk3 vte pcre2 ];
29   patches = [
30     ./respect-xml-catalog-files-var.patch
31   ];
33   preConfigure = ''
34     ./autogen.sh
35   '';
37   doCheck = true;
39   passthru.tests.test = nixosTests.terminal-emulators.lxterminal;
41   meta = {
42     description = "The standard terminal emulator of LXDE";
43     longDescription = ''
44       LXTerminal is the standard terminal emulator of LXDE. The terminal is a
45       desktop-independent VTE-based terminal emulator for LXDE without any
46       unnecessary dependencies.
47     '';
48     homepage = "https://wiki.lxde.org/en/LXTerminal";
49     license = lib.licenses.gpl2;
50     maintainers = [ lib.maintainers.pbsds ];
51     platforms = lib.platforms.linux;
52     mainProgram = "lxterminal";
53   };