libfyaml: add pkg-config tester
This commit is contained in:
parent
caa9885f7c
commit
d819d35ccd
1 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook }:
|
||||
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook, testers }:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "libfyaml";
|
||||
|
@ -21,11 +21,16 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
patchShebangs test
|
||||
'';
|
||||
|
||||
passthru.tests.pkg-config = testers.hasPkgConfigModules {
|
||||
package = finalAttrs.finalPackage;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/pantoniou/libfyaml";
|
||||
description = "Fully feature complete YAML parser and emitter, supporting the latest YAML spec and passing the full YAML testsuite";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
pkgConfigModules = [ "libfyaml" ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue