python3Packages.Fabric: fix build

This commit is contained in:
Jonathan Ringer 2021-03-24 11:16:05 -07:00 committed by Frederik Rietdijk
parent d069d54e94
commit b31c95b2ee

View file

@ -16,6 +16,12 @@ buildPythonPackage rec {
sha256 = "47f184b070272796fd2f9f0436799e18f2ccba4ee8ee587796fca192acd46cd2";
};
# only relevant to python < 3.4
postPatch = ''
substituteInPlace setup.py \
--replace ', "pathlib2"' ' '
'';
propagatedBuildInputs = [ invoke paramiko cryptography ];
checkInputs = [ pytest mock pytest-relaxed ];