tuptime: pass through nixosTests.tuptime
This commit is contained in:
parent
6d8215281b
commit
6e7fc6fb50
1 changed files with 5 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue