66a6b56e0d
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.6-scp/versions
35 lines
651 B
Nix
35 lines
651 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, paramiko
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "scp";
|
|
version = "0.12.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0cjyc19v46lwrhdyc18f87z589rhqg7zjg0s8a05w6mv3262b6ai";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|