@@ -1,24 +1,32 @@
1−{ stdenv, fetchurl, cmake, pkgconfig, gettext, intltool
1+{ stdenv, fetchFromGitHub, cmake, pkgconfig, gettext, intltool
22, xmlto, docbook_xsl, docbook_xml_dtd_45
33, glib, xapian, libxml2, libyaml, gobjectIntrospection
4+, pcre, itstool
45}:
56
6−stdenv.mkDerivation {
7− name = "appstream-0.9.5";
7+stdenv.mkDerivation rec {
8+ name = "appstream-${version}";
9+ version = "0.10.6";
810
9− src = fetchurl {
10− url = "https://github.com/ximion/appstream/archive/APPSTREAM_0_8_0.tar.gz";
11− sha256 = "16a3b38avrwyl1pp8jdgfjv6cd5mccbmk4asni92l40y5r0xfycr";
11+ src = fetchFromGitHub {
12+ owner = "ximion";
13+ repo = "appstream";
14+ rev = "APPSTREAM_0_10_6";
15+ sha256 = "1fg7zxx2qhkyj7fmcpwbf80b72d16kyi8dadi111kf00sgzfbiyy";
1216 };
1317
1418 nativeBuildInputs = [
1519 cmake pkgconfig gettext intltool
1620 xmlto docbook_xsl docbook_xml_dtd_45
17− gobjectIntrospection
21+ gobjectIntrospection itstool
1822 ];
1923
20− buildInputs = [ glib xapian libxml2 libyaml ];
24+ buildInputs = [ pcre glib xapian libxml2 libyaml ];
2125
26+ cmakeFlags = ''
27+ -DSTEMMING=off
28+ '';
29+
2230 meta = with stdenv.lib; {
2331 description = "Software metadata handling library";
2432 homepage = "http://www.freedesktop.org/wiki/Distributions/AppStream/Software/";