Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

73 lines
1.4 KiB
Nix

{
lib,
stdenv,
meson,
fetchurl,
python3,
pkg-config,
gtk4,
glib,
gtksourceview5,
gsettings-desktop-schemas,
wrapGAppsHook4,
ninja,
gnome,
cairo,
icu,
itstool,
libadwaita,
libspelling,
editorconfig-core-c,
libxml2,
desktop-file-utils,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gnome-text-editor";
version = "48.3";
src = fetchurl {
url = "mirror://gnome/sources/gnome-text-editor/${lib.versions.major finalAttrs.version}/gnome-text-editor-${finalAttrs.version}.tar.xz";
hash = "sha256-P56XIjlO200hRcBtaSELPT/KXNK5DWMmQ751CEPVVro=";
};
nativeBuildInputs = [
desktop-file-utils
itstool
libxml2 # for xmllint
meson
ninja
pkg-config
python3
wrapGAppsHook4
];
buildInputs = [
cairo
icu
glib
gsettings-desktop-schemas
gtk4
gtksourceview5
libadwaita
libspelling
editorconfig-core-c
];
passthru = {
updateScript = gnome.updateScript {
packageName = "gnome-text-editor";
};
};
meta = with lib; {
homepage = "https://gitlab.gnome.org/GNOME/gnome-text-editor";
changelog = "https://gitlab.gnome.org/GNOME/gnome-text-editor/-/blob/${finalAttrs.version}/NEWS?ref_type=tags";
description = "Text Editor for GNOME";
mainProgram = "gnome-text-editor";
teams = [ teams.gnome ];
license = licenses.gpl3Plus;
platforms = platforms.unix;
};
})