Merge pull request #156136 from evils/tuptime
tuptime: pass through nixosTests.tuptime
This commit is contained in:
commit
cb6cc73cd1
|
@ -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