domterm: unstable-2022-11-02 -> unstable-2023-07-22

This commit is contained in:
Gabriel Arazas 2023-07-23 10:33:27 +08:00
parent b274eba447
commit fba6c090aa
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 43 additions and 18 deletions

View File

@ -10,7 +10,7 @@ let
decker = callPackage ./decker { }; decker = callPackage ./decker { };
cosmic-launcher = callPackage ./cosmic-launcher { }; cosmic-launcher = callPackage ./cosmic-launcher { };
clidle = callPackage ./clidle.nix { }; clidle = callPackage ./clidle.nix { };
domterm = callPackage ./domterm { }; domterm = libsForQt5.callPackage ./domterm { };
fastn = callPackage ./fastn { }; fastn = callPackage ./fastn { };
freerct = callPackage ./freerct.nix { }; freerct = callPackage ./freerct.nix { };
distant = callPackage ./distant.nix { }; distant = callPackage ./distant.nix { };

View File

@ -5,27 +5,52 @@
, desktop-file-utils , desktop-file-utils
, pkg-config , pkg-config
, libwebsockets , libwebsockets
, json_c , ncurses
, openssl , openssl
, asciidoctor
, unixtools , unixtools
, zlib , zlib
, rustPlatform , rustPlatform
, qt5 , perl
, qtbase
, qtwebchannel
, qtwebengine
, wrapQtAppsHook
, withQtDocking ? false
, withKddockwidgets ? false
, kddockwidgets
, withAsciidoctor ? true
, asciidoctor
, withDocbook ? true
, docbook-xsl-ns
, libxslt
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "domterm"; pname = "domterm";
version = "unstable-2022-11-02"; version = "unstable-2023-07-22";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "PerBothner"; owner = "PerBothner";
repo = "DomTerm"; repo = "DomTerm";
rev = "71f726c387c708fd4c3a4363771afdcd1993b9eb"; rev = "33ca5ad96cd8fc274b8e97533123dd8c33fb1938";
sha256 = "sha256-De3AnruWFK73TgGFWzOC0GaHjIW52pEqPwhRj9/RQx4="; hash = "sha256-H1Nzqzz7dv4j9hkb08FCExLeq69EkFNXGzhhl/e+uxI=";
}; };
nativeBuildInputs = with qt5; [ configureFlags = [
"--with-libwebsockets"
"--enable-compiled-in-resources"
"--with-qt"
]
++ lib.optional withAsciidoctor "--with-asciidoctor"
++ lib.optional withQtDocking "--with-qt-docking"
++ lib.optional withKddockwidgets "--with-kddockwidgets"
++ lib.optional withDocbook "--with-docbook";
nativeBuildInputs = [
autoreconfHook autoreconfHook
pkg-config pkg-config
wrapQtAppsHook wrapQtAppsHook
@ -34,27 +59,27 @@ stdenv.mkDerivation rec {
qtwebengine qtwebengine
]; ];
buildInputs = with qt5; [ buildInputs = [
asciidoctor asciidoctor
desktop-file-utils desktop-file-utils
json_c ncurses
libwebsockets libwebsockets
openssl openssl
perl
unixtools.xxd unixtools.xxd
zlib zlib
]; ]
++ lib.optional withKddockwidgets kddockwidgets
configureFlags = [ ++ lib.optional withAsciidoctor asciidoctor
"--with-libwebsockets" ++ lib.optionals withDocbook [
"--with-asciidoctor" docbook-xsl-ns
"--enable-compiled-in-resources" libxslt
"--enable-debug"
"--with-qt"
]; ];
meta = with lib; { meta = with lib; {
homepage = "https://domterm.org/"; homepage = "https://domterm.org/";
description = "Terminal emulator based on web technologies."; description = "Terminal emulator based on web technologies.";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ foo-dogsquared ];
}; };
} }