1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5}:
6
7buildPythonPackage rec {
8 pname = "about-time";
9 version = "4.2.1";
10 format = "setuptools";
11
12 # PyPi release does not contain test files, but the repo has no release tags,
13 # so while having no tests is not ideal, follow the PyPi releases for now
14 # TODO: switch to fetchFromGitHub once this issue is fixed:
15 # https://github.com/rsalmei/about-time/issues/15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-alOIYtM85n2ZdCnRSZgxDh2/2my32bv795nEcJhH/s4=";
19 };
20
21 doCheck = false;
22
23 pythonImportsCheck = [ "about_time" ];
24
25 meta = with lib; {
26 description = "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}