depot/third_party/nixpkgs/pkgs/development/python-modules/uptime/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

22 lines
480 B
Nix

{ 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 ];
};
}