1{ lib 2, buildPythonPackage 3, fetchPypi 4}: 5 6buildPythonPackage rec { 7 pname = "uptime"; 8 version = "3.0.1"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "0wr9jkixprlywz0plyn5p42a5fd31aiwvjrxdvj7r02vfxa04c3w"; 13 }; 14 15 meta = with lib; { 16 homepage = "https://github.com/Cairnarvon/uptime"; 17 description = "Cross-platform way to retrieve system uptime and boot time"; 18 license = licenses.bsd2; 19 maintainers = with maintainers; [ rob ]; 20 }; 21 22}