mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
32 lines
884 B
Nix
32 lines
884 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 = "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 ];
|
|
};
|
|
}
|