3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/tepl/default.nix

43 lines
1.2 KiB
Nix
Raw Normal View History

2018-06-21 12:08:26 +01:00
{ stdenv, fetchurl
, amtk, gnome3, gtksourceview4, libuchardet, libxml2, pkgconfig }:
let
2018-07-31 10:36:42 +01:00
version = "4.2.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";
2018-07-31 10:36:42 +01:00
sha256 = "1kcwcr72dv3xwi2ni579c9raa0cnbazfnmy6mgapzn6dir1d8fc8";
2018-06-21 12:08:26 +01:00
};
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;
};
}