appstream-glib: 0.3.6 -> 0.5.11

- needed for gnome-software to build

Changed files
+13 -10
pkgs
development
libraries
appstream-glib
+13 -10
pkgs/development/libraries/appstream-glib/default.nix
···
-
{ stdenv, fetchurl, pkgconfig, gettext, gtk3, intltool, glib
+
{ stdenv, fetchFromGitHub, pkgconfig, gettext, gtk3, intltool, glib
, gtk_doc, autoconf, automake, libtool, libarchive, libyaml
, gobjectIntrospection, sqlite, libsoup, gcab, attr, acl, docbook_xsl
+
, libuuid, json_glib
}:
stdenv.mkDerivation rec {
-
name = "appstream-glib-0.3.6";
+
name = "appstream-glib-0.5.11";
-
src = fetchurl {
-
url = "https://github.com/hughsie/appstream-glib/archive/appstream_glib_0_3_6.tar.gz";
-
sha256 = "1zdxg9dk9vxw2cs04cswd138di3dysz0hxk4918750hh19s3859c";
+
src = fetchFromGitHub {
+
owner = "hughsie";
+
repo = "appstream-glib";
+
rev = stdenv.lib.replaceStrings ["." "-"] ["_" "_"] name;
+
sha256 = "1rvfncm9z29h70pd718j73cd263g6yyxkxrg7zfzy0gj6wwzvhkh";
};
-
buildInputs = [ glib libtool pkgconfig gtk_doc gettext intltool sqlite libsoup
-
gcab attr acl docbook_xsl
-
libarchive libyaml gtk3 autoconf automake gobjectIntrospection ];
+
nativeBuildInputs = [ autoconf automake libtool pkgconfig intltool ];
+
buildInputs = [ glib gtk_doc gettext sqlite libsoup
+
gcab attr acl docbook_xsl libuuid json_glib
+
libarchive libyaml gtk3 gobjectIntrospection ];
configureScript = "./autogen.sh";
···
homepage = https://github.com/hughsie/appstream-glib;
license = licenses.lgpl21Plus;
platforms = platforms.linux;
-
maintainers = with maintainers; [ lethalman ];
+
maintainers = with maintainers; [ lethalman matthewbauer ];
};
-
}