Skip to content

Commit

Permalink
python2Packages.wcwidth: fix build (#292007)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa authored Sep 4, 2024
2 parents 013cfc8 + 5ebb67e commit e272cd8
Showing 1 changed file with 15 additions and 1 deletion.
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 ];
};
})

0 comments on commit e272cd8

Please sign in to comment.