mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
appstream-glib: clean up
This commit is contained in:
parent
cdd40ba79e
commit
e7795a6dd7
@ -1,17 +1,9 @@
|
|||||||
{ stdenv, fetchFromGitHub, pkgconfig, gettext, gtk3, intltool, glib
|
{ stdenv, fetchFromGitHub, pkgconfig, gettext, gtk3, glib
|
||||||
, gtk_doc, autoconf, automake, libtool, libarchive
|
, gtk_doc, libarchive, gobjectIntrospection
|
||||||
, gobjectIntrospection, sqlite, libsoup, gcab, attr, acl, docbook_xsl
|
, sqlite, libsoup, gcab, attr, acl, docbook_xsl
|
||||||
, libuuid, json_glib, autoconf-archive, meson, gperf, ninja, gdk_pixbuf
|
, libuuid, json_glib, meson, gperf, ninja
|
||||||
}:
|
}:
|
||||||
let rpath = stdenv.lib.makeLibraryPath
|
stdenv.mkDerivation rec {
|
||||||
[ libuuid.out
|
|
||||||
glib
|
|
||||||
libsoup
|
|
||||||
gdk_pixbuf
|
|
||||||
libarchive.lib
|
|
||||||
gcab
|
|
||||||
];
|
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
name = "appstream-glib-0.7.2";
|
name = "appstream-glib-0.7.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
@ -28,12 +20,6 @@ in stdenv.mkDerivation rec {
|
|||||||
propagatedBuildInputs = [ gtk3 ];
|
propagatedBuildInputs = [ gtk3 ];
|
||||||
mesonFlags = [ "-Denable-rpm=false" "-Denable-stemmer=false" "-Denable-dep11=false" ];
|
mesonFlags = [ "-Denable-rpm=false" "-Denable-stemmer=false" "-Denable-dep11=false" ];
|
||||||
|
|
||||||
postFixup = ''
|
|
||||||
for elf in "$out"/bin/* "$out"/lib/*.so; do
|
|
||||||
patchelf --set-rpath '${rpath}':"$out/lib" "$elf"
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Objects and helper methods to read and write AppStream metadata";
|
description = "Objects and helper methods to read and write AppStream metadata";
|
||||||
homepage = https://github.com/hughsie/appstream-glib;
|
homepage = https://github.com/hughsie/appstream-glib;
|
||||||
|
Loading…
Reference in New Issue
Block a user