mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
castxml: use testers.testVersion
in passthru.tests
(in order to prevent CLI regressions such as https://github.com/NixOS/nixpkgs/pull/318055)
(cherry picked from commit 068d1888e7
)
This commit is contained in:
parent
eeab88f8b3
commit
c05dd69d8b
@ -7,6 +7,7 @@
|
||||
llvmPackages,
|
||||
python3,
|
||||
stdenv,
|
||||
testers,
|
||||
zlib,
|
||||
# Boolean flags
|
||||
withHTML ? true,
|
||||
@ -66,6 +67,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
passthru.tests = testers.testVersion {
|
||||
package = finalAttrs.finalPackage;
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/CastXML/CastXML";
|
||||
description = "C-family Abstract Syntax Tree XML Output";
|
||||
|
Loading…
Reference in New Issue
Block a user