appstream-glib: 0.7.6 → 0.7.7

Update & fix build – installed tests in $out output mentioned binaries
from $dev output.
This commit is contained in:
Jan Tojnar 2018-03-14 21:15:31 +01:00
parent 5f58748116
commit 08c023ce61
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -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/;