1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/development/python-modules/scp/default.nix
Xavier Naveira 1689c3c53f pythonPackages.junos-eznc: init at 2.1.7
pythonPackages.junos-eznc: init at 2.1.7

pythonPackages.junos-eznc: init at 2.1.7
2018-03-03 17:52:48 +01:00

35 lines
663 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, paramiko
, python
}:
buildPythonPackage rec {
pname = "scp";
version = "0.10.2";
src = fetchPypi {
inherit pname version;
sha256 = "18f59e48df67fac0b069591609a0f4d50d781a101ddb8ec705f0c2e3501a8386";
};
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 ];
};
}