nixpkgs/pkgs/development/libraries/tepl/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

70 lines
1.5 KiB
Nix
Raw Normal View History

{ lib, stdenv
2020-08-21 20:11:55 +00:00
, fetchurl
, meson
, mesonEmulatorHook
2020-08-21 20:11:55 +00:00
, ninja
, amtk
, gnome
2020-08-21 20:11:55 +00:00
, gobject-introspection
, gtk3
, gtksourceview4
, icu
, pkg-config
, gtk-doc
, docbook-xsl-nons
2020-08-21 20:11:55 +00:00
}:
stdenv.mkDerivation rec {
2018-06-21 11:08:26 +00:00
pname = "tepl";
version = "6.4.0";
2018-06-21 11:08:26 +00:00
outputs = [ "out" "dev" "devdoc" ];
2018-06-21 11:08:26 +00:00
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "XlayBmnQzwX6HWS1jIw0LFkVgSLcUYEA0JPVnfm4cyE=";
2018-06-21 11:08:26 +00:00
};
strictDeps = true;
2018-06-21 11:08:26 +00:00
nativeBuildInputs = [
2020-08-21 20:11:55 +00:00
meson
ninja
gobject-introspection
pkg-config
gtk-doc
docbook-xsl-nons
] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
mesonEmulatorHook
2018-06-21 11:08:26 +00:00
];
buildInputs = [
2020-08-21 20:11:55 +00:00
icu
];
propagatedBuildInputs = [
amtk
2018-06-21 11:08:26 +00:00
gtksourceview4
gtk3
2018-06-21 11:08:26 +00: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 = gnome.updateScript {
packageName = pname;
versionPolicy = "odd-unstable";
};
2018-06-21 11:08:26 +00:00
meta = with lib; {
homepage = "https://wiki.gnome.org/Projects/Tepl";
2018-06-21 11:08:26 +00:00
description = "Text editor product line";
2020-08-21 20:11:55 +00:00
maintainers = teams.gnome.members ++ [ maintainers.manveru ];
license = licenses.lgpl3Plus;
2018-06-21 11:08:26 +00:00
platforms = platforms.linux;
};
}