-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python2Packages.wcwidth: fix build (#292007)
- Loading branch information
Showing
1 changed file
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,24 @@ | ||
{ backports-functools-lru-cache | ||
, wcwidth | ||
, lib | ||
}: | ||
|
||
wcwidth.overridePythonAttrs(oldAttrs: { | ||
propagatedBuildInputs = oldAttrs.propagatedBuildInputs or [] ++ [ | ||
backports-functools-lru-cache | ||
]; | ||
}) | ||
|
||
/** | ||
As of version 0.2.13 upstream still supports python2. In the future, this | ||
package should be dropped or pinned to the last working version after the | ||
final release for python2. See: | ||
https://github.com/jquast/wcwidth/pull/117#issuecomment-1946609638 | ||
*/ | ||
disabled = false; | ||
|
||
meta = oldAttrs.meta // { | ||
/** maintainers overridden here for python2; this makes sure that python3 | ||
maintainers are not blamed for the breakage here. */ | ||
maintainers = with lib.maintainers; [ bryango ]; | ||
}; | ||
}) |