nixpkgs/pkgs/by-name/pt/ptyxis/package.nix
2024-11-10 11:21:47 +08:00

54 lines
978 B
Nix

{
lib,
stdenv,
fetchFromGitLab,
meson,
ninja,
pkg-config,
wrapGAppsHook4,
desktop-file-utils,
libadwaita,
json-glib,
vte-gtk4,
libportal-gtk4,
pcre2,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "ptyxis";
version = "47.4";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "chergert";
repo = "ptyxis";
rev = finalAttrs.version;
hash = "sha256-G2WesIaz+eYiDExyMi6Ww2cHMthuxAX5b+B68dz6Yb0=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
wrapGAppsHook4
desktop-file-utils
];
buildInputs = [
libadwaita
json-glib
vte-gtk4
libportal-gtk4
pcre2
];
meta = {
description = "Terminal for GNOME with first-class support for containers";
homepage = "https://gitlab.gnome.org/chergert/ptyxis";
license = lib.licenses.gpl3Plus;
mainProgram = "ptyxis";
maintainers = with lib.maintainers; [ aleksana ];
platforms = lib.platforms.linux;
};
})