diff options
author | Marc Weber <marco-oweber@gmx.de> | 2009-02-18 11:50:46 +0000 |
---|---|---|
committer | Marc Weber <marco-oweber@gmx.de> | 2009-02-18 11:50:46 +0000 |
commit | 307fd7b70f9e6005374143298b061ffbf87d1386 (patch) | |
tree | 5c1f713e7ade162efa6921f3b32e5811a1a69b4c | |
parent | 45763784344cc8298081708bd8ecbe441e75ce68 (diff) |
added pexpect and mechanize python libraries
svn path=/nixpkgs/trunk/; revision=14111
-rw-r--r-- | pkgs/development/interpreters/python-new/2.5/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/python-new/2.5/default.nix b/pkgs/development/interpreters/python-new/2.5/default.nix index 1c2f22f66bbc2..01fa7ca882f33 100644 --- a/pkgs/development/interpreters/python-new/2.5/default.nix +++ b/pkgs/development/interpreters/python-new/2.5/default.nix @@ -470,6 +470,34 @@ in }; }; + mechanize = t.pythonLibSetup.passthru.fun { + name = "mechanize-0.1.11"; + buildInputs = [ t.setuptools ]; + src = fetchurl { + url = http://wwwsearch.sourceforge.net/mechanize/src/mechanize-0.1.11.tar.gz; + sha256 = "1h62mwy4iz09jqz17nrb9j8y0djd500zdfqwrz9xmdwqzqwixkj2"; + }; + meta = { + description = "Stateful programmatic web browsing in Python, after Andy Lester's Perl module WWW::Mechanize"; + homepage = http://wwwsearch.sourceforge.net/mechanize/; + license = ["BSD" "ZPL 2.1"]; + }; + pyCheck = "from mechanize import Browser"; + }; + + pexpect = t.pythonLibSetup.passthru.fun { + name = "pexpect-2.3"; + src = fetchurl { + url = mirror://sourceforge/pexpect/pexpect-2.3.tar.gz; + sha256 = "0x8bfjjqygriry1iyygm5048ykl5qpbpzqfp6i8dhkslm3ryf5fk"; + }; + meta = { + description = "tcl expect as python library"; + homepage = http://www.noah.org/wiki/Pexpect; + license = "MIT"; + }; + }; + ### python applications pythonExStub = composableDerivation { |