Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python2Packages.wcwidth: fix build #292007

Merged
merged 2 commits into from
Sep 4, 2024
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
16 changes: 15 additions & 1 deletion pkgs/development/python2-modules/wcwidth/default.nix
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 ];
};
})