Files
nixpkgs/pkgs/development/python-modules/alive-progress/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
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/'
2024-06-09 23:07:45 +02:00

49 lines
1022 B
Nix

{
lib,
about-time,
buildPythonPackage,
click,
fetchFromGitHub,
grapheme,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "alive-progress";
version = "3.1.5";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "rsalmei";
repo = "alive-progress";
rev = "refs/tags/v${version}";
hash = "sha256-yJhl0QrMHET9ISDc/D5AEQ7dTJkmcV2SWqy/xmG18uY=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
about-time
grapheme
];
nativeCheckInputs = [
click
pytestCheckHook
];
pythonImportsCheck = [ "alive_progress" ];
meta = with lib; {
description = "New kind of Progress Bar, with real-time throughput, ETA, and very cool animations";
homepage = "https://github.com/rsalmei/alive-progress";
changelog = "https://github.com/rsalmei/alive-progress/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ thiagokokada ];
};
}