2024-01-02 11:29:13 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2024-09-19 14:19:46 +00:00
|
|
|
, fetchFromGitLab
|
2020-11-12 09:05:59 +00:00
|
|
|
, meson
|
2023-04-12 12:48:02 +00:00
|
|
|
, mesonEmulatorHook
|
2020-11-12 09:05:59 +00:00
|
|
|
, ninja
|
|
|
|
, gobject-introspection
|
|
|
|
, gtk3
|
|
|
|
, icu
|
2024-05-15 15:35:15 +00:00
|
|
|
, libhandy
|
2024-01-02 11:29:13 +00:00
|
|
|
, libgedit-amtk
|
2024-05-15 15:35:15 +00:00
|
|
|
, libgedit-gfls
|
2024-01-02 11:29:13 +00:00
|
|
|
, libgedit-gtksourceview
|
2020-11-12 09:05:59 +00:00
|
|
|
, pkg-config
|
2022-05-18 14:49:53 +00:00
|
|
|
, gtk-doc
|
|
|
|
, docbook-xsl-nons
|
2020-11-12 09:05:59 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2024-05-15 15:35:15 +00:00
|
|
|
pname = "libgedit-tepl";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "6.11.0";
|
2020-11-12 09:05:59 +00:00
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.gnome.org";
|
|
|
|
group = "World";
|
|
|
|
owner = "gedit";
|
2024-05-15 15:35:15 +00:00
|
|
|
repo = "libgedit-tepl";
|
|
|
|
rev = version;
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-8y3EQZKYRcx2ocG7aR7tGBCE/68yPdrBcPNm6O2lM4c=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
strictDeps = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
nativeBuildInputs = [
|
2020-11-12 09:05:59 +00:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
gobject-introspection
|
|
|
|
pkg-config
|
2022-05-18 14:49:53 +00:00
|
|
|
gtk-doc
|
|
|
|
docbook-xsl-nons
|
2023-04-12 12:48:02 +00:00
|
|
|
] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
|
|
|
|
mesonEmulatorHook
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2020-11-12 09:05:59 +00:00
|
|
|
icu
|
2024-05-15 15:35:15 +00:00
|
|
|
libhandy
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
gtk3
|
2024-01-02 11:29:13 +00:00
|
|
|
libgedit-amtk
|
2024-05-15 15:35:15 +00:00
|
|
|
libgedit-gfls
|
2024-01-02 11:29:13 +00:00
|
|
|
libgedit-gtksourceview
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2024-09-19 14:19:46 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/World/gedit/libgedit-tepl";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Text editor product line";
|
2024-01-02 11:29:13 +00:00
|
|
|
maintainers = with maintainers; [ manveru bobby285271 ];
|
2020-11-12 09:05:59 +00:00
|
|
|
license = licenses.lgpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|