2017-10-12 14:37:56 -07:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, gettext, gtk3, glib
|
|
|
|
, gtk_doc, libarchive, gobjectIntrospection
|
|
|
|
, sqlite, libsoup, gcab, attr, acl, docbook_xsl
|
|
|
|
, libuuid, json_glib, meson, gperf, ninja
|
2015-04-10 08:02:57 -07:00
|
|
|
}:
|
2017-10-12 14:37:56 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2017-09-02 17:00:20 -07:00
|
|
|
name = "appstream-glib-0.7.2";
|
2015-04-10 08:02:57 -07:00
|
|
|
|
2016-06-16 12:14:36 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hughsie";
|
|
|
|
repo = "appstream-glib";
|
|
|
|
rev = stdenv.lib.replaceStrings ["." "-"] ["_" "_"] name;
|
2017-09-02 17:00:20 -07:00
|
|
|
sha256 = "1jvwfida12d2snc8p9lpbpqzrixw2naaiwfmsrldwkrxsj3i19pl";
|
2015-04-10 08:02:57 -07:00
|
|
|
};
|
|
|
|
|
2017-09-02 17:00:20 -07:00
|
|
|
nativeBuildInputs = [ meson pkgconfig ninja ];
|
2016-06-16 12:14:36 -07:00
|
|
|
buildInputs = [ glib gtk_doc gettext sqlite libsoup
|
|
|
|
gcab attr acl docbook_xsl libuuid json_glib
|
2017-09-02 17:00:20 -07:00
|
|
|
libarchive gobjectIntrospection gperf ];
|
2017-02-27 05:29:58 -08:00
|
|
|
propagatedBuildInputs = [ gtk3 ];
|
2017-09-02 17:00:20 -07:00
|
|
|
mesonFlags = [ "-Denable-rpm=false" "-Denable-stemmer=false" "-Denable-dep11=false" ];
|
2015-04-10 08:02:57 -07:00
|
|
|
|
|
|
|
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 12:14:36 -07:00
|
|
|
maintainers = with maintainers; [ lethalman matthewbauer ];
|
2015-04-10 08:02:57 -07:00
|
|
|
};
|
|
|
|
}
|