nixpkgs/pkgs/development/libraries/template-glib/default.nix

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

70 lines
1.2 KiB
Nix
Raw Normal View History

{ stdenv
, lib
, fetchurl
, meson
, ninja
, pkg-config
, glib
, gobject-introspection
, flex
, bison
, vala
, gettext
, gnome
, gtk-doc
, docbook_xsl
, docbook_xml_dtd_43
}:
stdenv.mkDerivation rec {
2017-12-31 14:47:36 +00:00
pname = "template-glib";
version = "3.36.1";
2017-12-31 14:47:36 +00:00
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "OxZ6Fzha10WvviD634EGxm0wxb10bVqh2b236AP2pQM=";
2017-12-31 14:47:36 +00:00
};
nativeBuildInputs = [
meson
ninja
pkg-config
gettext
flex
bison
vala
glib
gtk-doc
docbook_xsl
docbook_xml_dtd_43
gobject-introspection
];
buildInputs = [
glib
];
2017-12-31 14:47:36 +00:00
mesonFlags = [
"-Dgtk_doc=true"
2017-12-31 14:47:36 +00:00
];
doCheck = true;
2017-12-31 14:47:36 +00:00
passthru = {
updateScript = gnome.updateScript {
2017-12-31 14:47:36 +00:00
packageName = pname;
versionPolicy = "odd-unstable";
2017-12-31 14:47:36 +00:00
};
};
meta = with lib; {
2017-12-31 14:47:36 +00:00
description = "A library for template expansion which supports calling into GObject Introspection from templates";
homepage = "https://gitlab.gnome.org/GNOME/template-glib";
2017-12-31 14:47:36 +00:00
license = licenses.lgpl21Plus;
maintainers = teams.gnome.members;
2017-12-31 14:47:36 +00:00
platforms = platforms.unix;
};
}