mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
72 lines
1.3 KiB
Nix
72 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
meson,
|
|
fetchurl,
|
|
python3,
|
|
pkg-config,
|
|
gtk4,
|
|
glib,
|
|
gtksourceview5,
|
|
gsettings-desktop-schemas,
|
|
wrapGAppsHook4,
|
|
ninja,
|
|
gnome,
|
|
cairo,
|
|
enchant,
|
|
icu,
|
|
itstool,
|
|
libadwaita,
|
|
editorconfig-core-c,
|
|
libxml2,
|
|
desktop-file-utils,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "gnome-text-editor";
|
|
version = "46.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/gnome-text-editor/${lib.versions.major finalAttrs.version}/gnome-text-editor-${finalAttrs.version}.tar.xz";
|
|
hash = "sha256-AFtIEEqQm+Zq4HRI0rxXBsfRE3gQV6JP9tpVvfMkxz0=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
desktop-file-utils
|
|
itstool
|
|
libxml2 # for xmllint
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
python3
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
cairo
|
|
enchant
|
|
icu
|
|
glib
|
|
gsettings-desktop-schemas
|
|
gtk4
|
|
gtksourceview5
|
|
libadwaita
|
|
editorconfig-core-c
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = "gnome-text-editor";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://gitlab.gnome.org/GNOME/gnome-text-editor";
|
|
description = "Text Editor for GNOME";
|
|
mainProgram = "gnome-text-editor";
|
|
maintainers = teams.gnome.members;
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.unix;
|
|
};
|
|
})
|