1{ stdenv, fetchurl, cmake, pkgconfig, gettext, intltool
2, xmlto, docbook_xsl, docbook_xml_dtd_45
3, glib, xapian, libxml2, libyaml, gobjectIntrospection
4}:
5
6stdenv.mkDerivation {
7 name = "appstream-0.8.0";
8
9 meta = with stdenv.lib; {
10 description = "Software metadata handling library";
11 homepage = "http://www.freedesktop.org/wiki/Distributions/AppStream/Software/";
12 longDescription =
13 ''
14 AppStream is a cross-distro effort for building Software-Center applications
15 and enhancing metadata provided by software components. It provides
16 specifications for meta-information which is shipped by upstream projects and
17 can be consumed by other software.
18 '';
19 license = licenses.lgpl21Plus;
20 platforms = platforms.linux;
21 maintainers = with maintainers; [ iyzsong ];
22 };
23
24 src = fetchurl {
25 url = "https://github.com/ximion/appstream/archive/APPSTREAM_0_8_0.tar.gz";
26 sha256 = "16a3b38avrwyl1pp8jdgfjv6cd5mccbmk4asni92l40y5r0xfycr";
27 };
28
29 nativeBuildInputs = [
30 cmake pkgconfig gettext intltool
31 xmlto docbook_xsl docbook_xml_dtd_45
32 gobjectIntrospection
33 ];
34
35 buildInputs = [ glib xapian libxml2 libyaml ];
36}