depot/third_party/nixpkgs/pkgs/development/python-modules/about-time/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

32 lines
887 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
}:
buildPythonPackage rec {
pname = "about-time";
version = "4.2.1";
format = "setuptools";
# 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;
pythonImportsCheck = [
"about_time"
];
meta = with lib; {
description = "A cool helper for tracking time and throughput of code blocks, with beautiful human friendly renditions";
homepage = "https://github.com/rsalmei/about-time";
license = licenses.mit;
maintainers = with maintainers; [ thiagokokada ];
};
}