aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/appstream-glib
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2018-03-14 21:15:31 +0100
committerJan Tojnar <jtojnar@gmail.com>2018-03-22 07:46:49 +0100
commit08c023ce6198c71a7b631faf90bd323200c462af (patch)
tree984b008dfb9da893ce20255044c65a410ee81801 /pkgs/development/libraries/appstream-glib
parent5f587481167641d689cdf4c6633c2421a342a96e (diff)
appstream-glib: 0.7.6 → 0.7.7
Update & fix build – installed tests in $out output mentioned binaries from $dev output.
Diffstat (limited to 'pkgs/development/libraries/appstream-glib')
-rw-r--r--pkgs/development/libraries/appstream-glib/default.nix10
1 files 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/;