python312Packages.reprint: init at 0.6.0

This commit is contained in:
Jason Odoom 2024-08-20 01:57:20 -04:00 committed by Weijia Wang
parent 26f54e81f9
commit fb54db155d
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,49 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
colorama,
six,
}:
buildPythonPackage rec {
pname = "reprint";
version = "0.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Yinzo";
repo = "reprint";
rev = "${version}";
hash = "sha256-99FC12LcvvRRwNAxDSvWo9vRYmieL0JHSaCJqO/UGEs=";
};
postPatch = ''
substituteInPlace setup.py \
--replace-fail "'backports.shutil_get_terminal_size', " ""
'';
build-system = [
setuptools
];
dependencies = [
colorama
six
];
pythonImportsCheck = [
"reprint"
];
meta = {
description = "Module for binding variables and refreshing multi-line output in terminal";
homepage = "https://github.com/Yinzo/reprint";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
jasonodoom
jleightcap
];
};
}

View File

@ -13574,6 +13574,8 @@ self: super: with self; {
reproject = callPackage ../development/python-modules/reproject { };
reprint = callPackage ../development/python-modules/reprint { };
reprshed = callPackage ../development/python-modules/reprshed { };
reptor = callPackage ../development/python-modules/reptor { };