aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/tepl
diff options
context:
space:
mode:
authorMichael Fellinger <michael.fellinger@xing.com>2018-06-21 13:08:26 +0200
committerMichael Fellinger <michael.fellinger@xing.com>2018-06-22 10:14:28 +0200
commit6f831a7ab48607d6cf62684099e10443524c8b88 (patch)
treed9395063516a0672185cd080afd12280f94d1304 /pkgs/development/libraries/tepl
parentc89b6f47a739f02f08a9441bd3628463fde3f4e2 (diff)
Gnome-latex: init at 3.28.1
Diffstat (limited to 'pkgs/development/libraries/tepl')
-rw-r--r--pkgs/development/libraries/tepl/default.nix42
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/development/libraries/tepl/default.nix b/pkgs/development/libraries/tepl/default.nix
new file mode 100644
index 000000000000..12f953b1aa8d
--- /dev/null
+++ b/pkgs/development/libraries/tepl/default.nix
@@ -0,0 +1,42 @@
+{ stdenv, fetchurl
+, amtk, gnome3, gtksourceview4, libuchardet, libxml2, pkgconfig }:
+let
+ version = "4.1.1";
+ pname = "tepl";
+in stdenv.mkDerivation {
+ name = "${pname}-${version}";
+
+ src = fetchurl {
+ url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "13kflywpc6iyfpc9baaa54in5vzn4p7i3dh9pr2ival2nkxfnkp2";
+ };
+
+ nativeBuildInputs = [
+ pkgconfig
+ ];
+
+ buildInputs = [
+ amtk
+ libxml2
+ gtksourceview4
+ libuchardet
+ gnome3.gtk
+ ];
+
+ 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; {
+ homepage = https://wiki.gnome.org/Projects/Tepl;
+ description = "Text editor product line";
+ maintainers = [ maintainers.manveru ];
+ license = licenses.lgpl21Plus;
+ platforms = platforms.linux;
+ };
+}