1{ lib 2, fetchPypi 3, buildPythonPackage 4}: 5 6buildPythonPackage rec { 7 pname = "about-time"; 8 version = "4.2.1"; 9 10 # PyPi release does not contain test files, but the repo has no release tags, 11 # so while having no tests is not ideal, follow the PyPi releases for now 12 # TODO: switch to fetchFromGitHub once this issue is fixed: 13 # https://github.com/rsalmei/about-time/issues/15 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-alOIYtM85n2ZdCnRSZgxDh2/2my32bv795nEcJhH/s4="; 17 }; 18 19 doCheck = false; 20 21 pythonImportsCheck = [ 22 "about_time" 23 ]; 24 25 meta = with lib; { 26 description = "A cool helper for tracking time and throughput of code blocks, with beautiful human friendly renditions"; 27 homepage = "https://github.com/rsalmei/about-time"; 28 license = licenses.mit; 29 maintainers = with maintainers; [ thiagokokada ]; 30 }; 31}