From 08c023ce6198c71a7b631faf90bd323200c462af Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Wed, 14 Mar 2018 21:15:31 +0100 Subject: [PATCH] =?UTF-8?q?appstream-glib:=200.7.6=20=E2=86=92=200.7.7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update & fix build – installed tests in $out output mentioned binaries from $dev output. --- pkgs/development/libraries/appstream-glib/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/appstream-glib/default.nix b/pkgs/development/libraries/appstream-glib/default.nix index 1ccfa85591f4..2499a424c85c 100644 --- a/pkgs/development/libraries/appstream-glib/default.nix +++ b/pkgs/development/libraries/appstream-glib/default.nix @@ -4,16 +4,16 @@ , libuuid, json-glib, meson, gperf, ninja }: stdenv.mkDerivation rec { - name = "appstream-glib-0.7.6"; + name = "appstream-glib-0.7.7"; - outputs = [ "out" "dev" "man" ]; + outputs = [ "out" "dev" "man" "installedTests" ]; outputBin = "dev"; src = fetchFromGitHub { owner = "hughsie"; repo = "appstream-glib"; rev = stdenv.lib.replaceStrings ["." "-"] ["_" "_"] name; - sha256 = "1nzm6w9n7fb2m06w88gwszaqf74bnip87ay0ca59wajq6y4mpfgv"; + sha256 = "127m5ds355i1vfvmn9nd4zqqnqm16jpqcn4p2p2pvn7i4wqxra40"; }; nativeBuildInputs = [ @@ -39,6 +39,10 @@ stdenv.mkDerivation rec { "-Ddep11=false" ]; + postInstall = '' + moveToOutput "share/installed-tests" "$installedTests" + ''; + meta = with stdenv.lib; { description = "Objects and helper methods to read and write AppStream metadata"; homepage = https://people.freedesktop.org/~hughsient/appstream-glib/;