1{ stdenv, fetchFromGitHub, pkgconfig, gettext, gtk3, intltool, glib
2, gtk_doc, autoconf, automake, libtool, libarchive, libyaml
3, gobjectIntrospection, sqlite, libsoup, gcab, attr, acl, docbook_xsl
4, libuuid, json_glib, autoconf-archive, gperf
5}:
6
7stdenv.mkDerivation rec {
8 name = "appstream-glib-0.6.13";
9
10 src = fetchFromGitHub {
11 owner = "hughsie";
12 repo = "appstream-glib";
13 rev = stdenv.lib.replaceStrings ["." "-"] ["_" "_"] name;
14 sha256 = "1csscszdp1imd0hiib6xx7mfylfl1r64xmma14p5jq1yprprpa9h";
15 };
16
17 nativeBuildInputs = [ autoconf automake libtool pkgconfig intltool autoconf-archive ];
18 buildInputs = [ glib gtk_doc gettext sqlite libsoup
19 gcab attr acl docbook_xsl libuuid json_glib
20 libarchive libyaml gobjectIntrospection gperf ];
21 propagatedBuildInputs = [ gtk3 ];
22 configureScript = "./autogen.sh";
23
24 meta = with stdenv.lib; {
25 description = "Objects and helper methods to read and write AppStream metadata";
26 homepage = https://github.com/hughsie/appstream-glib;
27 license = licenses.lgpl21Plus;
28 platforms = platforms.linux;
29 maintainers = with maintainers; [ lethalman matthewbauer ];
30 };
31}