2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv
|
2020-11-12 09:05:59 +00:00
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, amtk
|
2021-05-20 23:08:51 +00:00
|
|
|
, gnome
|
2020-11-12 09:05:59 +00:00
|
|
|
, gobject-introspection
|
|
|
|
, gtk3
|
|
|
|
, gtksourceview4
|
|
|
|
, icu
|
|
|
|
, 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 {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "tepl";
|
2022-11-21 17:40:18 +00:00
|
|
|
version = "6.2.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
|
|
|
|
|
|
|
src = fetchurl {
|
2021-02-05 17:12:51 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2022-11-21 17:40:18 +00:00
|
|
|
sha256 = "jNaGXCw4GIdgyzjK4z3J4KiI+tGNCwTx1V5laqmJqEQ=";
|
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
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2020-11-12 09:05:59 +00:00
|
|
|
icu
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
amtk
|
|
|
|
gtksourceview4
|
|
|
|
gtk3
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
# TODO: one test fails because of
|
|
|
|
# (./test-file-metadata:20931): Tepl-WARNING **: 14:41:36.942: GVfs metadata
|
|
|
|
# is not supported. Fallback to TeplMetadataManager. Either GVfs is not
|
|
|
|
# correctly installed or GVfs metadata are not supported on this platform. In
|
|
|
|
# the latter case, you should configure Tepl with --disable-gvfs-metadata.
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
passthru.updateScript = gnome.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
versionPolicy = "odd-unstable";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/Tepl";
|
|
|
|
description = "Text editor product line";
|
2020-11-12 09:05:59 +00:00
|
|
|
maintainers = teams.gnome.members ++ [ maintainers.manveru ];
|
|
|
|
license = licenses.lgpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|