From ecb8341e896f42144b319ea970c49455b26bf20c Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Mon, 24 Oct 2022 04:20:00 +0000 Subject: [PATCH] python310Packages.colorama: 0.4.5 -> 0.4.6 https://github.com/tartley/colorama/raw/0.4.6/CHANGELOG.rst --- .../python-modules/colorama/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/colorama/default.nix b/pkgs/development/python-modules/colorama/default.nix index 76f9063ab9a4..1ae46cb2be79 100644 --- a/pkgs/development/python-modules/colorama/default.nix +++ b/pkgs/development/python-modules/colorama/default.nix @@ -1,24 +1,26 @@ -{ lib, fetchPypi, buildPythonPackage }: +{ lib, fetchPypi, buildPythonPackage, hatchling, pytestCheckHook }: buildPythonPackage rec { pname = "colorama"; - version = "0.4.5"; + version = "0.4.6"; + format = "pyproject"; src = fetchPypi { inherit pname version; - sha256 = "sha256-5sa0M0/FCYimOdm5iqQpoLV9puF7mkTwRR+TC2lnt6Q="; + sha256 = "08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"; }; - # No tests in archive - doCheck = false; + nativeBuildInputs = [ hatchling ]; + + checkInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "colorama" ]; meta = with lib; { description = "Cross-platform colored terminal text"; homepage = "https://github.com/tartley/colorama"; + changelog = "https://github.com/tartley/colorama/raw/${version}/CHANGELOG.rst"; license = licenses.bsd3; maintainers = with maintainers; [ ]; }; } -