tuptime: pass through nixosTests.tuptime

This commit is contained in:
Evils
2022-01-22 07:29:28 +01:00
parent 6d8215281b
commit 6e7fc6fb50
+5 -1
View File
@@ -1,6 +1,8 @@
{ lib, stdenv, fetchFromGitHub
, makeWrapper, installShellFiles
, python3, sqlite }:
, python3, sqlite
, nixosTests
}:
stdenv.mkDerivation rec {
pname = "tuptime";
@@ -34,6 +36,8 @@ stdenv.mkDerivation rec {
--prefix PATH : "${lib.makeBinPath [ sqlite ]}"
'';
passthru.tests = nixosTests.tuptime;
meta = with lib; {
description = "Total uptime & downtime statistics utility";
homepage = "https://github.com/rfrail3/tuptime";