Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

appstream-glib: 0.3.6 -> 0.5.11

- needed for gnome-software to build

+13 -10
+13 -10
pkgs/development/libraries/appstream-glib/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, gettext, gtk3, intltool, glib 1 + { stdenv, fetchFromGitHub, pkgconfig, gettext, gtk3, intltool, glib 2 2 , gtk_doc, autoconf, automake, libtool, libarchive, libyaml 3 3 , gobjectIntrospection, sqlite, libsoup, gcab, attr, acl, docbook_xsl 4 + , libuuid, json_glib 4 5 }: 5 6 6 7 stdenv.mkDerivation rec { 7 - name = "appstream-glib-0.3.6"; 8 + name = "appstream-glib-0.5.11"; 8 9 9 - src = fetchurl { 10 - url = "https://github.com/hughsie/appstream-glib/archive/appstream_glib_0_3_6.tar.gz"; 11 - sha256 = "1zdxg9dk9vxw2cs04cswd138di3dysz0hxk4918750hh19s3859c"; 10 + src = fetchFromGitHub { 11 + owner = "hughsie"; 12 + repo = "appstream-glib"; 13 + rev = stdenv.lib.replaceStrings ["." "-"] ["_" "_"] name; 14 + sha256 = "1rvfncm9z29h70pd718j73cd263g6yyxkxrg7zfzy0gj6wwzvhkh"; 12 15 }; 13 16 14 - buildInputs = [ glib libtool pkgconfig gtk_doc gettext intltool sqlite libsoup 15 - gcab attr acl docbook_xsl 16 - libarchive libyaml gtk3 autoconf automake gobjectIntrospection ]; 17 + nativeBuildInputs = [ autoconf automake libtool pkgconfig intltool ]; 18 + buildInputs = [ glib gtk_doc gettext sqlite libsoup 19 + gcab attr acl docbook_xsl libuuid json_glib 20 + libarchive libyaml gtk3 gobjectIntrospection ]; 17 21 18 22 configureScript = "./autogen.sh"; 19 23 ··· 22 26 homepage = https://github.com/hughsie/appstream-glib; 23 27 license = licenses.lgpl21Plus; 24 28 platforms = platforms.linux; 25 - maintainers = with maintainers; [ lethalman ]; 29 + maintainers = with maintainers; [ lethalman matthewbauer ]; 26 30 }; 27 - 28 31 }