2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-28 16:55:51 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "uptime";
|
|
|
|
version = "3.0.1";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0wr9jkixprlywz0plyn5p42a5fd31aiwvjrxdvj7r02vfxa04c3w";
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Cairnarvon/uptime";
|
2018-10-28 16:55:51 +00:00
|
|
|
description = "Cross-platform way to retrieve system uptime and boot time";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ rob ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|