appstream-glib: clean up dependencies

This commit is contained in:
Jan Tojnar 2019-08-27 21:46:43 +02:00
parent 3f4144c30a
commit ca15e26d4d
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

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 {