mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
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:
parent
5f58748116
commit
08c023ce61
@ -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/;
|
||||
|
Loading…
Reference in New Issue
Block a user