nixpkgs-suyu/pkgs/development/python-modules/scp/default.nix
R. RyanTM 4ec1c4bba3 python37Packages.scp: 0.13.0 -> 0.13.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-scp/versions

(cherry picked from commit d7c89e2665b6e6bfc1ee0cca869abd86a5594a20)
2019-04-07 13:46:30 +02:00

34 lines
651 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, paramiko
, python
}:
buildPythonPackage rec {
pname = "scp";
version = "0.13.2";
src = fetchPypi {
inherit pname version;
sha256 = "1crlpw9lnn58fs1c1rmh7s7s9y5gkgpgjsqlvg9qa51kq1knx7gg";
};
propagatedBuildInputs = [
paramiko
];
checkPhase = ''
SCPPY_PORT=10022 ${python.interpreter} test.py
'';
#The Pypi package doesn't include the test
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/jbardin/scp.py;
description = "SCP module for paramiko";
license = licenses.lgpl3;
maintainers = with maintainers; [ xnaveira ];
};
}