2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchPypi,
|
|
|
|
buildPythonPackage,
|
2023-10-09 19:29:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "about-time";
|
|
|
|
version = "4.2.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
# PyPi release does not contain test files, but the repo has no release tags,
|
|
|
|
# so while having no tests is not ideal, follow the PyPi releases for now
|
|
|
|
# TODO: switch to fetchFromGitHub once this issue is fixed:
|
|
|
|
# https://github.com/rsalmei/about-time/issues/15
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-alOIYtM85n2ZdCnRSZgxDh2/2my32bv795nEcJhH/s4=";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "about_time" ];
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Cool helper for tracking time and throughput of code blocks, with beautiful human friendly renditions";
|
2023-10-09 19:29:22 +00:00
|
|
|
homepage = "https://github.com/rsalmei/about-time";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ thiagokokada ];
|
|
|
|
};
|
|
|
|
}
|