diff options
Diffstat (limited to 'pkgs/development/python-modules/uptime/default.nix')
-rw-r--r-- | pkgs/development/python-modules/uptime/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/uptime/default.nix b/pkgs/development/python-modules/uptime/default.nix new file mode 100644 index 000000000000..035acbcec2b6 --- /dev/null +++ b/pkgs/development/python-modules/uptime/default.nix @@ -0,0 +1,22 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "uptime"; + version = "3.0.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "0wr9jkixprlywz0plyn5p42a5fd31aiwvjrxdvj7r02vfxa04c3w"; + }; + + meta = with stdenv.lib; { + homepage = https://github.com/Cairnarvon/uptime; + description = "Cross-platform way to retrieve system uptime and boot time"; + license = licenses.bsd2; + maintainers = with maintainers; [ rob ]; + }; + +} |