Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions pkgs/development/python-modules/wcwidth/default.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
{ lib, fetchPypi, buildPythonPackage, pytestCheckHook
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
, setuptools
}:

buildPythonPackage rec {
pname = "wcwidth";
version = "0.2.12";
version = "0.2.13";
pyproject = true;

disabled = pythonOlder "3.7";

src = fetchPypi {
inherit pname version;
hash = "sha256-8BwQTv31eXG8t1bwVN1Y3exSBN0V+jHWUD6leUfZfAI=";
hash = "sha256-cuoMBjmesobZeP3ttpI6nrR+HEhs5j6bTmT8GDA5crU=";
};

nativeBuildInputs = [
Expand All @@ -23,6 +29,10 @@ buildPythonPackage rec {
# To prevent infinite recursion with pytest
doCheck = false;

pythonImportsCheck = [
"wcwidth"
];

meta = with lib; {
description = "Measures number of Terminal column cells of wide-character codes";
longDescription = ''
Expand All @@ -32,6 +42,8 @@ buildPythonPackage rec {
no 3rd-party dependencies.
'';
homepage = "https://github.com/jquast/wcwidth";
changelog = "https://github.com/jquast/wcwidth/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}