depot/third_party/nixpkgs/pkgs/development/python-modules/uptime/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

22 lines
470 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "uptime";
version = "3.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "0wr9jkixprlywz0plyn5p42a5fd31aiwvjrxdvj7r02vfxa04c3w";
};
meta = with 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 ];
};
}