2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv
|
2020-08-21 22:11:55 +02:00
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, amtk
|
2021-05-07 23:18:14 +02:00
|
|
|
, gnome
|
2020-08-21 22:11:55 +02:00
|
|
|
, gobject-introspection
|
|
|
|
, gtk3
|
|
|
|
, gtksourceview4
|
|
|
|
, icu
|
|
|
|
, pkg-config
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-06-21 13:08:26 +02:00
|
|
|
pname = "tepl";
|
2021-03-21 02:29:12 +01:00
|
|
|
version = "6.00.0";
|
2018-06-21 13:08:26 +02:00
|
|
|
|
2020-10-11 07:38:13 +02:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2018-06-21 13:08:26 +02:00
|
|
|
src = fetchurl {
|
2021-01-21 18:00:13 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2021-03-21 02:29:12 +01:00
|
|
|
sha256 = "0qvs7s86gqyyrzi0r5fbrj8zczlgv8xhdjswgbgc1afwjnl9fqx8";
|
2018-06-21 13:08:26 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2020-08-21 22:11:55 +02:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
gobject-introspection
|
|
|
|
pkg-config
|
2018-06-21 13:08:26 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2020-08-21 22:11:55 +02:00
|
|
|
icu
|
2020-03-13 17:42:59 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
amtk
|
2018-06-21 13:08:26 +02:00
|
|
|
gtksourceview4
|
2019-03-09 12:41:12 +01:00
|
|
|
gtk3
|
2018-06-21 13:08:26 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
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-07 23:18:14 +02:00
|
|
|
passthru.updateScript = gnome.updateScript {
|
2021-03-21 00:57:24 +01:00
|
|
|
packageName = pname;
|
|
|
|
versionPolicy = "odd-unstable";
|
|
|
|
};
|
2018-06-21 13:08:26 +02:00
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/Tepl";
|
2018-06-21 13:08:26 +02:00
|
|
|
description = "Text editor product line";
|
2020-08-21 22:11:55 +02:00
|
|
|
maintainers = teams.gnome.members ++ [ maintainers.manveru ];
|
|
|
|
license = licenses.lgpl3Plus;
|
2018-06-21 13:08:26 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|