mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
35 lines
655 B
Nix
35 lines
655 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, paramiko
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "scp";
|
|
version = "0.13.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "8bd748293d7362073169b96ce4b8c4f93bcc62cfc5f7e1d949e01e406a025bd4";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
paramiko
|
|
];
|
|
|
|
checkPhase = ''
|
|
SCPPY_PORT=10022 ${python.interpreter} test.py
|
|
'';
|
|
|
|
#The Pypi package doesn't include the test
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/jbardin/scp.py";
|
|
description = "SCP module for paramiko";
|
|
license = licenses.lgpl3;
|
|
maintainers = with maintainers; [ xnaveira ];
|
|
};
|
|
}
|