1 { lib, stdenv, substituteAll, fetchFromGitHub, meson, ninja, pkg-config, gettext
2 , xmlto, docbook_xsl, docbook_xml_dtd_45, libxslt
3 , libstemmer, glib, xapian, libxml2, libyaml, gobject-introspection
4 , pcre, itstool, gperf, vala, lmdb, libsoup
7 stdenv.mkDerivation rec {
11 outputs = [ "out" "dev" ];
13 src = fetchFromGitHub {
17 sha256 = "sha256-iYqmQ1/58t3ZdJTxYLDc5jkTG1lMBtQWMFFsYsszH9Q=";
23 src = ./fix-paths.patch;
24 libstemmer_includedir = "${lib.getDev libstemmer}/include";
29 meson ninja pkg-config gettext
30 libxslt xmlto docbook_xsl docbook_xml_dtd_45
31 gobject-introspection itstool vala
34 buildInputs = [ libstemmer pcre glib xapian libxml2 libyaml gperf lmdb libsoup ];
43 description = "Software metadata handling library";
44 homepage = "https://www.freedesktop.org/wiki/Distributions/AppStream/";
46 AppStream is a cross-distro effort for building Software-Center applications
47 and enhancing metadata provided by software components. It provides
48 specifications for meta-information which is shipped by upstream projects and
49 can be consumed by other software.
51 license = licenses.lgpl21Plus;
52 platforms = platforms.unix;