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

35 lines
1007 B
Nix
Raw Normal View History

2018-11-10 14:21:27 +00:00
{ 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}";
2018-12-30 17:39:19 +00:00
version = "0.1.6";
2018-11-10 14:21:27 +00:00
outputs = [ "out" "lib" "dev" "devdoc" ];
src = fetchFromGitHub {
owner = "hughsie";
repo = "libxmlb";
rev = version;
2018-12-30 17:39:19 +00:00
sha256 = "194slg11lp2i8zvc4a3zkzshps7qglzmrabp5k0r92rampx4dbwa";
2018-11-10 14:21:27 +00:00
};
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;
};
}