Something went wrong. Try again.
lol
Something went wrong. Try again.
646 B · 35 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pytestCheckHook,}:
buildPythonPackage rec { pname = "ansi"; version = "0.3.7"; pyproject = true;
src = fetchFromGitHub { owner = "tehmaze"; repo = "ansi"; tag = "ansi-${version}"; hash = "sha256-PmgB1glksu4roQeZ1o7uilMJNm9xaYqw680N2z+tUUM="; };
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "ansi.colour" "ansi.color" ];
meta = { description = "ANSI cursor movement and graphics"; homepage = "https://github.com/tehmaze/ansi/"; license = lib.licenses.mit; };}