aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/template-glib
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2017-12-31 15:47:36 +0100
committerJan Tojnar <jtojnar@gmail.com>2018-07-30 16:23:10 +0200
commitb2c565eee5fae658e53f12792141507e063de748 (patch)
tree81e167b6f44a3933b37ceaf4e6000c4827d31eac /pkgs/development/libraries/template-glib
parent67e2de195a4aa0a50ffb1e1ba0b4fb531dca67dc (diff)
template-glib: init at 3.28.0
Diffstat (limited to 'pkgs/development/libraries/template-glib')
-rw-r--r--pkgs/development/libraries/template-glib/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/libraries/template-glib/default.nix b/pkgs/development/libraries/template-glib/default.nix
new file mode 100644
index 000000000000..6ce02d588a97
--- /dev/null
+++ b/pkgs/development/libraries/template-glib/default.nix
@@ -0,0 +1,36 @@
+{ stdenv, fetchurl, meson, ninja, pkgconfig, glib, gobjectIntrospection, flex, bison, vala, gettext, gnome3, gtk-doc, docbook_xsl, docbook_xml_dtd_43 }:
+let
+ version = "3.28.0";
+ 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";
+ sha256 = "18bic41f9cx8h6n5bz80z4ridb8c1h1yscicln8zsn23zmp44x3c";
+ };
+
+ buildInputs = [ meson ninja pkgconfig gettext flex bison vala glib gtk-doc docbook_xsl docbook_xml_dtd_43 ];
+ nativeBuildInputs = [ glib gobjectIntrospection ];
+
+ 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;
+ };
+}