Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 54 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ 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 ];
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 ]; };}