Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-16.03 35 lines 1.1 kB view raw
1{ stdenv, fetchurl, cmake, pkgconfig, gettext, intltool 2, xmlto, docbook_xsl, docbook_xml_dtd_45 3, glib, xapian, libxml2, libyaml, gobjectIntrospection 4}: 5 6stdenv.mkDerivation { 7 name = "appstream-0.8.0"; 8 9 meta = with stdenv.lib; { 10 description = "Software metadata handling library"; 11 homepage = "http://www.freedesktop.org/wiki/Distributions/AppStream/Software/"; 12 longDescription = 13 '' 14 AppStream is a cross-distro effort for building Software-Center applications 15 and enhancing metadata provided by software components. It provides 16 specifications for meta-information which is shipped by upstream projects and 17 can be consumed by other software. 18 ''; 19 license = licenses.lgpl21Plus; 20 platforms = platforms.linux; 21 }; 22 23 src = fetchurl { 24 url = "https://github.com/ximion/appstream/archive/APPSTREAM_0_8_0.tar.gz"; 25 sha256 = "16a3b38avrwyl1pp8jdgfjv6cd5mccbmk4asni92l40y5r0xfycr"; 26 }; 27 28 nativeBuildInputs = [ 29 cmake pkgconfig gettext intltool 30 xmlto docbook_xsl docbook_xml_dtd_45 31 gobjectIntrospection 32 ]; 33 34 buildInputs = [ glib xapian libxml2 libyaml ]; 35}