Merge pull request #156136 from evils/tuptime

tuptime: pass through nixosTests.tuptime
This commit is contained in:
pennae 2022-01-22 12:50:03 +00:00 committed by GitHub
commit cb6cc73cd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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";