Merge pull request #23735 from ndowens/appstream

appstream: 0.9.5 -> 0.10.6
This commit is contained in:
Michael Raskin 2017-03-18 19:23:26 +01:00 committed by GitHub
commit 7adf4cc405

View File

@ -1,24 +1,32 @@
{ stdenv, fetchurl, cmake, pkgconfig, gettext, intltool { stdenv, fetchFromGitHub, cmake, pkgconfig, gettext, intltool
, xmlto, docbook_xsl, docbook_xml_dtd_45 , xmlto, docbook_xsl, docbook_xml_dtd_45
, glib, xapian, libxml2, libyaml, gobjectIntrospection , glib, xapian, libxml2, libyaml, gobjectIntrospection
, pcre, itstool
}: }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "appstream-0.9.5"; name = "appstream-${version}";
version = "0.10.6";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/ximion/appstream/archive/APPSTREAM_0_8_0.tar.gz"; owner = "ximion";
sha256 = "16a3b38avrwyl1pp8jdgfjv6cd5mccbmk4asni92l40y5r0xfycr"; repo = "appstream";
rev = "APPSTREAM_0_10_6";
sha256 = "1fg7zxx2qhkyj7fmcpwbf80b72d16kyi8dadi111kf00sgzfbiyy";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
cmake pkgconfig gettext intltool cmake pkgconfig gettext intltool
xmlto docbook_xsl docbook_xml_dtd_45 xmlto docbook_xsl docbook_xml_dtd_45
gobjectIntrospection gobjectIntrospection itstool
]; ];
buildInputs = [ glib xapian libxml2 libyaml ]; buildInputs = [ pcre glib xapian libxml2 libyaml ];
cmakeFlags = ''
-DSTEMMING=off
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Software metadata handling library"; description = "Software metadata handling library";
homepage = "http://www.freedesktop.org/wiki/Distributions/AppStream/Software/"; homepage = "http://www.freedesktop.org/wiki/Distributions/AppStream/Software/";