From 809de4d2107ce19971a8f577dbbb5436b3adcacc Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Thu, 3 Aug 2023 07:43:49 -0700 Subject: [PATCH] python2.pkgs.wcwidth: add missing python2 dependency --- pkgs/development/python2-modules/wcwidth/default.nix | 10 ++++++++++ pkgs/top-level/python2-packages.nix | 4 ++++ 2 files changed, 14 insertions(+) create mode 100644 pkgs/development/python2-modules/wcwidth/default.nix diff --git a/pkgs/development/python2-modules/wcwidth/default.nix b/pkgs/development/python2-modules/wcwidth/default.nix new file mode 100644 index 000000000000..8424fa462503 --- /dev/null +++ b/pkgs/development/python2-modules/wcwidth/default.nix @@ -0,0 +1,10 @@ +{ backports-functools-lru-cache +, wcwidth +}: + +wcwidth.overridePythonAttrs(oldAttrs: { + propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [ + backports-functools-lru-cache + ]; +}) + diff --git a/pkgs/top-level/python2-packages.nix b/pkgs/top-level/python2-packages.nix index c791f4359f63..7b36e82f99fb 100644 --- a/pkgs/top-level/python2-packages.nix +++ b/pkgs/top-level/python2-packages.nix @@ -83,6 +83,10 @@ with self; with super; { doCheck = false; # circular dependency with pytest }); + wcwidth = callPackage ../development/python2-modules/wcwidth { + inherit wcwidth; + }; + wheel = callPackage ../development/python2-modules/wheel { }; zeek = disabled super.zeek;