Loading pkgs/development/python-modules/borb/default.nix +9 −0 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, cryptography, fetchFromGitHub, Loading Loading @@ -30,6 +31,14 @@ buildPythonPackage rec { hash = "sha256-eVxpcYL3ZgwidkSt6tUav3Bkne4lo1QCshdUFqkA0wI="; }; # ModuleNotFoundError: No module named '_decimal' postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' grep -Rl 'from _decimal' tests/ | while read -r test_file; do substituteInPlace "$test_file" \ --replace-fail 'from _decimal' 'from decimal' done ''; build-system = [ setuptools ]; dependencies = [ Loading Loading
pkgs/development/python-modules/borb/default.nix +9 −0 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, cryptography, fetchFromGitHub, Loading Loading @@ -30,6 +31,14 @@ buildPythonPackage rec { hash = "sha256-eVxpcYL3ZgwidkSt6tUav3Bkne4lo1QCshdUFqkA0wI="; }; # ModuleNotFoundError: No module named '_decimal' postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' grep -Rl 'from _decimal' tests/ | while read -r test_file; do substituteInPlace "$test_file" \ --replace-fail 'from _decimal' 'from decimal' done ''; build-system = [ setuptools ]; dependencies = [ Loading