Skip to content

Commit

Permalink
python312Packages.reprint: init at 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonodoom authored and wegank committed Oct 21, 2024
1 parent 26f54e8 commit fb54db1
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
49 changes: 49 additions & 0 deletions pkgs/development/python-modules/reprint/default.nix
Original file line number Diff line number Diff line change
@@ -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
];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit fb54db1

Please sign in to comment.