1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, gettext, intltool
, xmlto, docbook_xsl, docbook_xml_dtd_45
, glib, xapian, libxml2, libyaml, gobjectIntrospection
, pcre, itstool
}:
stdenv.mkDerivation rec {
name = "appstream-${version}";
version = "0.10.6";
src = fetchFromGitHub {
owner = "ximion";
repo = "appstream";
rev = "APPSTREAM_0_10_6";
sha256 = "1fg7zxx2qhkyj7fmcpwbf80b72d16kyi8dadi111kf00sgzfbiyy";
};
nativeBuildInputs = [
cmake pkgconfig gettext intltool
xmlto docbook_xsl docbook_xml_dtd_45
gobjectIntrospection itstool
];
buildInputs = [ pcre glib xapian libxml2 libyaml ];
cmakeFlags = ''
-DSTEMMING=off
'';
meta = with stdenv.lib; {
description = "Software metadata handling library";
homepage = https://www.freedesktop.org/wiki/Distributions/AppStream/;
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;
};
}
|