1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/development/libraries/appstream/default.nix

44 lines
1.2 KiB
Nix
Raw Normal View History

2017-03-11 00:49:01 +00:00
{ stdenv, fetchFromGitHub, cmake, pkgconfig, gettext, intltool
2015-01-22 07:02:54 +00:00
, xmlto, docbook_xsl, docbook_xml_dtd_45
, glib, xapian, libxml2, libyaml, gobjectIntrospection
2017-03-11 00:49:01 +00:00
, pcre, itstool
2015-01-22 07:02:54 +00:00
}:
2017-03-11 00:49:01 +00:00
stdenv.mkDerivation rec {
name = "appstream-${version}";
version = "0.10.6";
2016-05-06 18:03:44 +01:00
2017-03-11 00:49:01 +00:00
src = fetchFromGitHub {
owner = "ximion";
repo = "appstream";
rev = "APPSTREAM_0_10_6";
sha256 = "1fg7zxx2qhkyj7fmcpwbf80b72d16kyi8dadi111kf00sgzfbiyy";
2016-05-06 18:03:44 +01:00
};
nativeBuildInputs = [
cmake pkgconfig gettext intltool
xmlto docbook_xsl docbook_xml_dtd_45
2017-03-11 00:49:01 +00:00
gobjectIntrospection itstool
2016-05-06 18:03:44 +01:00
];
2017-03-11 00:49:01 +00:00
buildInputs = [ pcre glib xapian libxml2 libyaml ];
2015-01-22 07:02:54 +00:00
2017-03-11 00:49:01 +00:00
cmakeFlags = ''
-DSTEMMING=off
'';
2017-10-26 22:26:26 +01:00
2015-01-22 07:02:54 +00:00
meta = with stdenv.lib; {
description = "Software metadata handling library";
2017-10-26 22:26:26 +01:00
homepage = https://www.freedesktop.org/wiki/Distributions/AppStream/;
2015-01-22 07:02:54 +00:00
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;
};
}