2018-06-21 12:08:26 +01:00
|
|
|
{ stdenv, fetchurl
|
2019-03-09 11:41:12 +00:00
|
|
|
, amtk, gnome3, gtk3, gtksourceview4, libuchardet, libxml2, pkgconfig }:
|
2018-06-21 12:08:26 +01:00
|
|
|
let
|
2020-03-13 09:44:32 +00:00
|
|
|
version = "4.4.0";
|
2018-06-21 12:08:26 +01:00
|
|
|
pname = "tepl";
|
|
|
|
in stdenv.mkDerivation {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-03-13 09:44:32 +00:00
|
|
|
sha256 = "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6";
|
2018-06-21 12:08:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libxml2
|
2020-03-13 16:42:59 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
amtk
|
2018-06-21 12:08:26 +01:00
|
|
|
gtksourceview4
|
|
|
|
libuchardet
|
2019-03-09 11:41:12 +00:00
|
|
|
gtk3
|
2018-06-21 12:08:26 +01: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.
|
|
|
|
|
|
|
|
passthru.updateScript = gnome3.updateScript { packageName = pname; };
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/Tepl";
|
2018-06-21 12:08:26 +01:00
|
|
|
description = "Text editor product line";
|
|
|
|
maintainers = [ maintainers.manveru ];
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|