hwinfo: add version test
This commit is contained in:
committed by
Bjørn Forsman
parent
2e5d7834d3
commit
1d42ebe5d5
@@ -8,6 +8,7 @@
|
||||
perl,
|
||||
kmod,
|
||||
systemdMinimal,
|
||||
testers,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -60,6 +61,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
installFlags = [ "DESTDIR=$(out)" ];
|
||||
|
||||
passthru.tests = {
|
||||
version = testers.testVersion { package = finalAttrs.finalPackage; };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Hardware detection tool from openSUSE";
|
||||
license = licenses.gpl2Only;
|
||||
|
||||
Reference in New Issue
Block a user