2018-12-02 11:41:15 +00:00
|
|
|
{ stdenv, fetchurl, meson, ninja, pkgconfig, glib, gobject-introspection, flex, bison, vala, gettext, gnome3, gtk-doc, docbook_xsl, docbook_xml_dtd_43 }:
|
2017-12-31 14:47:36 +00:00
|
|
|
let
|
2018-09-17 11:02:56 +00:00
|
|
|
version = "3.30.0";
|
2017-12-31 14:47:36 +00:00
|
|
|
pname = "template-glib";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2018-09-17 11:02:56 +00:00
|
|
|
sha256 = "0j9ndswl3fc0ymbqd6kk7yw3sniij3dgczc665p06wgw3cwhssfg";
|
2017-12-31 14:47:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ meson ninja pkgconfig gettext flex bison vala glib gtk-doc docbook_xsl docbook_xml_dtd_43 ];
|
2018-12-02 11:41:15 +00:00
|
|
|
nativeBuildInputs = [ glib gobject-introspection ];
|
2017-12-31 14:47:36 +00:00
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-Denable_gtk_doc=true"
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A library for template expansion which supports calling into GObject Introspection from templates";
|
|
|
|
homepage = https://gitlab.gnome.org/GNOME/template-glib;
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|