Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 653 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, paramiko 5, python 6}: 7 8buildPythonPackage rec { 9 pname = "scp"; 10 version = "0.13.2"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "1crlpw9lnn58fs1c1rmh7s7s9y5gkgpgjsqlvg9qa51kq1knx7gg"; 15 }; 16 17 propagatedBuildInputs = [ 18 paramiko 19 ]; 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 meta = with stdenv.lib; { 29 homepage = "https://github.com/jbardin/scp.py"; 30 description = "SCP module for paramiko"; 31 license = licenses.lgpl3; 32 maintainers = with maintainers; [ xnaveira ]; 33 }; 34}