···11+{ lib
22+, buildPythonPackage
33+, fetchPypi
44+, ptyprocess
55+}:
66+77+buildPythonPackage rec {
88+ pname = "pexpect";
99+ version = "4.3.0";
1010+ name = "${pname}-${version}";
1111+1212+ src = fetchPypi {
1313+ inherit pname version;
1414+ sha256 = "1nfjmz81gsixv22dywidakm7pff3ly1i4yly950bfp8gz1r0iaq0";
1515+ };
1616+1717+ # Wants to run pythonin a subprocess
1818+ doCheck = false;
1919+2020+ propagatedBuildInputs = [ ptyprocess ];
2121+2222+ meta = with lib; {
2323+ homepage = http://www.noah.org/wiki/Pexpect;
2424+ description = "Automate interactive console applications such as ssh, ftp, etc";
2525+ license = licenses.mit;
2626+ maintainers = with maintainers; [ zimbatm ];
2727+2828+ longDescription = ''
2929+ Pexpect is similar to the Don Libes "Expect" system, but Pexpect
3030+ as a different interface that is easier to understand. Pexpect
3131+ is basically a pattern matching system. It runs programs and
3232+ watches output. When output matches a given pattern Pexpect can
3333+ respond as if a human were typing responses. Pexpect can be used
3434+ for automation, testing, and screen scraping. Pexpect can be
3535+ used for automating interactive console applications such as
3636+ ssh, ftp, passwd, telnet, etc. It can also be used to control
3737+ web applications via "lynx", "w3m", or some other text-based web
3838+ browser. Pexpect is pure Python. Unlike other Expect-like
3939+ modules for Python Pexpect does not require TCL or Expect nor
4040+ does it require C extensions to be compiled. It should work on
4141+ any platform that supports the standard Python pty module.
4242+ '';
4343+ };
4444+}
+1-37
pkgs/top-level/python-packages.nix
···1438614386 };
1438714387 };
14388143881438914389-1439014390- pexpect = buildPythonPackage rec {
1439114391- version = "4.2.1";
1439214392- name = "pexpect-${version}";
1439314393-1439414394- src = pkgs.fetchurl {
1439514395- url = "mirror://pypi/p/pexpect/${name}.tar.gz";
1439614396- sha256 = "3d132465a75b57aa818341c6521392a06cc660feb3988d7f1074f39bd23c9a92";
1439714397- };
1439814398-1439914399- # Wants to run pythonin a subprocess
1440014400- doCheck = false;
1440114401-1440214402- propagatedBuildInputs = with self; [ ptyprocess ];
1440314403-1440414404- meta = {
1440514405- homepage = http://www.noah.org/wiki/Pexpect;
1440614406- description = "Automate interactive console applications such as ssh, ftp, etc";
1440714407- license = licenses.mit;
1440814408-1440914409- longDescription = ''
1441014410- Pexpect is similar to the Don Libes "Expect" system, but Pexpect
1441114411- as a different interface that is easier to understand. Pexpect
1441214412- is basically a pattern matching system. It runs programs and
1441314413- watches output. When output matches a given pattern Pexpect can
1441414414- respond as if a human were typing responses. Pexpect can be used
1441514415- for automation, testing, and screen scraping. Pexpect can be
1441614416- used for automating interactive console applications such as
1441714417- ssh, ftp, passwd, telnet, etc. It can also be used to control
1441814418- web applications via "lynx", "w3m", or some other text-based web
1441914419- browser. Pexpect is pure Python. Unlike other Expect-like
1442014420- modules for Python Pexpect does not require TCL or Expect nor
1442114421- does it require C extensions to be compiled. It should work on
1442214422- any platform that supports the standard Python pty module.
1442314423- '';
1442414424- };
1442514425- };
1438914389+ pexpect = callPackage ../development/python-modules/pexpect { };
14426143901442714391 pdfkit = buildPythonPackage rec {
1442814392 name = "pdfkit-${version}";