mawk: add test version
This commit is contained in:
parent
2251566513
commit
c012e3eb24
@ -3,6 +3,7 @@
|
||||
buildPackages,
|
||||
fetchurl,
|
||||
stdenv,
|
||||
testers,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@ -19,6 +20,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = finalAttrs.finalPackage;
|
||||
command = "mawk -W version";
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://invisible-island.net/mawk/mawk.html";
|
||||
changelog = "https://invisible-island.net/mawk/CHANGES";
|
||||
|
Loading…
Reference in New Issue
Block a user