c3c: add version check
This commit is contained in:
parent
598462adbd
commit
e44f0528f4
@ -7,6 +7,7 @@
|
||||
, libxml2
|
||||
, libffi
|
||||
, xar
|
||||
, testers
|
||||
}:
|
||||
|
||||
llvmPackages.stdenv.mkDerivation rec {
|
||||
@ -50,6 +51,12 @@ llvmPackages.stdenv.mkDerivation rec {
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
version = testers.testVersion {
|
||||
package = c3c;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Compiler for the C3 language";
|
||||
homepage = "https://github.com/c3lang/c3c";
|
||||
|
Loading…
Reference in New Issue
Block a user