Commit 1d42ebe5 authored by Bob van der Linden's avatar Bob van der Linden Committed by Bjørn Forsman
Browse files

hwinfo: add version test

parent 2e5d7834
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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;