2ce5db779a
GitOrigin-RevId: 48037fd90426e44e4bf03e6479e88a11453b9b66
65 lines
1.4 KiB
Nix
65 lines
1.4 KiB
Nix
{ lib, stdenv
|
|
, fetchurl
|
|
, meson
|
|
, ninja
|
|
, amtk
|
|
, gnome
|
|
, gobject-introspection
|
|
, gtk3
|
|
, gtksourceview4
|
|
, icu
|
|
, pkg-config
|
|
, gtk-doc
|
|
, docbook-xsl-nons
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "tepl";
|
|
version = "6.0.1";
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "J08Fa75V8wpq5EQq0i8VfQTTphtWjZC8hRF7txMgIME=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
gobject-introspection
|
|
pkg-config
|
|
gtk-doc
|
|
docbook-xsl-nons
|
|
];
|
|
|
|
buildInputs = [
|
|
icu
|
|
];
|
|
|
|
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.
|
|
|
|
passthru.updateScript = gnome.updateScript {
|
|
packageName = pname;
|
|
versionPolicy = "odd-unstable";
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://wiki.gnome.org/Projects/Tepl";
|
|
description = "Text editor product line";
|
|
maintainers = teams.gnome.members ++ [ maintainers.manveru ];
|
|
license = licenses.lgpl3Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|