about summary refs log tree commit diff
path: root/pkgs/development/python-modules/uptime/default.nix
blob: 7dd3710b81d36e5fd9c1d583f8f693cd05250187 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
  pname = "uptime";
  version = "3.0.1";
  format = "setuptools";

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

}