nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 17.09 43 lines 1.3 kB view raw
1{ stdenv, fetchFromGitHub, cmake, pkgconfig, gettext, intltool 2, xmlto, docbook_xsl, docbook_xml_dtd_45 3, glib, xapian, libxml2, libyaml, gobjectIntrospection 4, pcre, itstool 5}: 6 7stdenv.mkDerivation rec { 8 name = "appstream-${version}"; 9 version = "0.10.6"; 10 11 src = fetchFromGitHub { 12 owner = "ximion"; 13 repo = "appstream"; 14 rev = "APPSTREAM_0_10_6"; 15 sha256 = "1fg7zxx2qhkyj7fmcpwbf80b72d16kyi8dadi111kf00sgzfbiyy"; 16 }; 17 18 nativeBuildInputs = [ 19 cmake pkgconfig gettext intltool 20 xmlto docbook_xsl docbook_xml_dtd_45 21 gobjectIntrospection itstool 22 ]; 23 24 buildInputs = [ pcre glib xapian libxml2 libyaml ]; 25 26 cmakeFlags = '' 27 -DSTEMMING=off 28 ''; 29 30 meta = with stdenv.lib; { 31 description = "Software metadata handling library"; 32 homepage = "http://www.freedesktop.org/wiki/Distributions/AppStream/Software/"; 33 longDescription = 34 '' 35 AppStream is a cross-distro effort for building Software-Center applications 36 and enhancing metadata provided by software components. It provides 37 specifications for meta-information which is shipped by upstream projects and 38 can be consumed by other software. 39 ''; 40 license = licenses.lgpl21Plus; 41 platforms = platforms.linux; 42 }; 43}