pythonPackages.ptyprocess: fix stuck tests on darwin (#118948)

This commit is contained in:
Ivan Babrou 2021-04-09 21:00:03 -07:00 committed by GitHub
parent 6c44986423
commit 66d1da7e00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
}:
buildPythonPackage rec {
@ -12,6 +13,14 @@ buildPythonPackage rec {
sha256 = "5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220";
};
patches = [
# Remove after https://github.com/pexpect/ptyprocess/pull/64 is merged.
(fetchpatch {
url = "https://github.com/pexpect/ptyprocess/commit/40c1ccf3432a6787be1801ced721540e34c6cd87.patch";
sha256 = "sha256-IemngBqBq3QRCmVscWtsuXHiFgvTOJIIB9SyAvsqHd0=";
})
];
meta = {
description = "Run a subprocess in a pseudo terminal";
homepage = "https://github.com/pexpect/ptyprocess";