2016-06-16 19:14:36 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, gettext, gtk3, intltool, glib
|
2015-04-10 15:02:57 +00:00
|
|
|
, gtk_doc, autoconf, automake, libtool, libarchive, libyaml
|
|
|
|
, gobjectIntrospection, sqlite, libsoup, gcab, attr, acl, docbook_xsl
|
2016-09-18 19:21:02 +00:00
|
|
|
, libuuid, json_glib, autoconf-archive
|
2015-04-10 15:02:57 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-09-18 19:21:02 +00:00
|
|
|
name = "appstream-glib-0.6.3";
|
2015-04-10 15:02:57 +00:00
|
|
|
|
2016-06-16 19:14:36 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hughsie";
|
|
|
|
repo = "appstream-glib";
|
|
|
|
rev = stdenv.lib.replaceStrings ["." "-"] ["_" "_"] name;
|
2016-09-18 19:21:02 +00:00
|
|
|
sha256 = "12l0vzhi9vpyrnf7vrpq21rb26mb6yskp5zgngdjyjanwhzmc617";
|
2015-04-10 15:02:57 +00:00
|
|
|
};
|
|
|
|
|
2016-09-18 19:21:02 +00:00
|
|
|
nativeBuildInputs = [ autoconf automake libtool pkgconfig intltool autoconf-archive ];
|
2016-06-16 19:14:36 +00:00
|
|
|
buildInputs = [ glib gtk_doc gettext sqlite libsoup
|
|
|
|
gcab attr acl docbook_xsl libuuid json_glib
|
2017-02-27 13:29:58 +00:00
|
|
|
libarchive libyaml gobjectIntrospection ];
|
|
|
|
propagatedBuildInputs = [ gtk3 ];
|
2015-04-10 15:02:57 +00:00
|
|
|
configureScript = "./autogen.sh";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Objects and helper methods to read and write AppStream metadata";
|
|
|
|
homepage = https://github.com/hughsie/appstream-glib;
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.linux;
|
2016-06-16 19:14:36 +00:00
|
|
|
maintainers = with maintainers; [ lethalman matthewbauer ];
|
2015-04-10 15:02:57 +00:00
|
|
|
};
|
|
|
|
}
|