1{ lib
2, buildPythonPackage
3, fetchPypi
4, paramiko
5, python
6}:
7
8buildPythonPackage rec {
9 pname = "scp";
10 version = "0.13.3";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "8bd748293d7362073169b96ce4b8c4f93bcc62cfc5f7e1d949e01e406a025bd4";
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 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}