at master 706 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 paramiko, 6 python, 7}: 8 9buildPythonPackage rec { 10 pname = "scp"; 11 version = "0.15.0"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-8bIumTISPM8X7r8Z4JU8bpFI9Yn5PZG4cpQaaWMFyD8="; 17 }; 18 19 propagatedBuildInputs = [ paramiko ]; 20 21 checkPhase = '' 22 SCPPY_PORT=10022 ${python.interpreter} test.py 23 ''; 24 25 #The Pypi package doesn't include the test 26 doCheck = false; 27 28 pythonImportsCheck = [ "scp" ]; 29 30 meta = with lib; { 31 homepage = "https://github.com/jbardin/scp.py"; 32 description = "SCP module for paramiko"; 33 license = licenses.lgpl21Only; 34 maintainers = with maintainers; [ xnaveira ]; 35 }; 36}