Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 56 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, about-time, buildPythonPackage, click, fetchFromGitHub, grapheme, pytestCheckHook, python, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "alive-progress"; version = "3.1.5"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "rsalmei"; repo = "alive-progress"; tag = "v${version}"; hash = "sha256-yJhl0QrMHET9ISDc/D5AEQ7dTJkmcV2SWqy/xmG18uY="; };
postInstall = '' mkdir -p $out/share/doc/python${python.pythonVersion}-$pname-$version/ mv $out/LICENSE $out/share/doc/python${python.pythonVersion}-$pname-$version/ '';
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ about-time grapheme ];
pythonRelaxDeps = [ "about_time" ];
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 ]; };}