Files
nixpkgs/pkgs/by-name/xe/xed-editor/package.nix
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

75 lines
1.3 KiB
Nix

{
stdenv,
lib,
fetchFromGitHub,
libxml2,
libpeas,
glib,
gtk3,
gtksourceview4,
gspell,
xapp,
pkg-config,
python3,
meson,
ninja,
versionCheckHook,
wrapGAppsHook3,
intltool,
itstool,
}:
stdenv.mkDerivation rec {
pname = "xed-editor";
version = "3.8.4";
src = fetchFromGitHub {
owner = "linuxmint";
repo = "xed";
rev = version;
hash = "sha256-pI9gjAA5dn0QwZKGungQ1xpQJmnfCxmqWR0VBEQ5v84=";
};
patches = [
# We patch gobject-introspection and meson to store absolute paths to libraries in typelibs
# but that requires the install_dir is an absolute path.
./correct-gir-lib-path.patch
];
nativeBuildInputs = [
meson
pkg-config
intltool
itstool
ninja
python3
versionCheckHook
wrapGAppsHook3
];
buildInputs = [
libxml2
glib
gtk3
gtksourceview4
libpeas
gspell
xapp
];
doInstallCheck = true;
versionCheckProgram = "${placeholder "out"}/bin/xed";
meta = with lib; {
description = "Light weight text editor from Linux Mint";
homepage = "https://github.com/linuxmint/xed";
license = licenses.gpl2Only;
platforms = platforms.linux;
maintainers = with maintainers; [
tu-maurice
bobby285271
];
mainProgram = "xed";
};
}