2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitLab,
|
|
|
|
meson,
|
|
|
|
ninja,
|
|
|
|
pkg-config,
|
|
|
|
wrapGAppsHook4,
|
|
|
|
desktop-file-utils,
|
|
|
|
libadwaita,
|
|
|
|
json-glib,
|
|
|
|
vte-gtk4,
|
|
|
|
libportal-gtk4,
|
|
|
|
pcre2,
|
|
|
|
}:
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "ptyxis";
|
|
|
|
version = "46.6";
|
2024-05-15 15:35:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.gnome.org";
|
|
|
|
owner = "chergert";
|
|
|
|
repo = "ptyxis";
|
2024-09-19 14:19:46 +00:00
|
|
|
rev = finalAttrs.version;
|
|
|
|
hash = "sha256-exsb5+5jxUKRHDaaBG3rJcJoqLGa6n/dsMlDtwUGfJo=";
|
2024-05-15 15:35:15 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
# FIXME: drop patched vte-gtk4 in 47.x release
|
2024-05-15 15:35:15 +00:00
|
|
|
vte-gtk4-patched = vte-gtk4.overrideAttrs (prev: {
|
|
|
|
patches = (prev.patches or [ ]) ++ [
|
2024-09-19 14:19:46 +00:00
|
|
|
"${finalAttrs.src}/build-aux/0001-a11y-implement-GtkAccessibleText.patch"
|
|
|
|
"${finalAttrs.src}/build-aux/0001-add-notification-and-shell-precmd-preexec.patch"
|
2024-05-15 15:35:15 +00:00
|
|
|
];
|
|
|
|
});
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
wrapGAppsHook4
|
|
|
|
desktop-file-utils
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libadwaita
|
|
|
|
json-glib
|
2024-09-19 14:19:46 +00:00
|
|
|
finalAttrs.vte-gtk4-patched
|
2024-05-15 15:35:15 +00:00
|
|
|
libportal-gtk4
|
|
|
|
pcre2
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Terminal for GNOME with first-class support for containers";
|
2024-05-15 15:35:15 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/chergert/ptyxis";
|
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
mainProgram = "ptyxis";
|
|
|
|
maintainers = with lib.maintainers; [ aleksana ];
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
};
|
2024-09-19 14:19:46 +00:00
|
|
|
})
|