Merge pull request #67584 from jtojnar/appstream-glib-cleanup
appstream-glib: clean up dependencies
This commit is contained in:
commit
d63d84d350
1 changed files with 49 additions and 10 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue