Merge pull request #67584 from jtojnar/appstream-glib-cleanup

appstream-glib: clean up dependencies
This commit is contained in:
Jan Tojnar 2019-08-27 23:02:01 +02:00 committed by GitHub
commit d63d84d350
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,26 @@
{ stdenv, fetchFromGitHub, substituteAll, pkgconfig, gettext, gtk3, glib
, gtk-doc, libarchive, gobject-introspection, libxslt, pngquant
, sqlite, libsoup, attr, acl, docbook_xsl, docbook_xml_dtd_42
, libuuid, json-glib, meson, gperf, ninja, gdk-pixbuf
{ stdenv
, fetchFromGitHub
, substituteAll
, docbook_xml_dtd_42
, docbook_xsl
, fontconfig
, freetype
, gdk-pixbuf
, gettext
, glib
, gobject-introspection
, gperf
, gtk-doc
, gtk3
, json-glib
, libarchive
, libsoup
, libuuid
, libxslt
, meson
, ninja
, pkgconfig
, pngquant
}:
stdenv.mkDerivation rec {
name = "appstream-glib-0.7.15";
@ -12,19 +31,39 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "hughsie";
repo = "appstream-glib";
rev = stdenv.lib.replaceStrings ["." "-"] ["_" "_"] name;
rev = stdenv.lib.replaceStrings [ "." "-" ] [ "_" "_" ] name;
sha256 = "16cqs1s7nqc551sipgaxbbzwap1km0n12s4lcgfbxzzl9bcjbp9m";
};
nativeBuildInputs = [
meson pkgconfig ninja gtk-doc libxslt docbook_xsl docbook_xml_dtd_42 gobject-introspection
docbook_xml_dtd_42
docbook_xsl
gettext
gobject-introspection
gperf
gtk-doc
libxslt
meson
ninja
pkgconfig
];
buildInputs = [
glib gettext sqlite libsoup
attr acl libuuid json-glib
libarchive gperf gdk-pixbuf
fontconfig
freetype
gdk-pixbuf
glib
gtk3
json-glib
libarchive
libsoup
libuuid
];
propagatedBuildInputs = [
glib
gdk-pixbuf
];
propagatedBuildInputs = [ gtk3 ];
patches = [
(substituteAll {