2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, paramiko
|
|
|
|
, python
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "scp";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "0.13.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "e60948dd3e1aa13da21aa1bf8a025fabbbc2816ed04f1a1272410247d1a86f15";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
paramiko
|
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
SCPPY_PORT=10022 ${python.interpreter} test.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
#The Pypi package doesn't include the test
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/jbardin/scp.py";
|
|
|
|
description = "SCP module for paramiko";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ xnaveira ];
|
|
|
|
};
|
|
|
|
}
|