Something went wrong. Try again.
lol
Something went wrong. Try again.
1.3 kB · 61 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ lib, about-time, buildPythonPackage, click, fetchFromGitHub, graphemeu, pytestCheckHook, python, setuptools,}:
buildPythonPackage rec { pname = "alive-progress"; version = "3.3.0"; pyproject = true;
src = fetchFromGitHub { owner = "rsalmei"; repo = "alive-progress"; tag = "v${version}"; hash = "sha256-2ymLdmaV7mO6tp5bjmbL/67xLP7Srfpt5m8YhOHGmWQ="; # Avoid downloading heavy images in img directory sparseCheckout = [ "alive_progress" "tests" ]; };
postInstall = '' mkdir -p $out/share/doc/python${python.pythonVersion}-$pname-$version/ mv $out/LICENSE $out/share/doc/python${python.pythonVersion}-$pname-$version/ '';
build-system = [ setuptools ];
dependencies = [ about-time graphemeu ];
pythonRelaxDeps = [ "about_time" "graphemeu" ];
nativeCheckInputs = [ click pytestCheckHook ];
pythonImportsCheck = [ "alive_progress" ];
meta = { 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/${src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ thiagokokada ]; };}