2022-07-16 08:45:27 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, desktop-file-utils
|
|
|
|
, pkg-config
|
|
|
|
, libwebsockets
|
|
|
|
, json_c
|
|
|
|
, openssl
|
|
|
|
, asciidoctor
|
|
|
|
, unixtools
|
|
|
|
, zlib
|
2022-11-02 10:50:44 +00:00
|
|
|
, rustPlatform
|
|
|
|
, qt5
|
2022-07-16 08:45:27 +00:00
|
|
|
}:
|
2022-05-14 14:56:34 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "domterm";
|
2022-11-02 10:50:44 +00:00
|
|
|
version = "unstable-2022-11-02";
|
2022-05-14 14:56:34 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "PerBothner";
|
|
|
|
repo = "DomTerm";
|
2022-11-02 10:50:44 +00:00
|
|
|
rev = "71f726c387c708fd4c3a4363771afdcd1993b9eb";
|
|
|
|
sha256 = "sha256-De3AnruWFK73TgGFWzOC0GaHjIW52pEqPwhRj9/RQx4=";
|
2022-05-14 14:56:34 +00:00
|
|
|
};
|
|
|
|
|
2022-11-02 10:50:44 +00:00
|
|
|
nativeBuildInputs = with qt5; [
|
2023-01-07 08:06:34 +00:00
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
2022-11-02 10:50:44 +00:00
|
|
|
wrapQtAppsHook
|
|
|
|
qtbase
|
|
|
|
qtwebchannel
|
|
|
|
qtwebengine
|
|
|
|
];
|
2022-05-14 14:56:34 +00:00
|
|
|
|
2022-11-02 10:50:44 +00:00
|
|
|
buildInputs = with qt5; [
|
2022-05-14 14:56:34 +00:00
|
|
|
asciidoctor
|
|
|
|
desktop-file-utils
|
|
|
|
json_c
|
|
|
|
libwebsockets
|
|
|
|
openssl
|
|
|
|
unixtools.xxd
|
|
|
|
zlib
|
2022-11-02 10:50:44 +00:00
|
|
|
];
|
2022-05-14 14:56:34 +00:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-libwebsockets"
|
2022-11-02 10:50:44 +00:00
|
|
|
"--with-asciidoctor"
|
|
|
|
"--enable-compiled-in-resources"
|
|
|
|
"--enable-debug"
|
|
|
|
"--with-qt"
|
|
|
|
];
|
2022-05-14 14:56:34 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://domterm.org/";
|
|
|
|
description = "Terminal emulator based on web technologies.";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|