1
1
{ stdenv , fetchFromGitHub , pkgconfig , gettext , gtk3 , intltool , glib
2
2
, gtk_doc , autoconf , automake , libtool , libarchive
3
3
, gobjectIntrospection , sqlite , libsoup , gcab , attr , acl , docbook_xsl
4
- , libuuid , json_glib , autoconf-archive , meson , gperf , ninja
4
+ , libuuid , json_glib , autoconf-archive , meson , gperf , ninja , gdk_pixbuf
5
5
} :
6
-
7
- stdenv . mkDerivation rec {
6
+ let rpath = stdenv . lib . makeLibraryPath
7
+ [ libuuid . out
8
+ glib
9
+ libsoup
10
+ gdk_pixbuf
11
+ libarchive . lib
12
+ gcab
13
+ ] ;
14
+ in stdenv . mkDerivation rec {
8
15
name = "appstream-glib-0.7.2" ;
9
16
10
17
src = fetchFromGitHub {
@@ -21,6 +28,8 @@ stdenv.mkDerivation rec {
21
28
propagatedBuildInputs = [ gtk3 ] ;
22
29
mesonFlags = [ "-Denable-rpm=false" "-Denable-stemmer=false" "-Denable-dep11=false" ] ;
23
30
31
+ postFixup = "patchelf --set-rpath ${ rpath } $out/lib/libappstream-glib.so" ;
32
+
24
33
meta = with stdenv . lib ; {
25
34
description = "Objects and helper methods to read and write AppStream metadata" ;
26
35
homepage = https://github.com/hughsie/appstream-glib ;
2 commit comments
shlevy commentedon Sep 10, 2017
@vcunat
vcunat commentedon Sep 13, 2017
Well, efeef04.