pythonPackages.paramiko: fix build

This commit is contained in:
Jonathan Ringer 2019-12-20 09:00:37 -08:00 committed by Frederik Rietdijk
parent 6a2ad503c0
commit be3f724ae9

View File

@ -3,6 +3,7 @@
, fetchPypi , fetchPypi
, cryptography , cryptography
, bcrypt , bcrypt
, invoke
, pynacl , pynacl
, pyasn1 , pyasn1
, pytest , pytest
@ -19,14 +20,17 @@ buildPythonPackage rec {
sha256 = "920492895db8013f6cc0179293147f830b8c7b21fdfc839b6bad760c27459d9f"; sha256 = "920492895db8013f6cc0179293147f830b8c7b21fdfc839b6bad760c27459d9f";
}; };
checkInputs = [ pytest mock pytest-relaxed ]; checkInputs = [ invoke pytest mock pytest-relaxed ];
propagatedBuildInputs = [ bcrypt cryptography pynacl pyasn1 ]; propagatedBuildInputs = [ bcrypt cryptography pynacl pyasn1 ];
__darwinAllowLocalNetworking = true; __darwinAllowLocalNetworking = true;
# 2 sftp tests fail (skip for now) # 2 sftp tests fail (skip for now)
# test_config relies on artifacts to be to downloaded
checkPhase = '' checkPhase = ''
pytest tests --ignore=tests/test_sftp.py pytest tests \
--ignore=tests/test_sftp.py \
--ignore=tests/test_config.py
''; '';
meta = with pkgs.lib; { meta = with pkgs.lib; {