diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2018-11-10 15:21:27 +0100 |
---|---|---|
committer | worldofpeace <worldofpeace@users.noreply.github.com> | 2018-12-12 21:38:31 -0500 |
commit | a6f78420085dbb4eaec3789bf504cc5bccd5fcea (patch) | |
tree | 894ad1c62da27acac7c3d122d3616c8394bb9430 /pkgs/development/libraries/libxmlb | |
parent | 3dbbd9f8c221949e442a4803981cd6d1aed24be8 (diff) |
libxmlb: init at 0.1.5
Diffstat (limited to 'pkgs/development/libraries/libxmlb')
-rw-r--r-- | pkgs/development/libraries/libxmlb/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libxmlb/default.nix b/pkgs/development/libraries/libxmlb/default.nix new file mode 100644 index 0000000000000..201940f1705e8 --- /dev/null +++ b/pkgs/development/libraries/libxmlb/default.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, glib, libuuid, gobject-introspection, gtk-doc, shared-mime-info, python3, docbook_xsl, docbook_xml_dtd_43 }: + +stdenv.mkDerivation rec { + name = "libxmlb-${version}"; + version = "0.1.5"; + + outputs = [ "out" "lib" "dev" "devdoc" ]; + + src = fetchFromGitHub { + owner = "hughsie"; + repo = "libxmlb"; + rev = version; + sha256 = "037j9fwkzsy3765gl2grkrmbxrfs67wlai213qbgsa5xn6fb8y68"; + }; + + nativeBuildInputs = [ meson ninja python3 pkgconfig gobject-introspection gtk-doc shared-mime-info docbook_xsl docbook_xml_dtd_43 ]; + + buildInputs = [ glib libuuid ]; + + mesonFlags = [ + "--libexecdir=${placeholder "out"}/libexec" + "-Dgtkdoc=true" + ]; + + doCheck = true; + + meta = with stdenv.lib; { + description = "A library to help create and query binary XML blobs"; + homepage = https://github.com/hughsie/libxmlb; + license = licenses.lgpl21Plus; + maintainers = with maintainers; [ jtojnar ]; + platforms = platforms.unix; + }; +} |