pythonPackages.pexpect: 4.2.1 -> 4.3.0
This commit is contained in:
parent
3fa4e1e3ee
commit
4a643ce7db
|
@ -0,0 +1,44 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, ptyprocess
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pexpect";
|
||||||
|
version = "4.3.0";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1nfjmz81gsixv22dywidakm7pff3ly1i4yly950bfp8gz1r0iaq0";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Wants to run pythonin a subprocess
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ ptyprocess ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = http://www.noah.org/wiki/Pexpect;
|
||||||
|
description = "Automate interactive console applications such as ssh, ftp, etc";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ zimbatm ];
|
||||||
|
|
||||||
|
longDescription = ''
|
||||||
|
Pexpect is similar to the Don Libes "Expect" system, but Pexpect
|
||||||
|
as a different interface that is easier to understand. Pexpect
|
||||||
|
is basically a pattern matching system. It runs programs and
|
||||||
|
watches output. When output matches a given pattern Pexpect can
|
||||||
|
respond as if a human were typing responses. Pexpect can be used
|
||||||
|
for automation, testing, and screen scraping. Pexpect can be
|
||||||
|
used for automating interactive console applications such as
|
||||||
|
ssh, ftp, passwd, telnet, etc. It can also be used to control
|
||||||
|
web applications via "lynx", "w3m", or some other text-based web
|
||||||
|
browser. Pexpect is pure Python. Unlike other Expect-like
|
||||||
|
modules for Python Pexpect does not require TCL or Expect nor
|
||||||
|
does it require C extensions to be compiled. It should work on
|
||||||
|
any platform that supports the standard Python pty module.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
|
@ -14386,43 +14386,7 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pexpect = callPackage ../development/python-modules/pexpect { };
|
||||||
pexpect = buildPythonPackage rec {
|
|
||||||
version = "4.2.1";
|
|
||||||
name = "pexpect-${version}";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/p/pexpect/${name}.tar.gz";
|
|
||||||
sha256 = "3d132465a75b57aa818341c6521392a06cc660feb3988d7f1074f39bd23c9a92";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Wants to run pythonin a subprocess
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ ptyprocess ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = http://www.noah.org/wiki/Pexpect;
|
|
||||||
description = "Automate interactive console applications such as ssh, ftp, etc";
|
|
||||||
license = licenses.mit;
|
|
||||||
|
|
||||||
longDescription = ''
|
|
||||||
Pexpect is similar to the Don Libes "Expect" system, but Pexpect
|
|
||||||
as a different interface that is easier to understand. Pexpect
|
|
||||||
is basically a pattern matching system. It runs programs and
|
|
||||||
watches output. When output matches a given pattern Pexpect can
|
|
||||||
respond as if a human were typing responses. Pexpect can be used
|
|
||||||
for automation, testing, and screen scraping. Pexpect can be
|
|
||||||
used for automating interactive console applications such as
|
|
||||||
ssh, ftp, passwd, telnet, etc. It can also be used to control
|
|
||||||
web applications via "lynx", "w3m", or some other text-based web
|
|
||||||
browser. Pexpect is pure Python. Unlike other Expect-like
|
|
||||||
modules for Python Pexpect does not require TCL or Expect nor
|
|
||||||
does it require C extensions to be compiled. It should work on
|
|
||||||
any platform that supports the standard Python pty module.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
pdfkit = buildPythonPackage rec {
|
pdfkit = buildPythonPackage rec {
|
||||||
name = "pdfkit-${version}";
|
name = "pdfkit-${version}";
|
||||||
|
|
Loading…
Reference in New Issue