2017-03-11 01:49:01 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, gettext, intltool
|
2015-01-22 08:02:54 +01:00
|
|
|
, xmlto, docbook_xsl, docbook_xml_dtd_45
|
|
|
|
, glib, xapian, libxml2, libyaml, gobjectIntrospection
|
2017-03-11 01:49:01 +01:00
|
|
|
, pcre, itstool
|
2015-01-22 08:02:54 +01:00
|
|
|
}:
|
|
|
|
|
2017-03-11 01:49:01 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "appstream-${version}";
|
|
|
|
version = "0.10.6";
|
2016-05-06 19:03:44 +02:00
|
|
|
|
2017-03-11 01:49:01 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ximion";
|
|
|
|
repo = "appstream";
|
|
|
|
rev = "APPSTREAM_0_10_6";
|
|
|
|
sha256 = "1fg7zxx2qhkyj7fmcpwbf80b72d16kyi8dadi111kf00sgzfbiyy";
|
2016-05-06 19:03:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake pkgconfig gettext intltool
|
|
|
|
xmlto docbook_xsl docbook_xml_dtd_45
|
2017-03-11 01:49:01 +01:00
|
|
|
gobjectIntrospection itstool
|
2016-05-06 19:03:44 +02:00
|
|
|
];
|
|
|
|
|
2017-03-11 01:49:01 +01:00
|
|
|
buildInputs = [ pcre glib xapian libxml2 libyaml ];
|
2015-01-22 08:02:54 +01:00
|
|
|
|
2017-03-11 01:49:01 +01:00
|
|
|
cmakeFlags = ''
|
|
|
|
-DSTEMMING=off
|
|
|
|
'';
|
|
|
|
|
2015-01-22 08:02:54 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Software metadata handling library";
|
|
|
|
homepage = "http://www.freedesktop.org/wiki/Distributions/AppStream/Software/";
|
|
|
|
longDescription =
|
|
|
|
''
|
|
|
|
AppStream is a cross-distro effort for building Software-Center applications
|
|
|
|
and enhancing metadata provided by software components. It provides
|
|
|
|
specifications for meta-information which is shipped by upstream projects and
|
|
|
|
can be consumed by other software.
|
|
|
|
'';
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|