2011-03-29 16:02:15 +01:00
|
|
|
{ pkgs, python }:
|
2010-04-21 11:51:15 +01:00
|
|
|
|
2011-05-04 09:41:50 +01:00
|
|
|
let pythonPackages = python.modules // rec {
|
2011-03-28 10:48:57 +01:00
|
|
|
|
2011-03-29 16:02:15 +01:00
|
|
|
inherit python;
|
2012-04-16 00:48:11 +01:00
|
|
|
inherit (pkgs) fetchurl fetchsvn fetchgit stdenv;
|
2010-04-21 11:51:15 +01:00
|
|
|
|
2013-01-11 14:14:53 +00:00
|
|
|
# helpers
|
2012-02-28 00:06:42 +00:00
|
|
|
|
2011-03-29 16:02:15 +01:00
|
|
|
buildPythonPackage = import ../development/python-modules/generic {
|
2012-02-28 00:06:52 +00:00
|
|
|
inherit (pkgs) lib;
|
2012-12-14 19:21:18 +00:00
|
|
|
inherit python wrapPython setuptools recursivePthLoader offlineDistutils;
|
2011-03-29 16:02:15 +01:00
|
|
|
};
|
|
|
|
|
2013-01-11 14:14:53 +00:00
|
|
|
wrapPython = pkgs.makeSetupHook
|
|
|
|
{ deps = pkgs.makeWrapper;
|
|
|
|
substitutions.libPrefix = python.libPrefix;
|
|
|
|
}
|
|
|
|
../development/python-modules/generic/wrap.sh;
|
|
|
|
|
|
|
|
# specials
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2012-07-22 01:16:59 +01:00
|
|
|
recursivePthLoader = import ../development/python-modules/recursive-pth-loader {
|
|
|
|
inherit (pkgs) stdenv;
|
|
|
|
inherit python;
|
2011-03-29 16:02:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
setuptools = import ../development/python-modules/setuptools {
|
2011-03-29 16:19:59 +01:00
|
|
|
inherit (pkgs) stdenv fetchurl;
|
2012-02-28 00:07:48 +00:00
|
|
|
inherit python wrapPython;
|
2011-03-29 16:02:15 +01:00
|
|
|
};
|
|
|
|
|
2012-12-03 04:20:04 +00:00
|
|
|
setuptoolsSite = import ../development/python-modules/setuptools/site.nix {
|
|
|
|
inherit (pkgs) stdenv;
|
|
|
|
inherit python setuptools;
|
|
|
|
};
|
|
|
|
|
2012-11-23 16:27:12 +00:00
|
|
|
offlineDistutils = import ../development/python-modules/offline-distutils {
|
|
|
|
inherit (pkgs) stdenv;
|
|
|
|
inherit python;
|
|
|
|
};
|
2011-03-29 16:02:15 +01:00
|
|
|
|
2013-01-11 14:14:53 +00:00
|
|
|
# packages defined elsewhere
|
|
|
|
|
2011-09-21 21:05:24 +01:00
|
|
|
ipython = import ../shells/ipython {
|
|
|
|
inherit (pkgs) stdenv fetchurl;
|
|
|
|
inherit buildPythonPackage pythonPackages;
|
|
|
|
};
|
|
|
|
|
2012-12-03 06:11:26 +00:00
|
|
|
pil = import ../development/python-modules/pil {
|
2012-12-03 06:36:57 +00:00
|
|
|
inherit (pkgs) fetchurl stdenv libjpeg zlib freetype;
|
|
|
|
inherit python buildPythonPackage;
|
2012-12-03 06:11:26 +00:00
|
|
|
};
|
2011-09-21 21:05:24 +01:00
|
|
|
|
2013-01-11 14:23:44 +00:00
|
|
|
pycairo = import ../development/python-modules/pycairo {
|
|
|
|
inherit (pkgs) stdenv fetchurl pkgconfig cairo x11;
|
|
|
|
inherit python;
|
|
|
|
};
|
|
|
|
|
2012-12-03 06:59:32 +00:00
|
|
|
pycrypto = import ../development/python-modules/pycrypto {
|
|
|
|
inherit (pkgs) fetchurl stdenv gmp;
|
|
|
|
inherit python buildPythonPackage;
|
|
|
|
};
|
2011-09-21 21:05:24 +01:00
|
|
|
|
2013-01-11 14:30:56 +00:00
|
|
|
pygobject = import ../development/python-modules/pygobject {
|
|
|
|
inherit (pkgs) stdenv fetchurl pkgconfig glib;
|
|
|
|
inherit python;
|
|
|
|
};
|
|
|
|
|
2013-01-11 16:45:26 +00:00
|
|
|
pygtk = import ../development/python-modules/pygtk {
|
|
|
|
inherit (pkgs) fetchurl stdenv pkgconfig glib gtk;
|
|
|
|
inherit python buildPythonPackage pygobject pycairo;
|
|
|
|
};
|
|
|
|
|
|
|
|
# XXX: how can we get an override here?
|
|
|
|
#pyGtkGlade = pygtk.override {
|
|
|
|
# inherit (pkgs.gnome) libglade;
|
|
|
|
#};
|
|
|
|
pyGtkGlade = import ../development/python-modules/pygtk {
|
|
|
|
inherit (pkgs) fetchurl stdenv pkgconfig glib gtk;
|
|
|
|
inherit (pkgs.gnome) libglade;
|
|
|
|
inherit python buildPythonPackage pygobject pycairo;
|
|
|
|
};
|
2012-02-28 00:06:42 +00:00
|
|
|
|
2013-01-11 14:14:53 +00:00
|
|
|
# packages defined here
|
2012-02-28 00:06:42 +00:00
|
|
|
|
2012-04-30 15:34:57 +01:00
|
|
|
afew = buildPythonPackage rec {
|
2012-09-28 16:06:07 +01:00
|
|
|
rev = "6bb3915636aaf86f046a017ffffd9a4ef395e199";
|
|
|
|
name = "afew-1.0_${rev}";
|
|
|
|
|
2012-04-30 15:34:57 +01:00
|
|
|
src = fetchurl {
|
2012-09-28 16:06:07 +01:00
|
|
|
url = "https://github.com/teythoon/afew/tarball/${rev}";
|
2012-04-30 15:34:57 +01:00
|
|
|
name = "${name}.tar.bz";
|
2012-09-28 16:06:07 +01:00
|
|
|
sha256 = "74926d9ddfa69534cfbd08a82f0acccab2c649558062654d5d2ff2999d201384";
|
2012-04-30 15:34:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ notmuch pkgs.dbacl ];
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-04-30 15:34:57 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/afew \
|
|
|
|
--prefix LD_LIBRARY_PATH : ${pkgs.notmuch}/lib
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/teythoon/afew;
|
|
|
|
description = "afew is an initial tagging script for notmuch mail.";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
alot = buildPythonPackage rec {
|
2013-01-03 19:21:04 +00:00
|
|
|
rev = "5b5dbecb5a03840b751219db90bcf4dcffda315e";
|
2012-09-28 16:06:07 +01:00
|
|
|
name = "alot-0.3.3_${rev}";
|
2012-04-30 15:34:57 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-09-28 16:06:07 +01:00
|
|
|
url = "https://github.com/pazz/alot/tarball/${rev}";
|
2012-04-30 15:34:57 +01:00
|
|
|
name = "${name}.tar.bz";
|
2013-01-03 19:21:04 +00:00
|
|
|
sha256 = "156q7x4wilhcgmaap7rjci3cgwm5ia85ddgx6xm6lfp5hkf5300v";
|
2012-04-30 15:34:57 +01:00
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-04-30 15:34:57 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2012-07-10 18:45:59 +01:00
|
|
|
propagatedBuildInputs = [ notmuch urwid twisted magic configobj pygpgme ];
|
2012-04-30 15:34:57 +01:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/alot \
|
2012-09-28 16:06:07 +01:00
|
|
|
--prefix LD_LIBRARY_PATH : ${pkgs.notmuch}/lib:${pkgs.file511}/lib:${pkgs.gpgme}/lib
|
2012-04-30 15:34:57 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/pazz/alot;
|
|
|
|
description = "Terminal MUA using notmuch mail";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2011-03-29 17:15:08 +01:00
|
|
|
anyjson = buildPythonPackage rec {
|
|
|
|
name = "anyjson-0.3.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/a/anyjson/${name}.tar.gz";
|
|
|
|
md5 = "2b53b5d53fc40af4da7268d3c3e35a50";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://pypi.python.org/pypi/anyjson/;
|
|
|
|
description = "Wrapper that selects the best available JSON implementation";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
amqplib = buildPythonPackage rec {
|
|
|
|
name = "amqplib-0.6.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://py-amqplib.googlecode.com/files/${name}.tgz";
|
|
|
|
sha1 = "f124e5e4a6644bf6d1734032a01ac44db1b25a29";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-02-28 00:06:42 +00:00
|
|
|
doCheck = false;
|
2011-03-29 17:15:08 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://code.google.com/p/py-amqplib/;
|
|
|
|
description = "Python client for the Advanced Message Queuing Procotol (AMQP)";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2011-05-03 16:43:51 +01:00
|
|
|
apsw = buildPythonPackage rec {
|
|
|
|
name = "apsw-3.7.6.2-r1";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-05-03 16:43:51 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://apsw.googlecode.com/files/${name}.zip";
|
|
|
|
sha1 = "fa4aec08e59fa5964197f59ba42408d64031675b";
|
|
|
|
};
|
|
|
|
|
2012-02-28 00:06:52 +00:00
|
|
|
buildInputs = [ pkgs.unzip pkgs.sqlite ];
|
2011-05-03 16:43:51 +01:00
|
|
|
|
2012-12-03 07:30:17 +00:00
|
|
|
# python: double free or corruption (fasttop): 0x0000000002fd4660 ***
|
2011-05-03 16:43:51 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Python wrapper for the SQLite embedded relational database engine";
|
|
|
|
homepage = http://code.google.com/p/apsw/;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2012-08-31 11:25:53 +01:00
|
|
|
area53 = buildPythonPackage (rec {
|
|
|
|
name = "area53-b2c9cdcabd";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = git://github.com/mariusv/Area53.git;
|
|
|
|
rev = "b2c9cdcabd";
|
|
|
|
sha256 = "b0c12b8c48ed9180c7475fab18de50d63e1b517cfb46da4d2c66fc406fe902bc";
|
|
|
|
};
|
2012-12-03 05:38:11 +00:00
|
|
|
|
2012-08-31 11:25:53 +01:00
|
|
|
installCommand = "python setup.py install --prefix=$out";
|
2012-12-03 05:38:11 +00:00
|
|
|
|
|
|
|
# error: invalid command 'test'
|
2012-08-31 11:25:53 +01:00
|
|
|
doCheck = false;
|
2012-12-03 05:38:11 +00:00
|
|
|
|
2012-08-31 11:25:53 +01:00
|
|
|
propagatedBuildInputs = [ boto ];
|
2012-12-03 05:38:11 +00:00
|
|
|
|
2012-08-31 11:25:53 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
argparse = buildPythonPackage (rec {
|
2010-07-28 00:51:42 +01:00
|
|
|
name = "argparse-1.1";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/a/argparse/${name}.zip";
|
2010-07-28 00:51:42 +01:00
|
|
|
sha256 = "ee6da1aaad8b08a74a33eb82264b1a2bf12a7d5aefc7e9d7d40a8f8fa9912e62";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
2012-02-28 00:06:52 +00:00
|
|
|
buildInputs = [ pkgs.unzip ];
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-02-28 00:06:42 +00:00
|
|
|
doCheck = false;
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://code.google.com/p/argparse/;
|
|
|
|
|
|
|
|
license = "Apache License 2.0";
|
|
|
|
|
|
|
|
description = "argparse: Python command line parser";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
The argparse module makes writing command line tools in Python
|
|
|
|
easy. Just briefly describe your command line interface and
|
|
|
|
argparse will take care of the rest, including: parsing the
|
|
|
|
arguments and flags from sys.argv, converting arg strings into
|
|
|
|
objects for your program, formatting and printing any help
|
|
|
|
messages, and much more.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2012-08-31 11:25:53 +01:00
|
|
|
|
2012-10-11 16:05:33 +01:00
|
|
|
logilab_astng = buildPythonPackage rec {
|
|
|
|
name = "logilab-astng-0.24.1";
|
2011-07-19 17:02:37 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-10-11 16:05:33 +01:00
|
|
|
url = "http://download.logilab.org/pub/astng/${name}.tar.gz";
|
|
|
|
sha256 = "00qxaxsax80sknwv25xl1r49lc4gbhkxs1kjywji4ad8y1npax0s";
|
2011-07-19 17:02:37 +01:00
|
|
|
};
|
2012-10-11 16:05:33 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ logilab_common ];
|
2011-07-19 17:02:37 +01:00
|
|
|
};
|
|
|
|
|
2012-09-13 10:59:48 +01:00
|
|
|
beautifulsoup = buildPythonPackage (rec {
|
|
|
|
name = "beautifulsoup-3.0.8";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.crummy.com/software/BeautifulSoup/download/3.x/BeautifulSoup-3.0.8.tar.gz";
|
|
|
|
sha256 = "1gasiy5lwbhsxw27g36d88n36xbj52434klisvqhljgckd4xqcy7";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-02-28 00:06:42 +00:00
|
|
|
doCheck = false;
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.crummy.com/software/BeautifulSoup/;
|
|
|
|
|
|
|
|
license = "bsd";
|
|
|
|
|
|
|
|
description = "Undemanding HTML/XML parser";
|
|
|
|
};
|
|
|
|
});
|
2011-03-30 15:42:20 +01:00
|
|
|
|
|
|
|
# euca2ools (and maybe Nova) needs boto 1.9, 2.0 doesn't work.
|
|
|
|
boto_1_9 = buildPythonPackage (rec {
|
|
|
|
name = "boto-1.9b";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://boto.googlecode.com/files/${name}.tar.gz";
|
|
|
|
sha1 = "00a033b0a593c3ca82927867950f73d88b831155";
|
|
|
|
};
|
|
|
|
|
2011-10-21 16:01:40 +01:00
|
|
|
patches = [ ../development/python-modules/boto-1.9-python-2.7.patch ];
|
|
|
|
|
2011-03-30 15:42:20 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://code.google.com/p/boto/;
|
|
|
|
|
|
|
|
license = "bsd";
|
|
|
|
|
|
|
|
description = "Python interface to Amazon Web Services";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
The boto module is an integrated interface to current and
|
|
|
|
future infrastructural services offered by Amazon Web
|
|
|
|
Services. This includes S3, SQS, EC2, among others.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
|
2012-03-27 11:48:45 +01:00
|
|
|
boto = buildPythonPackage rec {
|
2012-10-25 09:55:22 +01:00
|
|
|
name = "boto-2.6.0";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-03-27 11:48:45 +01:00
|
|
|
url = "https://github.com/downloads/boto/boto/${name}.tar.gz";
|
2012-10-25 09:55:22 +01:00
|
|
|
sha256 = "1wnzs9frf44mrnw7l2vijc5anbcvcqqrv7237gjn27v0ja76slff";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
2012-03-27 11:48:45 +01:00
|
|
|
# The tests seem to require AWS credentials.
|
|
|
|
doCheck = false;
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
meta = {
|
2012-03-27 11:48:45 +01:00
|
|
|
homepage = https://github.com/boto/boto;
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
license = "bsd";
|
|
|
|
|
|
|
|
description = "Python interface to Amazon Web Services";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
The boto module is an integrated interface to current and
|
|
|
|
future infrastructural services offered by Amazon Web
|
|
|
|
Services. This includes S3, SQS, EC2, among others.
|
|
|
|
'';
|
|
|
|
};
|
2012-03-27 11:48:45 +01:00
|
|
|
};
|
2010-04-21 11:51:15 +01:00
|
|
|
|
2011-03-29 17:15:08 +01:00
|
|
|
|
2012-07-21 20:43:39 +01:00
|
|
|
# bugz = buildPythonPackage (rec {
|
|
|
|
# name = "bugz-0.9.3";
|
2012-12-03 03:41:19 +00:00
|
|
|
#
|
2012-07-21 20:43:39 +01:00
|
|
|
# src = fetchgit {
|
|
|
|
# url = "https://github.com/williamh/pybugz.git";
|
|
|
|
# rev = "refs/tags/0.9.3";
|
|
|
|
# };
|
2012-12-03 03:41:19 +00:00
|
|
|
#
|
2012-07-21 20:43:39 +01:00
|
|
|
# propagatedBuildInputs = [ argparse python.modules.ssl ];
|
2012-12-03 03:41:19 +00:00
|
|
|
#
|
2012-07-21 20:43:39 +01:00
|
|
|
# doCheck = false;
|
2012-12-03 03:41:19 +00:00
|
|
|
#
|
2012-07-21 20:43:39 +01:00
|
|
|
# meta = {
|
|
|
|
# homepage = http://www.liquidx.net/pybugz/;
|
|
|
|
# description = "Command line interface for Bugzilla";
|
|
|
|
# };
|
|
|
|
# });
|
2012-04-16 00:48:11 +01:00
|
|
|
|
|
|
|
|
2011-03-29 17:15:08 +01:00
|
|
|
carrot = buildPythonPackage rec {
|
|
|
|
name = "carrot-0.10.7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/c/carrot/${name}.tar.gz";
|
|
|
|
md5 = "530a0614de3a669314c3acd4995c54d5";
|
|
|
|
};
|
|
|
|
|
2012-02-28 00:06:42 +00:00
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ amqplib anyjson ];
|
2011-03-29 17:15:08 +01:00
|
|
|
|
|
|
|
doCheck = false; # depends on the network
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://pypi.python.org/pypi/carrot;
|
|
|
|
description = "AMQP Messaging Framework for Python";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2011-03-30 18:03:49 +01:00
|
|
|
cheetah = buildPythonPackage rec {
|
|
|
|
version = "2.4.4";
|
|
|
|
name = "cheetah-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/C/Cheetah/Cheetah-${version}.tar.gz";
|
|
|
|
md5 = "853917116e731afbc8c8a43c37e6ddba";
|
|
|
|
};
|
|
|
|
|
2012-02-28 00:06:42 +00:00
|
|
|
propagatedBuildInputs = [ markdown ];
|
2011-03-30 18:03:49 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.cheetahtemplate.org/;
|
|
|
|
description = "A template engine and code generation tool";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2010-09-17 18:34:08 +01:00
|
|
|
cherrypy = buildPythonPackage (rec {
|
2012-02-28 00:06:42 +00:00
|
|
|
name = "cherrypy-3.1.2";
|
2010-09-17 18:34:08 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-02-28 00:06:42 +00:00
|
|
|
url = "http://download.cherrypy.org/cherrypy/3.1.2/CherryPy-3.1.2.tar.gz";
|
|
|
|
sha256 = "1xlvanhnxgvwd7vvypbafyl6yqfkpnwa9rs9k3058z84gd86bz8d";
|
2010-09-17 18:34:08 +01:00
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2010-09-17 18:34:08 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://www.cherrypy.org";
|
|
|
|
description = "A pythonic, object-oriented HTTP framework";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
clientform = buildPythonPackage (rec {
|
|
|
|
name = "clientform-0.2.10";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/C/ClientForm/ClientForm-0.2.10.tar.gz";
|
|
|
|
sha256 = "0dydh3i1sx7rrj6d0gj375wkjpiivm7jjlsimw6hmwv4ck7yf1wm";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://wwwsearch.sourceforge.net/ClientForm/;
|
|
|
|
|
|
|
|
license = "bsd";
|
|
|
|
|
|
|
|
description = "Python module for handling HTML forms on the client side";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2012-06-12 21:16:04 +01:00
|
|
|
coilmq = buildPythonPackage (rec {
|
|
|
|
name = "coilmq-0.6.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/C/CoilMQ/CoilMQ-0.6.1.tar.gz";
|
|
|
|
md5 = "5f39727415b837abd02651eeb2721749";
|
|
|
|
};
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
propagatedBuildInputs = [ stompclient distribute ];
|
|
|
|
|
2012-12-06 07:24:38 +00:00
|
|
|
buildInputs = [ coverage sqlalchemy ];
|
|
|
|
|
|
|
|
# ValueError: Could not parse auth file:
|
|
|
|
# /tmp/nix-build-.../CoilMQ-0.6.1/coilmq/tests/resources/auth.ini
|
2012-12-21 23:25:37 +00:00
|
|
|
doCheck = false;
|
2012-06-12 21:16:04 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Simple, lightweight, and easily extensible STOMP message broker";
|
|
|
|
homepage = http://code.google.com/p/coilmq/;
|
|
|
|
license = pkgs.lib.licenses.asl20;
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2012-04-30 15:34:57 +01:00
|
|
|
configobj = buildPythonPackage (rec {
|
|
|
|
name = "configobj-4.7.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/c/configobj/${name}.tar.gz";
|
|
|
|
md5 = "201dbaa732a9049c839f9bb6c27fc7b5";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-04-30 15:34:57 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Config file reading, writing and validation.";
|
|
|
|
homepage = http://pypi.python.org/pypi/configobj;
|
2012-04-30 16:24:21 +01:00
|
|
|
license = pkgs.lib.licenses.bsd3;
|
2012-04-30 15:34:57 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2012-12-05 11:22:01 +00:00
|
|
|
coverage = buildPythonPackage rec {
|
|
|
|
name = "coverage-3.5.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/c/coverage/${name}.tar.gz";
|
|
|
|
md5 = "5f1f523940c473faa8a9f6ca29f78efc";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Code coverage measurement for python";
|
|
|
|
homepage = http://nedbatchelder.com/code/coverage/;
|
|
|
|
license = pkgs.lib.licenses.bsd3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.shlevy ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
cssutils = buildPythonPackage (rec {
|
2012-05-08 12:36:04 +01:00
|
|
|
name = "cssutils-0.9.9";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-05-08 12:36:04 +01:00
|
|
|
url = http://pypi.python.org/packages/source/c/cssutils/cssutils-0.9.9.zip;
|
|
|
|
sha256 = "139yfm9yz9k33kgqw4khsljs10rkhhxyywbq9i82bh2r31cil1pp";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
buildInputs = [ pkgs.unzip mock ];
|
2012-02-28 00:06:52 +00:00
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# couple of failing tests
|
2010-04-21 11:51:15 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Python package to parse and build CSS";
|
|
|
|
|
|
|
|
homepage = http://code.google.com/p/cssutils/;
|
|
|
|
|
|
|
|
license = "LGPLv3+";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
darcsver = buildPythonPackage (rec {
|
2012-02-28 00:06:42 +00:00
|
|
|
name = "darcsver-1.7.2";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/d/darcsver/${name}.tar.gz";
|
2012-02-28 00:06:42 +00:00
|
|
|
md5 = "94ca7e8c9ea0f69c0f3fc6f9fc88f65a";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
2011-04-04 15:38:53 +01:00
|
|
|
buildInputs = [ mock ];
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
# Note: We don't actually need to provide Darcs as a build input.
|
|
|
|
# Darcsver will DTRT when Darcs isn't available. See news.gmane.org
|
|
|
|
# http://thread.gmane.org/gmane.comp.file-systems.tahoe.devel/3200 for a
|
|
|
|
# discussion.
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# AttributeError: 'module' object has no attribute 'test_darcsver'
|
2011-04-04 15:38:53 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
meta = {
|
|
|
|
description = "Darcsver, generate a version number from Darcs history";
|
|
|
|
|
|
|
|
homepage = http://pypi.python.org/pypi/darcsver;
|
|
|
|
|
|
|
|
license = "BSD-style";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
dateutil = buildPythonPackage (rec {
|
2012-05-30 22:12:40 +01:00
|
|
|
name = "dateutil-1.5";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/p/python-dateutil/python-${name}.tar.gz";
|
2012-05-30 22:12:40 +01:00
|
|
|
sha256 = "02dhw57jf5kjcp7ng1if7vdrbnlpb9yjmz7wygwwvf3gni4766bg";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Powerful extensions to the standard datetime module";
|
|
|
|
homepage = http://pypi.python.org/pypi/python-dateutil;
|
|
|
|
license = "BSD-style";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2011-02-21 17:26:19 +00:00
|
|
|
|
2011-03-30 13:27:54 +01:00
|
|
|
decorator = buildPythonPackage rec {
|
2011-05-11 15:29:35 +01:00
|
|
|
name = "decorator-3.3.1";
|
2011-03-30 13:27:54 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/d/decorator/${name}.tar.gz";
|
2011-05-11 15:29:35 +01:00
|
|
|
md5 = "a8fc62acd705f487a71bc406e19e0cc6";
|
2011-03-30 13:27:54 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://pypi.python.org/pypi/decorator;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-06-12 21:16:04 +01:00
|
|
|
distribute = buildPythonPackage (rec {
|
|
|
|
name = "distribute-0.6.26";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.26.tar.gz";
|
|
|
|
md5 = "841f4262a70107f85260362f5def8206"; #"ecd75ea629fee6d59d26f88c39b2d291";
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2012-06-12 21:16:04 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.unzip ];
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
|
|
installCommand =
|
2012-06-12 21:16:04 +01:00
|
|
|
''
|
|
|
|
# ehm, YES, the --verbose flags needs to be there, otherwise it tries to patch setuptools!
|
|
|
|
easy_install --verbose --prefix=$out .
|
|
|
|
'';
|
2012-12-03 05:38:11 +00:00
|
|
|
|
2012-12-03 08:03:29 +00:00
|
|
|
# test for 27 fails
|
2012-06-12 21:16:04 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Easily download, build, install, upgrade, and uninstall Python packages";
|
|
|
|
homepage = http://packages.python.org/distribute;
|
|
|
|
license = "PSF or ZPL";
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
});
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2011-03-30 13:27:54 +01:00
|
|
|
|
2011-03-30 13:51:01 +01:00
|
|
|
distutils_extra = buildPythonPackage rec {
|
|
|
|
name = "distutils-extra-2.26";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://launchpad.net/python-distutils-extra/trunk/2.26/+download/python-${name}.tar.gz";
|
|
|
|
md5 = "7caded30a45907b5cdb10ac4182846eb";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://launchpad.net/python-distutils-extra;
|
|
|
|
description = "Enhancements to Python's distutils";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2012-05-30 22:12:40 +01:00
|
|
|
django = buildPythonPackage rec {
|
2012-06-11 08:15:12 +01:00
|
|
|
name = "Django-${version}";
|
2012-07-31 23:24:17 +01:00
|
|
|
version = "1.4.1";
|
2012-05-30 22:12:40 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-08-06 13:17:41 +01:00
|
|
|
url = "http://www.djangoproject.com/m/releases/1.4/${name}.tar.gz";
|
2012-07-31 23:24:17 +01:00
|
|
|
sha256 = "16s0anvpaccbqmdrhl71z73k0dy2sl166nnc2fbd5lshlgmj13ad";
|
2012-05-30 22:12:40 +01:00
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-05-30 22:12:40 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A high-level Python Web framework";
|
|
|
|
homepage = https://www.djangoproject.com/;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2012-08-01 09:59:44 +01:00
|
|
|
django_1_3 = buildPythonPackage rec {
|
2012-11-13 00:37:46 +00:00
|
|
|
name = "Django-1.3.3";
|
2012-07-04 01:13:44 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.djangoproject.com/m/releases/1.3/${name}.tar.gz";
|
2012-11-13 00:37:46 +00:00
|
|
|
sha256 = "0snlrcvk92qj1v0n9dpycn6sw56w4zns4mpc30837q6yi7ylrx4f";
|
2012-07-04 01:13:44 +01:00
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-07-04 01:13:44 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A high-level Python Web framework";
|
|
|
|
homepage = https://www.djangoproject.com/;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2012-05-30 22:12:40 +01:00
|
|
|
django_evolution = buildPythonPackage rec {
|
|
|
|
name = "django_evolution-0.6.7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/d/django_evolution/${name}.tar.gz";
|
|
|
|
md5 = "24b8373916f53f74d701b99a6cf41409";
|
|
|
|
};
|
|
|
|
|
2012-08-01 09:59:44 +01:00
|
|
|
propagatedBuildInputs = [ django_1_3 ];
|
2012-05-30 22:12:40 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A database schema evolution tool for the Django web framework";
|
|
|
|
homepage = http://code.google.com/p/django-evolution/;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2012-05-30 22:12:40 +01:00
|
|
|
djblets = buildPythonPackage rec {
|
2012-11-13 00:37:46 +00:00
|
|
|
name = "Djblets-0.6.23";
|
2012-05-30 22:12:40 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-07-04 01:13:44 +01:00
|
|
|
url = "http://downloads.reviewboard.org/releases/Djblets/0.6/${name}.tar.gz";
|
2012-11-13 00:37:46 +00:00
|
|
|
sha256 = "1d8vg5a9q2ldnbxqap1893lqb66jwcsli2brbjx7mcnqrzcz449x";
|
2012-05-30 22:12:40 +01:00
|
|
|
};
|
|
|
|
|
2012-12-03 06:36:57 +00:00
|
|
|
propagatedBuildInputs = [ pil django_1_3 ];
|
2012-05-30 22:12:40 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A collection of useful extensions for Django";
|
|
|
|
homepage = https://github.com/djblets/djblets;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2012-04-16 00:48:11 +01:00
|
|
|
dulwich = buildPythonPackage rec {
|
|
|
|
name = "dulwich-0.8.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://samba.org/~jelmer/dulwich/${name}.tar.gz";
|
|
|
|
sha256 = "1a1619e9c7e63fe9bdc93356ee893be1016b7ea12ad953f4e1f1f5c0c5056ee8";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildPhase = "make build";
|
|
|
|
installCommand = ''
|
|
|
|
python setup.py install --prefix="$out" --root=/ --record="$out/lib/${python.libPrefix}/site-packages/dulwich/list.txt" --single-version-externally-managed
|
|
|
|
'';
|
2012-12-03 05:38:11 +00:00
|
|
|
|
|
|
|
# For some reason "python setup.py test" doesn't work with Python 2.6.
|
2012-12-03 07:30:17 +00:00
|
|
|
# pretty sure that is about import behaviour.
|
2012-12-03 06:37:04 +00:00
|
|
|
doCheck = python.majorVersion != "2.6";
|
2012-04-16 00:48:11 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Simple Python implementation of the Git file formats and protocols.";
|
|
|
|
homepage = http://samba.org/~jelmer/dulwich/;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2012-04-16 00:48:11 +01:00
|
|
|
hggit = buildPythonPackage rec {
|
|
|
|
name = "hg-git-0.3.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/h/hg-git/${name}.tar.gz";
|
|
|
|
md5 = "4b15867a07abb0be985177581ce64cee";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ dulwich ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Push and pull from a Git server using Mercurial.";
|
|
|
|
homepage = http://hg-git.github.com/;
|
|
|
|
};
|
|
|
|
};
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2011-09-19 22:00:37 +01:00
|
|
|
docutils = buildPythonPackage rec {
|
|
|
|
name = "docutils-0.8.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/docutils/${name}.tar.gz";
|
|
|
|
sha256 = "0wfz4nxl95jcr2f2mc5gijgighavcghg33plzbz5jyi531jpffss";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-02-28 00:06:42 +00:00
|
|
|
doCheck = false;
|
2011-09-19 22:00:37 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://docutils.sourceforge.net/;
|
|
|
|
description = "Docutils is an open-source text processing system for processing plaintext documentation into useful formats, such as HTML or LaTeX.";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
dtopt = buildPythonPackage rec {
|
|
|
|
name = "dtopt-0.1";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/d/dtopt/${name}.tar.gz";
|
|
|
|
md5 = "9a41317149e926fcc408086aedee6bab";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Add options to doctest examples while they are running";
|
|
|
|
homepage = http://pypi.python.org/pypi/dtopt;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-08-30 20:50:36 +01:00
|
|
|
enum = buildPythonPackage rec {
|
|
|
|
name = "enum-0.4.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/e/enum/${name}.tar.gz";
|
|
|
|
md5 = "ce75c7c3c86741175a84456cc5bd531e";
|
|
|
|
};
|
|
|
|
|
2012-02-28 00:06:42 +00:00
|
|
|
buildInputs = [ ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ];
|
|
|
|
|
2011-08-30 20:50:36 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://pypi.python.org/pypi/enum/;
|
|
|
|
description = "Robust enumerated type support in Python.";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2011-02-21 21:49:20 +00:00
|
|
|
eventlet = buildPythonPackage rec {
|
2011-06-09 18:10:59 +01:00
|
|
|
name = "eventlet-0.9.16";
|
2011-02-21 21:49:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/e/eventlet/${name}.tar.gz";
|
2011-06-09 18:10:59 +01:00
|
|
|
md5 = "4728e3bd7f72763c1e5dccac0296f8ea";
|
2011-02-21 21:49:20 +00:00
|
|
|
};
|
|
|
|
|
2012-02-28 00:06:42 +00:00
|
|
|
buildInputs = [ nose httplib2 ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ greenlet ];
|
2011-02-21 21:49:20 +00:00
|
|
|
|
2011-03-30 18:03:49 +01:00
|
|
|
PYTHON_EGG_CACHE = "`pwd`/.egg-cache";
|
2011-02-21 21:49:20 +00:00
|
|
|
|
2011-03-29 17:15:08 +01:00
|
|
|
doCheck = false; # !!! fix; tests access the network
|
2011-02-21 21:49:20 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://pypi.python.org/pypi/eventlet/;
|
|
|
|
description = "A concurrent networking library for Python";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2012-09-28 16:06:07 +01:00
|
|
|
flake8 = buildPythonPackage (rec {
|
2012-11-25 17:58:25 +00:00
|
|
|
name = "flake8-1.6.2";
|
2012-09-28 16:06:07 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/f/flake8/${name}.tar.gz";
|
2012-11-25 17:58:25 +00:00
|
|
|
md5 = "abfdbb25d37c28e9da05f1b5c3596d1a";
|
2012-09-28 16:06:07 +01:00
|
|
|
};
|
|
|
|
|
2012-12-03 07:30:17 +00:00
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
|
|
|
# 3 failing tests
|
2012-09-28 16:06:07 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "code checking using pep8 and pyflakes.";
|
|
|
|
homepage = http://pypi.python.org/pypi/flake8;
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
|
2012-07-16 12:20:24 +01:00
|
|
|
flask = buildPythonPackage {
|
|
|
|
name = "flask-0.9";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/F/Flask/Flask-0.9.tar.gz";
|
|
|
|
md5 = "4a89ef2b3ab0f151f781182bd0cc8933";
|
|
|
|
};
|
|
|
|
|
2012-07-16 16:54:45 +01:00
|
|
|
propagatedBuildInputs = [ werkzeug jinja2 ];
|
2012-07-16 12:20:24 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://flask.pocoo.org/;
|
|
|
|
description = "A microframework based on Werkzeug, Jinja 2, and good intentions";
|
|
|
|
license = "BSD";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2010-10-04 10:49:09 +01:00
|
|
|
flup = buildPythonPackage (rec {
|
|
|
|
name = "flup-1.0.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.saddi.com/software/flup/dist/${name}.tar.gz";
|
|
|
|
sha256 = "1nbx174g40l1z3a8arw72qz05a1qxi3didp9wm7kvkn1bxx33bab";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://trac.saddi.com/flup";
|
|
|
|
description = "FastCGI Python module set";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
foolscap = buildPythonPackage (rec {
|
2011-09-13 21:10:29 +01:00
|
|
|
name = "foolscap-0.6.1";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://foolscap.lothar.com/releases/${name}.tar.gz";
|
2011-09-13 21:10:29 +01:00
|
|
|
sha256 = "8b3e4fc678c5c41483b3130666583a1c3909713adcd325204daded7b67171ed5";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
2012-02-28 00:06:42 +00:00
|
|
|
propagatedBuildInputs = [ twisted pkgs.pyopenssl ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://foolscap.lothar.com/;
|
|
|
|
|
|
|
|
description = "Foolscap, an RPC protocol for Python that follows the distributed object-capability model";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
"Foolscap" is the name for the next-generation RPC protocol,
|
|
|
|
intended to replace Perspective Broker (part of Twisted).
|
|
|
|
Foolscap is a protocol to implement a distributed
|
|
|
|
object-capabilities model in Python.
|
|
|
|
'';
|
|
|
|
|
|
|
|
# See http://foolscap.lothar.com/trac/browser/LICENSE.
|
|
|
|
license = "MIT";
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2012-08-05 12:50:56 +01:00
|
|
|
fuse = buildPythonPackage (rec {
|
|
|
|
baseName = "fuse";
|
|
|
|
version = "0.2.1";
|
|
|
|
name = "${baseName}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://downloads.sourceforge.net/sourceforge/fuse/fuse-python-${version}.tar.gz";
|
|
|
|
sha256 = "06rmp1ap6flh64m81j0n3a357ij2vj9zwcvvw0p31y6hz1id9shi";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.pkgconfig pkgs.fuse ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Python bindings for FUSE.";
|
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
genshi = buildPythonPackage {
|
2011-04-09 14:37:11 +01:00
|
|
|
name = "genshi-0.6";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-04-09 14:37:11 +01:00
|
|
|
url = http://ftp.edgewall.com/pub/genshi/Genshi-0.6.tar.gz;
|
|
|
|
sha256 = "0jrajyppdzb3swcxv3w1mpp88vcy7400gy1v2h2gm3pq0dmggaij";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# FAIL: test_sanitize_remove_script_elem (genshi.filters.tests.html.HTMLSanitizerTestCase)
|
|
|
|
# FAIL: test_sanitize_remove_src_javascript (genshi.filters.tests.html.HTMLSanitizerTestCase)
|
2012-06-27 21:07:09 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
buildInputs = [ pkgs.setuptools ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Python components for parsing HTML, XML and other textual content";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Python library that provides an integrated set of
|
|
|
|
components for parsing, generating, and processing HTML, XML or other
|
|
|
|
textual content for output generation on the web.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = "BSD";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:35 +01:00
|
|
|
genzshcomp = buildPythonPackage {
|
|
|
|
name = "genzshcomp-0.2.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/g/genzshcomp/genzshcomp-0.2.2.tar.gz";
|
|
|
|
sha256 = "0bhiyx41kilvy04cgjbvjy2r4b6l7zz31fbrg3l6lvnqm26nihb0";
|
|
|
|
};
|
|
|
|
|
2012-12-03 06:37:04 +00:00
|
|
|
buildInputs = [ pkgs.setuptools ] ++
|
|
|
|
(if python.majorVersion == "2.6" then [ argparse ] else []);
|
2011-07-20 16:30:35 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "automatically generated zsh completion function for Python's option parser modules";
|
|
|
|
license = "BSD";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2011-02-21 16:56:49 +00:00
|
|
|
gflags = buildPythonPackage rec {
|
|
|
|
name = "gflags-1.5.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://python-gflags.googlecode.com/files/python-${name}.tar.gz";
|
|
|
|
sha256 = "1p8blsc3z1wasi9dhbjij7m2czps17dll3cpj37v97fv5ww7al9v";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://code.google.com/p/python-gflags/;
|
|
|
|
description = "A module for command line handling, similar to Google's gflags for C++";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-03-30 18:03:49 +01:00
|
|
|
glance = buildPythonPackage rec {
|
|
|
|
name = "glance-0.1.7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/g/glance/${name}.tar.gz";
|
|
|
|
md5 = "e733713ccd23e4a6253386a47971cfb5";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose mox ];
|
|
|
|
|
2012-12-03 06:37:04 +00:00
|
|
|
# tests fail for python2.6
|
|
|
|
doCheck = python.majorVersion != "2.6";
|
|
|
|
|
2012-02-21 23:35:35 +00:00
|
|
|
propagatedBuildInputs = [ gflags sqlalchemy webob routes eventlet ];
|
2011-03-30 18:03:49 +01:00
|
|
|
|
|
|
|
PYTHON_EGG_CACHE = "`pwd`/.egg-cache";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://launchpad.net/glance;
|
|
|
|
description = "Services for discovering, registering, and retrieving virtual machine images";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-02-21 17:26:19 +00:00
|
|
|
greenlet = buildPythonPackage rec {
|
|
|
|
name = "greenlet-0.3.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/g/greenlet/${name}.tar.gz";
|
|
|
|
md5 = "8d75d7f3f659e915e286e1b0fa0e1c4d";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://pypi.python.org/pypi/greenlet;
|
|
|
|
description = "Module for lightweight in-process concurrent programming";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2012-07-25 15:55:49 +01:00
|
|
|
gyp = buildPythonPackage rec {
|
|
|
|
rev = "1435";
|
|
|
|
name = "gyp-r${rev}";
|
|
|
|
|
|
|
|
src = fetchsvn {
|
|
|
|
url = "http://gyp.googlecode.com/svn/trunk";
|
|
|
|
inherit rev;
|
|
|
|
sha256 = "1wmd1svx5344alb8ff9vzdam1ccqdl0h7shp1xnsk843hqwc0fz0";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-07-25 15:55:49 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
postUnpack = "find . -print0 | xargs -0 touch";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://code.google.com/p/gyp;
|
|
|
|
description = "Generate Your Projects";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2011-02-21 17:26:19 +00:00
|
|
|
httplib2 = buildPythonPackage rec {
|
2012-11-29 13:16:32 +00:00
|
|
|
name = "httplib2-0.7.7";
|
2011-02-21 17:26:19 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://httplib2.googlecode.com/files/${name}.tar.gz";
|
2012-11-29 13:16:32 +00:00
|
|
|
sha256 = "2e2ce18092c32d1ec54f8a447e14e33585e30f240b883bfeeca65f12b3bcfaf6";
|
2011-02-21 17:26:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
2012-10-01 12:05:57 +01:00
|
|
|
homepage = "http://code.google.com/p/httplib2";
|
2011-02-21 17:26:19 +00:00
|
|
|
description = "A comprehensive HTTP client library";
|
2012-10-01 12:05:57 +01:00
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
platforms = python.meta.platforms;
|
2011-02-21 17:26:19 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2012-02-28 11:53:34 +00:00
|
|
|
iptools = buildPythonPackage rec {
|
|
|
|
version = "0.4.0";
|
|
|
|
name = "iptools-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/i/iptools/iptools-${version}.tar.gz";
|
|
|
|
md5 = "de60e5fab861f29dbf5f4446f8576532";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Utilities for manipulating IP addresses including a class that can be used to include CIDR network blocks in Django's INTERNAL_IPS setting.";
|
|
|
|
homepage = http://pypi.python.org/pypi/iptools;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
ipy = buildPythonPackage rec {
|
|
|
|
version = "0.74";
|
|
|
|
name = "ipy-${version}";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/I/IPy/IPy-${version}.tar.gz";
|
|
|
|
md5 = "f4f7ddc7c5e55a47222a5cc6c0a87b6d";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2011-03-30 12:54:17 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Class and tools for handling of IPv4 and IPv6 addresses and networks";
|
|
|
|
homepage = http://pypi.python.org/pypi/IPy;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-01-03 18:28:12 +00:00
|
|
|
jedi = buildPythonPackage (rec {
|
|
|
|
name = "jedi-0.5b5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/j/jedi/${name}.tar.gz";
|
|
|
|
sha256 = "10xqdhda9kdbc22h4dphxqjncpdb80s1crxsirr5h016rw9czsa4";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/davidhalter/jedi";
|
|
|
|
description = "An autocompletion tool for Python that can be used for text editors.";
|
|
|
|
license = pkgs.lib.licenses.lgpl3Plus;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
});
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
jinja2 = buildPythonPackage {
|
2011-09-30 18:26:38 +01:00
|
|
|
name = "jinja2-2.6";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-09-30 18:26:38 +01:00
|
|
|
url = "http://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.6.tar.gz";
|
|
|
|
md5 = "1c49a8825c993bfdcf55bb36897d28a2";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://jinja.pocoo.org/;
|
|
|
|
description = "Stand-alone template engine";
|
|
|
|
license = "BSD";
|
|
|
|
longDescription = ''
|
|
|
|
Jinja2 is a template engine written in pure Python. It provides a
|
|
|
|
Django inspired non-XML syntax but supports inline expressions and
|
|
|
|
an optional sandboxed environment.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2012-08-31 13:47:47 +01:00
|
|
|
pylast = buildPythonPackage rec {
|
|
|
|
name = "pylast-${version}";
|
|
|
|
version = "0.5.11";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pylast/${name}.tar.gz";
|
|
|
|
md5 = "506cf1b13020b3ed2f3c845ea0c9830e";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-08-31 13:47:47 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://code.google.com/p/pylast/;
|
|
|
|
description = "A python interface to last.fm (and compatibles)";
|
|
|
|
license = pkgs.lib.licenses.asl20;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2010-08-23 11:17:30 +01:00
|
|
|
libcloud = buildPythonPackage (rec {
|
2012-02-28 00:06:42 +00:00
|
|
|
name = "libcloud-0.3.1";
|
2010-08-23 11:17:30 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-02-28 00:06:42 +00:00
|
|
|
url = mirror://apache/incubator/libcloud/apache-libcloud-incubating-0.3.1.tar.bz2;
|
|
|
|
sha256 = "11qilrs4sd4c1mkd64ikrjsc2vwrshhc54n5mh4xrark9c7ayp0y";
|
2010-08-23 11:17:30 +01:00
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
buildInputs = [ zopeInterface mock ];
|
2010-08-23 11:17:30 +01:00
|
|
|
|
|
|
|
preConfigure = "cp test/secrets.py-dist test/secrets.py";
|
|
|
|
|
2012-12-03 08:03:29 +00:00
|
|
|
# failing tests for 26 and 27
|
|
|
|
doCheck = false;
|
|
|
|
|
2010-08-23 11:17:30 +01:00
|
|
|
meta = {
|
|
|
|
description = "A unified interface to many cloud providers";
|
|
|
|
homepage = http://incubator.apache.org/libcloud/;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-06-09 16:02:39 +01:00
|
|
|
lockfile = buildPythonPackage rec {
|
|
|
|
name = "lockfile-0.9.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pylockfile.googlecode.com/files/${name}.tar.gz";
|
|
|
|
sha1 = "1eebaee375641c9f29aeb21768f917dd2b985752";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
|
|
|
doCheck = false;
|
2011-06-09 16:02:39 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://code.google.com/p/pylockfile/;
|
|
|
|
description = "Platform-independent advisory file locking capability for Python applications";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-10-11 16:05:33 +01:00
|
|
|
logilab_common = buildPythonPackage rec {
|
|
|
|
name = "logilab-common-0.58.2";
|
2011-07-19 17:02:37 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-10-11 16:05:33 +01:00
|
|
|
url = "http://download.logilab.org/pub/common/${name}.tar.gz";
|
|
|
|
sha256 = "0qfdyj2is0scpnkgpnqm12lh4yl27617l0irlilhk25cpgbbfbf9";
|
2011-07-19 17:02:37 +01:00
|
|
|
};
|
2012-10-11 16:05:33 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ unittest2 ];
|
2011-07-19 17:02:37 +01:00
|
|
|
};
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
lxml = buildPythonPackage ( rec {
|
|
|
|
name = "lxml-2.2.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://pypi.python.org/packages/source/l/lxml/lxml-2.2.2.tar.gz;
|
|
|
|
sha256 = "0zjpsy67wcs69qhb06ficl3a5z229hmczpr8h84rkk05vaagj8qv";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.libxml2 pkgs.libxslt ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Pythonic binding for the libxml2 and libxslt libraries";
|
|
|
|
homepage = http://codespeak.net/lxml/index.html;
|
|
|
|
license = "BSD";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2011-03-30 11:02:23 +01:00
|
|
|
|
|
|
|
magic = pkgs.stdenv.mkDerivation rec {
|
2012-04-30 15:34:57 +01:00
|
|
|
name = "python-${pkgs.file511.name}";
|
2011-03-30 11:02:23 +01:00
|
|
|
|
2012-04-30 15:34:57 +01:00
|
|
|
src = pkgs.file511.src;
|
2011-03-30 11:02:23 +01:00
|
|
|
|
2012-04-30 15:34:57 +01:00
|
|
|
patches = [ ../tools/misc/file/python.patch ];
|
|
|
|
buildInputs = [ python pkgs.file511 ];
|
2011-03-30 11:02:23 +01:00
|
|
|
|
|
|
|
configurePhase = "cd python";
|
|
|
|
|
|
|
|
buildPhase = "python setup.py build";
|
|
|
|
|
2012-04-30 15:34:57 +01:00
|
|
|
installPhase = ''
|
|
|
|
python setup.py install --prefix=$out
|
|
|
|
'';
|
2011-03-30 11:02:23 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Python wrapper around libmagic";
|
|
|
|
homepage = http://www.darwinsys.com/file/;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
m2crypto = buildPythonPackage rec {
|
|
|
|
version = "0.21.1";
|
|
|
|
name = "m2crypto-${version}";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-${version}.tar.gz";
|
|
|
|
md5 = "f93d8462ff7646397a9f77a2fe602d17";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.swig pkgs.openssl ];
|
|
|
|
|
|
|
|
buildPhase = "python setup.py build_ext --openssl=${pkgs.openssl}";
|
|
|
|
|
|
|
|
doCheck = false; # another test that depends on the network.
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Python crypto and SSL toolkit";
|
|
|
|
homepage = http://chandlerproject.org/Projects/MeTooCrypto;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-03-30 18:03:49 +01:00
|
|
|
markdown = buildPythonPackage rec {
|
|
|
|
version = "2.0.3";
|
|
|
|
name = "markdown-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/M/Markdown/Markdown-2.0.3.tar.gz";
|
|
|
|
md5 = "751e8055be2433dfd1a82e0fb1b12f13";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2011-03-30 18:03:49 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.freewisdom.org/projects/python-markdown;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
matplotlib = buildPythonPackage ( rec {
|
2012-02-07 17:39:56 +00:00
|
|
|
name = "matplotlib-1.1.0";
|
2010-04-21 11:51:15 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://downloads.sourceforge.net/matplotlib/${name}.tar.gz";
|
2012-02-07 17:39:56 +00:00
|
|
|
sha256 = "be37e1d86c65ecacae6683f8805e051e9904e5f2e02bf2b7a34262c46a6d06a7";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2010-04-21 11:51:15 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2011-09-27 15:00:31 +01:00
|
|
|
propagatedBuildInputs = [ dateutil numpy pkgs.freetype pkgs.libpng pkgs.pkgconfig pkgs.tcl pkgs.tk pkgs.xlibs.libX11 ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "python plotting library, making publication quality plots";
|
|
|
|
homepage = "http://matplotlib.sourceforge.net/";
|
2011-09-27 15:00:40 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
mechanize = buildPythonPackage (rec {
|
|
|
|
name = "mechanize-0.1.11";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://wwwsearch.sourceforge.net/mechanize/src/${name}.tar.gz";
|
|
|
|
sha256 = "1h62mwy4iz09jqz17nrb9j8y0djd500zdfqwrz9xmdwqzqwixkj2";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ clientform ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Stateful programmatic web browsing in Python";
|
|
|
|
|
|
|
|
homepage = http://wwwsearch.sourceforge.net/;
|
|
|
|
|
|
|
|
license = "BSD-style";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2012-05-30 22:12:40 +01:00
|
|
|
memcached = buildPythonPackage rec {
|
|
|
|
name = "memcached-1.48";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.tummy.com/pub/python-memcached/old-releases/python-memcached-1.48.tar.gz";
|
|
|
|
sha256 = "1i0h05z9j0zl65rgvw86p4f54pigkxynhzppn4qxby8rjlnwdfv6";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Python API for communicating with the memcached distributed memory object cache daemon";
|
|
|
|
homepage = http://www.tummy.com/Community/software/python-memcached/;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2010-06-20 16:52:28 +01:00
|
|
|
mock = buildPythonPackage (rec {
|
2011-04-04 15:38:53 +01:00
|
|
|
name = "mock-0.7.0";
|
2010-06-20 16:52:28 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-04-04 15:38:53 +01:00
|
|
|
url = "http://pypi.python.org/packages/source/m/mock/${name}.tar.gz";
|
|
|
|
md5 = "be029f8c963c55250a452c400e10cf42";
|
2010-06-20 16:52:28 +01:00
|
|
|
};
|
|
|
|
|
2011-04-04 15:38:53 +01:00
|
|
|
buildInputs = [ unittest2 ];
|
2010-06-20 16:52:28 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Mock objects for Python";
|
|
|
|
|
|
|
|
homepage = http://python-mock.sourceforge.net/;
|
|
|
|
|
|
|
|
license = "mBSD";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2011-03-30 18:03:49 +01:00
|
|
|
|
|
|
|
mox = buildPythonPackage rec {
|
|
|
|
name = "mox-0.5.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pymox.googlecode.com/files/${name}.tar.gz";
|
|
|
|
sha1 = "b71aeaacf31898c3b38d8b9ca5bcc0664499c0de";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2011-03-30 18:03:49 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://code.google.com/p/pymox/;
|
|
|
|
description = "A mock object framework for Python.";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2010-09-26 20:40:22 +01:00
|
|
|
mutagen = buildPythonPackage (rec {
|
|
|
|
name = "mutagen-1.20";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://mutagen.googlecode.com/files/${name}.tar.gz";
|
|
|
|
sha256 = "1rz63nh7r6qj3zsidf8d3a7ih647prvvqzi51p8dqkqmvrwc8mky";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Python multimedia tagging library";
|
|
|
|
homepage = http://code.google.com/p/mutagen;
|
|
|
|
license = "LGPLv2";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2010-07-28 14:09:04 +01:00
|
|
|
|
2011-03-30 11:02:23 +01:00
|
|
|
MySQL_python = buildPythonPackage {
|
|
|
|
name = "MySQL-python-1.2.3";
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# plenty of failing tests
|
2011-03-30 11:02:23 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://sourceforge/mysql-python/MySQL-python-1.2.3.tar.gz;
|
|
|
|
sha256 = "0vkyg9dmj29hzk7fy77f42p7bfj28skyzsjsjry4wqr3z6xnzrkx";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pkgs.mysql pkgs.zlib ];
|
2011-03-30 11:02:23 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "MySQL database binding for Python";
|
|
|
|
|
|
|
|
homepage = http://sourceforge.net/projects/mysql-python;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
namebench = buildPythonPackage (rec {
|
|
|
|
name = "namebench-1.0.5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://namebench.googlecode.com/files/${name}.tgz";
|
|
|
|
sha256 = "6cbde35ce94d1f31e7d48f5d8eec13238b4dbc505675a33f1e183e600c1482c3";
|
|
|
|
};
|
|
|
|
|
|
|
|
# No support of GUI yet.
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2010-04-21 11:51:15 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://namebench.googlecode.com/;
|
|
|
|
description = "Find fastest DNS servers available";
|
|
|
|
license = [
|
|
|
|
"Apache-2.0"
|
|
|
|
# third-party program licenses (embedded in the sources)
|
|
|
|
"LGPL" # Crystal_Clear
|
|
|
|
"free" # dns
|
|
|
|
"Apache-2.0" # graphy
|
|
|
|
"BSD" # jinja2
|
|
|
|
];
|
|
|
|
longDescription = ''
|
|
|
|
It hunts down the fastest DNS servers available for your computer to
|
|
|
|
use. namebench runs a fair and thorough benchmark using your web
|
|
|
|
browser history, tcpdump output, or standardized datasets in order
|
|
|
|
to provide an individualized recommendation. namebench is completely
|
|
|
|
free and does not modify your system in any way.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-02-21 17:09:09 +00:00
|
|
|
netaddr = buildPythonPackage rec {
|
|
|
|
name = "netaddr-0.7.5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/downloads/drkjam/netaddr/${name}.tar.gz";
|
|
|
|
sha256 = "0ssxic389rdc79zkz8dxcjpqdi5qs80h12khkag410cl9cwk11f2";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
|
|
|
doCheck = false;
|
2011-02-21 17:09:09 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/drkjam/netaddr/;
|
|
|
|
description = "A network address manipulation library for Python";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
nevow = buildPythonPackage (rec {
|
2010-07-28 00:52:02 +01:00
|
|
|
name = "nevow-${version}";
|
|
|
|
version = "0.10.0";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-12-03 05:54:13 +00:00
|
|
|
url = "http://pypi.python.org/packages/source/N/Nevow/Nevow-${version}.tar.gz";
|
2010-07-28 00:52:02 +01:00
|
|
|
sha256 = "90631f68f626c8934984908d3df15e7c198939d36be7ead1305479dfc67ff6d0";
|
2010-04-21 11:51:15 +01:00
|
|
|
name = "${name}.tar.gz";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:54:13 +00:00
|
|
|
propagatedBuildInputs = [ twisted ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
2012-12-03 05:54:13 +00:00
|
|
|
postInstall = "twistd --help > /dev/null";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
2012-12-03 05:54:13 +00:00
|
|
|
meta = {
|
|
|
|
description = "Nevow, a web application construction kit for Python";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
2012-12-03 05:54:13 +00:00
|
|
|
longDescription = ''
|
|
|
|
Nevow - Pronounced as the French "nouveau", or "noo-voh", Nevow
|
|
|
|
is a web application construction kit written in Python. It is
|
|
|
|
designed to allow the programmer to express as much of the view
|
|
|
|
logic as desired in Python, and includes a pure Python XML
|
|
|
|
expression syntax named stan to facilitate this. However it
|
|
|
|
also provides rich support for designer-edited templates, using
|
|
|
|
a very small XML attribute language to provide bi-directional
|
|
|
|
template manipulation capability.
|
2010-04-21 11:51:15 +01:00
|
|
|
|
2012-12-03 05:54:13 +00:00
|
|
|
Nevow also includes formless, a declarative syntax for
|
|
|
|
specifying the types of method parameters and exposing these
|
|
|
|
methods to the web. Forms can be rendered automatically, and
|
|
|
|
form posts will be validated and input coerced, rendering error
|
|
|
|
pages if appropriate. Once a form post has validated
|
|
|
|
successfully, the method will be called with the coerced values.
|
|
|
|
'';
|
2010-04-21 11:51:15 +01:00
|
|
|
|
2012-12-03 05:54:13 +00:00
|
|
|
homepage = http://divmod.org/trac/wiki/DivmodNevow;
|
|
|
|
|
|
|
|
license = "BSD-style";
|
|
|
|
};
|
|
|
|
});
|
2010-04-21 11:51:15 +01:00
|
|
|
|
2011-11-18 17:07:40 +00:00
|
|
|
nose = buildPythonPackage rec {
|
2012-12-05 11:22:43 +00:00
|
|
|
name = "nose-1.2.1";
|
2011-02-11 22:49:27 +00:00
|
|
|
|
2010-12-22 17:03:30 +00:00
|
|
|
src = fetchurl {
|
2011-11-18 17:07:40 +00:00
|
|
|
url = "http://pypi.python.org/packages/source/n/nose/${name}.tar.gz";
|
2012-12-05 11:22:43 +00:00
|
|
|
md5 = "735e3f1ce8b07e70ee1b742a8a53585a";
|
2010-12-22 17:03:30 +00:00
|
|
|
};
|
2011-02-11 22:49:27 +00:00
|
|
|
|
2010-12-22 17:03:30 +00:00
|
|
|
meta = {
|
|
|
|
description = "A unittest-based testing framework for python that makes writing and running tests easier";
|
|
|
|
};
|
2012-12-05 11:22:43 +00:00
|
|
|
|
2012-12-06 07:24:38 +00:00
|
|
|
buildInputs = [ coverage ];
|
2010-12-22 17:03:30 +00:00
|
|
|
};
|
|
|
|
|
2010-07-06 15:54:22 +01:00
|
|
|
notify = pkgs.stdenv.mkDerivation (rec {
|
|
|
|
name = "python-notify-0.1.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://www.galago-project.org/files/releases/source/notify-python/notify-python-0.1.1.tar.bz2;
|
|
|
|
sha256 = "1kh4spwgqxm534qlzzf2ijchckvs0pwjxl1irhicjmlg7mybnfvx";
|
|
|
|
};
|
|
|
|
|
2012-03-14 21:57:32 +00:00
|
|
|
buildInputs = [ python pkgs.pkgconfig pkgs.libnotify pkgs.pygobject pkgs.pygtk pkgs.glib pkgs.gtk pkgs.dbus_glib ];
|
2010-07-06 15:54:22 +01:00
|
|
|
|
2011-07-21 23:18:41 +01:00
|
|
|
postInstall = "cd $out/lib/python*/site-packages && ln -s gtk-*/pynotify .";
|
2011-09-13 21:10:37 +01:00
|
|
|
|
2010-07-06 15:54:22 +01:00
|
|
|
meta = {
|
|
|
|
description = "Python bindings for libnotify";
|
|
|
|
homepage = http://www.galago-project.org/;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2012-04-30 15:34:57 +01:00
|
|
|
notmuch = pkgs.stdenv.mkDerivation rec {
|
|
|
|
name = "python-${pkgs.notmuch.name}";
|
|
|
|
|
|
|
|
src = pkgs.notmuch.src;
|
|
|
|
|
|
|
|
buildInputs = [ python pkgs.notmuch ];
|
|
|
|
#propagatedBuildInputs = [ python pkgs.notmuch ];
|
|
|
|
|
|
|
|
configurePhase = "cd bindings/python";
|
|
|
|
|
|
|
|
buildPhase = "python setup.py build";
|
|
|
|
|
|
|
|
installPhase = "python setup.py install --prefix=$out";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Python wrapper around notmuch";
|
|
|
|
homepage = http://notmuchmail.org/;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
numpy = buildPythonPackage ( rec {
|
2011-09-09 15:20:43 +01:00
|
|
|
name = "numpy-1.6.1";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-05-03 21:06:09 +01:00
|
|
|
url = "mirror://sourceforge/numpy/${name}.tar.gz";
|
2011-09-09 15:20:43 +01:00
|
|
|
sha256 = "1pawfmf7j7pd3mjzhmmw9hkglc2qdirrkvv29m5nsmpf2b3ip2vq";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
2012-05-09 08:22:18 +01:00
|
|
|
# TODO: add ATLAS=${pkgs.atlas}
|
2010-07-28 14:05:35 +01:00
|
|
|
installCommand = ''
|
2012-05-09 08:22:18 +01:00
|
|
|
export BLAS=${pkgs.blas} LAPACK=${pkgs.liblapack}
|
2010-07-28 14:05:35 +01:00
|
|
|
python setup.py build --fcompiler="gnu95"
|
2011-09-09 15:20:43 +01:00
|
|
|
python setup.py install --prefix=$out
|
2010-07-28 14:05:35 +01:00
|
|
|
'';
|
2012-12-03 05:38:11 +00:00
|
|
|
|
|
|
|
# error: invalid command 'test'
|
2010-04-21 11:51:15 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2010-07-28 14:05:35 +01:00
|
|
|
buildInputs = [ pkgs.gfortran ];
|
|
|
|
propagatedBuildInputs = [ pkgs.liblapack pkgs.blas ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Scientific tools for Python";
|
|
|
|
homepage = "http://numpy.scipy.org/";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2012-10-01 12:05:57 +01:00
|
|
|
oauth2 = buildPythonPackage (rec {
|
2012-12-03 05:38:11 +00:00
|
|
|
name = "oauth2-1.5.211";
|
2012-10-01 12:05:57 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/o/oauth2/oauth2-1.5.211.tar.gz";
|
|
|
|
sha256 = "82a38f674da1fa496c0fc4df714cbb058540bed72a30c50a2e344b0d984c4d21";
|
|
|
|
};
|
|
|
|
|
2012-11-06 23:53:19 +00:00
|
|
|
propagatedBuildInputs = [ httplib2 ];
|
2012-12-03 05:38:11 +00:00
|
|
|
|
2012-12-06 07:24:38 +00:00
|
|
|
buildInputs = [ mock coverage ];
|
|
|
|
|
|
|
|
# ServerNotFoundError: Unable to find the server at oauth-sandbox.sevengoslings.net
|
2012-12-14 19:24:12 +00:00
|
|
|
doCheck = false;
|
2012-10-01 12:05:57 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/simplegeo/python-oauth2";
|
|
|
|
description = "library for OAuth version 1.0";
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2012-07-21 20:43:39 +01:00
|
|
|
# optfunc = buildPythonPackage ( rec {
|
|
|
|
# name = "optfunc-git";
|
|
|
|
#
|
|
|
|
# src = pkgs.fetchgit {
|
|
|
|
# url = "https://github.com/simonw/optfunc.git";
|
|
|
|
# rev = "e3fa034a545ed94ac5a039cf5b170c7d0ee21b7b";
|
|
|
|
# };
|
|
|
|
#
|
|
|
|
# installCommand = ''
|
|
|
|
# dest=$(toPythonPath $out)/optfunc
|
|
|
|
# mkdir -p $dest
|
|
|
|
# cp * $dest/
|
|
|
|
# '';
|
|
|
|
#
|
|
|
|
# doCheck = false;
|
|
|
|
#
|
|
|
|
# meta = {
|
|
|
|
# description = "A new experimental interface to optparse which works by introspecting a function definition";
|
|
|
|
# homepage = "http://simonwillison.net/2009/May/28/optfunc/";
|
|
|
|
# };
|
|
|
|
# });
|
2011-03-26 18:23:20 +00:00
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
ply = buildPythonPackage (rec {
|
|
|
|
name = "ply-3.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.dabeaz.com/ply/${name}.tar.gz";
|
|
|
|
sha256 = "10z4xq8lc8c21v4g7z3zpnvpqbc0vidigrck1kqhwgkqi4gh0kfj";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.dabeaz.com/ply/;
|
|
|
|
|
|
|
|
description = "PLY (Python Lex-Yacc), an implementation of the lex and yacc parsing tools for Python";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
PLY is an implementation of lex and yacc parsing tools for Python.
|
|
|
|
In a nutshell, PLY is nothing more than a straightforward lex/yacc
|
|
|
|
implementation. Here is a list of its essential features: It's
|
|
|
|
implemented entirely in Python; It uses LR-parsing which is
|
|
|
|
reasonably efficient and well suited for larger grammars; PLY
|
|
|
|
provides most of the standard lex/yacc features including support for
|
|
|
|
empty productions, precedence rules, error recovery, and support for
|
|
|
|
ambiguous grammars; PLY is straightforward to use and provides very
|
|
|
|
extensive error checking; PLY doesn't try to do anything more or less
|
|
|
|
than provide the basic lex/yacc functionality. In other words, it's
|
|
|
|
not a large parsing framework or a component of some larger system.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = "revised-BSD";
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2012-05-30 22:12:40 +01:00
|
|
|
paramiko = buildPythonPackage rec {
|
|
|
|
name = "paramiko-1.7.7.1";
|
2010-09-28 10:33:35 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-05-30 22:12:40 +01:00
|
|
|
url = "http://www.lag.net/paramiko/download/${name}.tar.gz";
|
|
|
|
sha256 = "1bjy4jn51c50mpq51jbwk0glzd8bxz83gxdfkr9p95dmrd17c7hh";
|
2010-09-28 10:33:35 +01:00
|
|
|
};
|
|
|
|
|
2012-12-03 06:59:32 +00:00
|
|
|
buildInputs = [ pycrypto ];
|
2010-10-26 02:42:22 +01:00
|
|
|
|
2010-09-28 10:33:35 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "http://www.lag.net/paramiko/";
|
|
|
|
description = "SSH2 protocol for python";
|
|
|
|
license = "LGPL";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
paramiko is a module for python 2.2 (or higher) that implements the
|
|
|
|
SSH2 protocol for secure (encrypted and authenticated) connections to
|
|
|
|
remote machines. unlike SSL (aka TLS), SSH2 protocol does not require
|
|
|
|
heirarchical certificates signed by a powerful central authority. you
|
|
|
|
may know SSH2 as the protocol that replaced telnet and rsh for secure
|
|
|
|
access to remote shells, but the protocol also includes the ability
|
|
|
|
to open arbitrary channels to remote services across the encrypted
|
|
|
|
tunnel -- this is how sftp works, for example. it is written
|
|
|
|
entirely in python (no C or platform-dependent code) and is released
|
|
|
|
under the GNU LGPL (lesser GPL). '';
|
|
|
|
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
|
|
|
|
paste = buildPythonPackage rec {
|
|
|
|
name = "paste-1.7.5.1";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = http://pypi.python.org/packages/source/P/Paste/Paste-1.7.5.1.tar.gz;
|
|
|
|
md5 = "7ea5fabed7dca48eb46dc613c4b6c4ed";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
|
|
|
doCheck = false; # some files required by the test seem to be missing
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Tools for using a Web Server Gateway Interface stack";
|
|
|
|
homepage = http://pythonpaste.org/;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
paste_deploy = buildPythonPackage rec {
|
|
|
|
version = "1.3.4";
|
|
|
|
name = "paste-deploy-${version}";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/P/PasteDeploy/PasteDeploy-${version}.tar.gz";
|
|
|
|
md5 = "eb4b3e2543d54401249c2cbd9f2d014f";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
|
|
|
doCheck = false; # can't find "FakeEgg.app", apparently missing from the tarball
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Load, configure, and compose WSGI applications and servers";
|
|
|
|
homepage = http://pythonpaste.org/deploy/;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2012-08-31 14:03:27 +01:00
|
|
|
pep8 = buildPythonPackage rec {
|
|
|
|
name = "pep8-${version}";
|
|
|
|
version = "1.3.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pep8/${name}.tar.gz";
|
|
|
|
md5 = "093a99ced0cc3b58c01549d7350f5a73";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://pypi.python.org/pypi/pep8/;
|
|
|
|
description = "Python style guide checker";
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2010-08-26 13:03:17 +01:00
|
|
|
pexpect = buildPythonPackage {
|
|
|
|
name = "pexpect-2.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pexpect.sourceforge.net/pexpect-2.3.tar.gz";
|
|
|
|
sha256 = "0x8bfjjqygriry1iyygm5048ykl5qpbpzqfp6i8dhkslm3ryf5fk";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2010-08-26 13:52:43 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2010-08-26 13:03:17 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "http://www.noah.org/wiki/Pexpect";
|
|
|
|
description = "Automate interactive console applications such as ssh, ftp, etc.";
|
|
|
|
license = "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.
|
|
|
|
'';
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2012-10-02 15:51:04 +01:00
|
|
|
polib = buildPythonPackage rec {
|
|
|
|
name = "polib-${version}";
|
|
|
|
version = "1.0.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://bitbucket.org/izi/polib/downloads/${name}.tar.gz";
|
|
|
|
sha256 = "1sr2bb3g7rl7gr6156j5qv71kg06q1x01r1lbps9ksnyz37djn2q";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-10-02 15:51:04 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A library to manipulate gettext files (po and mo files)";
|
|
|
|
homepage = "http://bitbucket.org/izi/polib/";
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2011-06-09 16:02:39 +01:00
|
|
|
prettytable = buildPythonPackage rec {
|
|
|
|
name = "prettytable-0.5";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-06-09 16:02:39 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/P/PrettyTable/${name}.tar.gz";
|
|
|
|
md5 = "13a6930d775395f393afd86948afa4fa";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Simple Python library for easily displaying tabular data in a visually appealing ASCII table format";
|
|
|
|
homepage = http://code.google.com/p/prettytable/;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-08-30 20:57:29 +01:00
|
|
|
protobuf = buildPythonPackage rec {
|
|
|
|
inherit (pkgs.protobuf) name src;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [pkgs.protobuf];
|
|
|
|
sourceRoot = "${name}/python";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Protocol Buffers are Google's data interchange format.";
|
|
|
|
homepage = http://code.google.com/p/protobuf/;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
psycopg2 = buildPythonPackage rec {
|
|
|
|
name = "psycopg2-2.0.13";
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2010-04-21 11:51:15 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://initd.org/pub/software/psycopg/PSYCOPG-2-0/${name}.tar.gz";
|
|
|
|
sha256 = "0arkaa1nbbd3pyn4l1bc75wi7nff3vxxh4s8sj5al5hv20p64pm1";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pkgs.postgresql ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "PostgreSQL database adapter for the Python programming language";
|
|
|
|
license = "GPLv2/ZPL";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-04-30 15:34:57 +01:00
|
|
|
|
2012-10-13 08:54:37 +01:00
|
|
|
publicsuffix = buildPythonPackage rec {
|
|
|
|
name = "publicsuffix-${version}";
|
|
|
|
version = "1.0.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/p/publicsuffix/${name}.tar.gz";
|
|
|
|
md5 = "f86babf56f6e58b564d3853adebcf37a";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Allows to get the public suffix of a domain name";
|
|
|
|
homepage = "http://pypi.python.org/pypi/publicsuffix/";
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2010-06-20 16:52:23 +01:00
|
|
|
pyasn1 = buildPythonPackage ({
|
|
|
|
name = "pyasn1-0.0.11a";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/pyasn1/pyasn1-devel/0.0.11a/pyasn1-0.0.11a.tar.gz";
|
|
|
|
sha256 = "0b7q67ygdk48zn07pyhyg7r0b74gds50652ndpzfw4vs8l3vjg0b";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "ASN.1 tools for Python";
|
|
|
|
|
|
|
|
homepage = http://pyasn1.sourceforge.net/;
|
|
|
|
|
|
|
|
license = "mBSD";
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2012-10-07 06:15:03 +01:00
|
|
|
|
|
|
|
pyaudio = pkgs.stdenv.mkDerivation rec {
|
|
|
|
name = "python-pyaudio-${version}";
|
|
|
|
version = "0.2.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://people.csail.mit.edu/hubert/pyaudio/packages/pyaudio-${version}.tar.gz";
|
|
|
|
md5 = "623809778f3d70254a25492bae63b575";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ python pkgs.portaudio ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
python setup.py install --prefix=$out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Python bindings for PortAudio";
|
|
|
|
homepage = "http://people.csail.mit.edu/hubert/pyaudio/";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2012-04-30 15:34:57 +01:00
|
|
|
Babel = buildPythonPackage (rec {
|
|
|
|
name = "Babel-0.9.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/B/Babel/${name}.tar.gz";
|
|
|
|
sha256 = "4a3a085ecf1fcd2736573538ffa114f1f4331b3bbbdd69381e6e172c49c9750f";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
buildInputs = [ pytz ];
|
2012-04-30 15:34:57 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://babel.edgewall.org;
|
|
|
|
description = "A collection of tools for internationalizing Python applications.";
|
|
|
|
license = "BSD";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
pycryptopp = buildPythonPackage (rec {
|
2011-09-13 21:10:33 +01:00
|
|
|
name = "pycryptopp-0.5.29";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pycryptopp/${name}.tar.gz";
|
2011-09-13 21:10:33 +01:00
|
|
|
sha256 = "d504775b73d30fb05a3237f83c4e9e1ff3312cbba90a4a23e6cbb7d32219502b";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
2010-07-28 14:07:05 +01:00
|
|
|
# Prefer crypto++ library from the Nix store over the one that's included
|
|
|
|
# in the pycryptopp distribution.
|
|
|
|
preConfigure = "export PYCRYPTOPP_DISABLE_EMBEDDED_CRYPTOPP=1";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
2010-07-28 14:07:05 +01:00
|
|
|
buildInputs = [ setuptoolsDarcs darcsver pkgs.cryptopp ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://allmydata.org/trac/pycryptopp;
|
|
|
|
|
|
|
|
description = "Python wrappers for the Crypto++ library";
|
|
|
|
|
|
|
|
license = "GPLv2+";
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2011-03-26 18:23:25 +00:00
|
|
|
|
2012-05-17 14:33:08 +01:00
|
|
|
pycurl = buildPythonPackage (rec {
|
2011-03-26 18:23:25 +00:00
|
|
|
name = "pycurl-7.19.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2012-05-17 14:33:08 +01:00
|
|
|
url = "http://pycurl.sourceforge.net/download/${name}.tar.gz";
|
2011-03-26 18:23:25 +00:00
|
|
|
sha256 = "0hh6icdbp7svcq0p57zf520ifzhn7jw64x07k99j7h57qpy2sy7b";
|
|
|
|
};
|
|
|
|
|
2012-05-17 14:33:08 +01:00
|
|
|
buildInputs = [ pkgs.curl ];
|
2011-03-26 18:23:25 +00:00
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2011-03-26 18:23:25 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2012-05-17 14:33:08 +01:00
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace setup.py --replace '--static-libs' '--libs'
|
2012-02-28 00:06:42 +00:00
|
|
|
'';
|
|
|
|
|
2011-03-26 18:23:25 +00:00
|
|
|
meta = {
|
|
|
|
homepage = http://pycurl.sourceforge.net/;
|
|
|
|
description = "Python wrapper for libcurl";
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2011-09-19 22:00:37 +01:00
|
|
|
pydot = buildPythonPackage rec {
|
|
|
|
name = "pydot-1.0.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pydot/${name}.tar.gz";
|
|
|
|
md5 = "cd739651ae5e1063a89f7efd5a9ec72b";
|
|
|
|
};
|
|
|
|
propagatedBuildInputs = [pyparsing pkgs.graphviz];
|
|
|
|
meta = {
|
|
|
|
homepage = http://code.google.com/p/pydot/;
|
|
|
|
description = "pydot allows to easily create both directed and non directed graphs from Python.";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-09-13 11:28:05 +01:00
|
|
|
pyfeed = buildPythonPackage rec {
|
|
|
|
url = "http://www.blarg.net/%7Esteveha/pyfeed-0.7.4.tar.gz";
|
|
|
|
name = stdenv.lib.nameFromURL url ".tar";
|
|
|
|
src = fetchurl {
|
|
|
|
inherit url;
|
|
|
|
sha256 = "1h4msq573m7wm46h3cqlx4rsn99f0l11rhdqgf50lv17j8a8vvy1";
|
|
|
|
};
|
2012-09-13 11:32:16 +01:00
|
|
|
propagatedBuildInputs = [xe];
|
2012-09-13 11:28:05 +01:00
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-09-13 11:28:05 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://home.blarg.net/~steveha/pyfeed.html";
|
|
|
|
description = "Tools for syndication feeds";
|
|
|
|
};
|
|
|
|
};
|
2011-09-19 22:00:37 +01:00
|
|
|
|
|
|
|
pygments = buildPythonPackage rec {
|
2012-05-30 22:12:40 +01:00
|
|
|
name = "Pygments-1.5";
|
2011-09-19 22:00:37 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/P/Pygments/${name}.tar.gz";
|
2012-05-30 22:12:40 +01:00
|
|
|
md5 = "ef997066cc9ee7a47d01fb4f3da0b5ff";
|
2011-09-19 22:00:37 +01:00
|
|
|
};
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2011-09-19 22:00:37 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://pygments.org/;
|
2012-05-30 22:12:40 +01:00
|
|
|
description = "A generic syntax highlighter";
|
2011-09-19 22:00:37 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2012-07-10 18:45:59 +01:00
|
|
|
pygpgme = buildPythonPackage rec {
|
|
|
|
version = "0.3";
|
|
|
|
name = "pygpgme-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://launchpad.net/pygpgme/trunk/${version}/+download/${name}.tar.gz";
|
|
|
|
sha256 = "5fd887c407015296a8fd3f4b867fe0fcca3179de97ccde90449853a3dfb802e1";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-07-10 18:45:59 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pkgs.gpgme ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://launchpad.net/pygpgme";
|
|
|
|
description = "A Python wrapper for the GPGME library.";
|
|
|
|
license = pkgs.lib.licenses.lgpl21;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2012-09-02 12:13:18 +01:00
|
|
|
pyinotify = pkgs.stdenv.mkDerivation rec {
|
|
|
|
name = "python-pyinotify-${version}";
|
|
|
|
version = "0.9.3";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://github.com/seb-m/pyinotify.git";
|
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
sha256 = "d38ce95e4af00391e58246a8d7fe42bdb51d63054b09809600b2faef2a803472";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ python ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
python setup.py install --prefix=$out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/seb-m/pyinotify/wiki;
|
|
|
|
description = "Monitor filesystems events on Linux platforms with inotify";
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2011-09-19 22:00:37 +01:00
|
|
|
pyparsing = buildPythonPackage rec {
|
|
|
|
name = "pyparsing-1.5.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pyparsing/${name}.tar.gz";
|
|
|
|
md5 = "1e41cb219dae9fc353bd4cd47636b283";
|
|
|
|
};
|
2012-12-03 05:38:11 +00:00
|
|
|
|
|
|
|
# error: invalid command 'test'
|
2011-09-19 22:00:37 +01:00
|
|
|
doCheck = false;
|
2012-12-03 05:38:11 +00:00
|
|
|
|
2011-09-19 22:00:37 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://pyparsing.wikispaces.com/;
|
|
|
|
description = "The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions.";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2011-10-19 11:27:57 +01:00
|
|
|
ldap = buildPythonPackage rec {
|
|
|
|
name = "python-ldap-2.4.3";
|
2012-05-31 20:22:20 +01:00
|
|
|
namePrefix = "";
|
2011-10-19 11:27:57 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/p/python-ldap/${name}.tar.gz";
|
|
|
|
sha256 = "17aysa9b4zjw00ikjirf4m37xbp2ifj1g0zjs14xzqqib3nh1yw8";
|
|
|
|
};
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${pkgs.cyrus_sasl}/include/sasl";
|
|
|
|
propagatedBuildInputs = [pkgs.openldap pkgs.cyrus_sasl pkgs.openssl];
|
|
|
|
};
|
2011-09-19 22:00:37 +01:00
|
|
|
|
2012-08-05 12:50:47 +01:00
|
|
|
|
|
|
|
pylibacl = buildPythonPackage (rec {
|
|
|
|
name = "pylibacl-0.5.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/downloads/iustin/pylibacl/${name}.tar.gz";
|
|
|
|
sha256 = "1idks7j9bn62xzsaxkvhl7bdq6ws8kv8aa0wahfh7724qlbbcf1k";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# ERROR: testExtended (tests.test_acls.AclExtensions)
|
|
|
|
# IOError: [Errno 0] Error
|
2012-08-05 12:50:47 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.acl ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Python extension module for POSIX ACLs. It can be used to query, list, add, and remove ACLs from files and directories under operating systems that support them.";
|
|
|
|
license = stdenv.lib.licenses.lgpl21Plus;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
|
2011-07-19 17:02:37 +01:00
|
|
|
pylint = buildPythonPackage rec {
|
2012-10-11 16:05:33 +01:00
|
|
|
name = "pylint-0.26.0";
|
|
|
|
namePrefix = "";
|
2011-07-19 17:02:37 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-11-22 22:10:25 +00:00
|
|
|
url = "http://download.logilab.org/pub/pylint/${name}.tar.gz";
|
2012-10-11 16:05:33 +01:00
|
|
|
sha256 = "1mg1ywpj0klklv63s2hwn5xwxi3wfwgnyz9d4pz32hzb53azq835";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ logilab_astng ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.logilab.org/project/pylint;
|
|
|
|
description = "A bug and style checker for Python";
|
2011-07-19 17:02:37 +01:00
|
|
|
};
|
|
|
|
};
|
2011-03-26 18:23:25 +00:00
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2011-02-12 13:38:23 +00:00
|
|
|
pymacs = pkgs.stdenv.mkDerivation rec {
|
2013-01-03 22:03:02 +00:00
|
|
|
version = "v0.25";
|
2011-02-12 13:38:23 +00:00
|
|
|
name = "Pymacs-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/pinard/Pymacs/tarball/${version}";
|
|
|
|
name = "${name}.tar.gz";
|
2013-01-03 22:03:02 +00:00
|
|
|
sha256 = "1hmy76c5igm95rqbld7gvk0az24smvc8hplfwx2f5rhn6frj3p2i";
|
2011-02-12 13:38:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ python ];
|
|
|
|
|
2013-01-03 22:03:02 +00:00
|
|
|
patchPhase = ''
|
|
|
|
sed -e "s@ install@ install --prefix=$out@g" -i Makefile
|
2011-02-12 13:38:23 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Emacs Lisp to Python interface";
|
|
|
|
homepage = http://pymacs.progiciels-bpi.ca;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
pyopengl =
|
|
|
|
let version = "3.0.0b5";
|
|
|
|
in
|
|
|
|
buildPythonPackage {
|
|
|
|
name = "pyopengl-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/pyopengl/PyOpenGL-${version}.tar.gz";
|
|
|
|
sha256 = "1rjpl2qdcqn4wamkik840mywdycd39q8dn3wqfaiv35jdsbifxx3";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with pkgs; [ mesa freeglut pil ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://pyopengl.sourceforge.net/;
|
|
|
|
description = "PyOpenGL, the Python OpenGL bindings";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
PyOpenGL is the cross platform Python binding to OpenGL and
|
|
|
|
related APIs. The binding is created using the standard (in
|
|
|
|
Python 2.5) ctypes library, and is provided under an extremely
|
|
|
|
liberal BSD-style Open-Source license.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = "BSD-style";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2011-09-09 15:20:43 +01:00
|
|
|
pyreport = buildPythonPackage (rec {
|
|
|
|
name = "pyreport-0.3.4c";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pyreport/${name}.tar.gz";
|
|
|
|
md5 = "3076164a7079891d149a23f9435581db";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2011-09-09 15:20:43 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://pypi.python.org/pypi/pyreport;
|
|
|
|
license = "BSD";
|
|
|
|
description = "Pyreport makes notes out of a python script.";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
pysqlite = buildPythonPackage (rec {
|
|
|
|
name = "pysqlite-2.5.5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pysqlite.googlecode.com/files/${name}.tar.gz";
|
|
|
|
sha256 = "ef7ca7f44893790e1a7084b10ea083770e138689406fddc7076d12d6bff4d44f";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Since the `.egg' file is zipped, the `NEEDED' of the `.so' files
|
|
|
|
# it contains is not taken into account. Thus, we must explicitly make
|
|
|
|
# it a propagated input.
|
|
|
|
propagatedBuildInputs = [ pkgs.sqlite ];
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace "setup.cfg" \
|
|
|
|
--replace "/usr/local/include" "${pkgs.sqlite}/include" \
|
|
|
|
--replace "/usr/local/lib" "${pkgs.sqlite}/lib"
|
|
|
|
'';
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2010-04-21 11:51:15 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://pysqlite.org/;
|
|
|
|
|
|
|
|
description = "Python bindings for the SQLite embedded relational database engine";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
pysqlite is a DB-API 2.0-compliant database interface for SQLite.
|
|
|
|
|
|
|
|
SQLite is a relational database management system contained in
|
|
|
|
a relatively small C library. It is a public domain project
|
|
|
|
created by D. Richard Hipp. Unlike the usual client-server
|
|
|
|
paradigm, the SQLite engine is not a standalone process with
|
|
|
|
which the program communicates, but is linked in and thus
|
|
|
|
becomes an integral part of the program. The library
|
|
|
|
implements most of SQL-92 standard, including transactions,
|
|
|
|
triggers and most of complex queries.
|
|
|
|
|
|
|
|
pysqlite makes this powerful embedded SQL engine available to
|
|
|
|
Python programmers. It stays compatible with the Python
|
|
|
|
database API specification 2.0 as much as possible, but also
|
|
|
|
exposes most of SQLite's native API, so that it is for example
|
|
|
|
possible to create user-defined SQL functions and aggregates
|
|
|
|
in Python.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = "revised BSD";
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2012-02-28 00:06:42 +00:00
|
|
|
|
2011-03-30 11:02:23 +01:00
|
|
|
pysvn = pkgs.stdenv.mkDerivation {
|
2012-04-04 17:16:07 +01:00
|
|
|
name = "pysvn-1.7.6";
|
2011-03-30 11:02:23 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-04-04 17:16:07 +01:00
|
|
|
url = "http://pysvn.barrys-emacs.org/source_kits/pysvn-1.7.6.tar.gz";
|
|
|
|
sha256 = "0wwb9h3rw2r8hzqya8mv5z8pgjpa6y3i15a3cccdv2mil44289a7";
|
2011-03-30 11:02:23 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ python pkgs.subversion pkgs.apr pkgs.aprutil pkgs.expat pkgs.neon pkgs.openssl ]
|
|
|
|
++ (if stdenv.isLinux then [pkgs.e2fsprogs] else []);
|
|
|
|
|
|
|
|
# There seems to be no way to pass that path to configure.
|
|
|
|
NIX_CFLAGS_COMPILE="-I${pkgs.aprutil}/include/apr-1";
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
cd Source
|
2012-02-28 00:06:42 +00:00
|
|
|
python setup.py backport
|
2011-03-30 11:02:23 +01:00
|
|
|
python setup.py configure \
|
|
|
|
--apr-inc-dir=${pkgs.apr}/include/apr-1 \
|
2012-04-04 17:16:07 +01:00
|
|
|
--apu-inc-dir=${pkgs.aprutil}/include/apr-1 \
|
2011-03-30 11:02:23 +01:00
|
|
|
--apr-lib-dir=${pkgs.apr}/lib \
|
|
|
|
--svn-root-dir=${pkgs.subversion}
|
|
|
|
'' + (if !stdenv.isDarwin then "" else ''
|
|
|
|
sed -i -e 's|libpython2.7.dylib|lib/libpython2.7.dylib|' Makefile
|
|
|
|
'');
|
|
|
|
|
|
|
|
checkPhase = "make -C ../Tests";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
dest=$(toPythonPath $out)/pysvn
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $dest
|
2011-03-30 11:02:23 +01:00
|
|
|
cp pysvn/__init__.py $dest/
|
|
|
|
cp pysvn/_pysvn*.so $dest/
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/share/doc
|
2011-03-30 11:02:23 +01:00
|
|
|
mv -v ../Docs $out/share/doc/pysvn-1.7.2
|
|
|
|
rm -v $out/share/doc/pysvn-1.7.2/generate_cpp_docs_from_html_docs.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Python bindings for Subversion";
|
|
|
|
homepage = "http://pysvn.tigris.org/";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2012-05-30 22:12:40 +01:00
|
|
|
pytz = buildPythonPackage rec {
|
|
|
|
name = "pytz-2012c";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pytz/${name}.tar.bz2";
|
|
|
|
md5 = "660e0cee7f6c419ca2665db460f65131";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "World timezone definitions, modern and historical";
|
|
|
|
homepage = http://pytz.sourceforge.net/;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
pyutil = buildPythonPackage (rec {
|
2010-07-28 00:51:36 +01:00
|
|
|
name = "pyutil-1.7.9";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pyutil/${name}.tar.gz";
|
2010-07-28 00:51:36 +01:00
|
|
|
sha256 = "c303bb779f96073820e2eb7c9692fe15a57df491eb356839f3cb3377ed03b844";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
2010-07-28 00:51:36 +01:00
|
|
|
buildInputs = [ setuptoolsDarcs setuptoolsTrial ] ++ (if doCheck then [ simplejson ] else []);
|
|
|
|
propagatedBuildInputs = [ zbase32 argparse twisted ];
|
|
|
|
# Tests fail because they try to write new code into the twisted
|
|
|
|
# package, apparently some kind of plugin.
|
|
|
|
doCheck = false;
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Pyutil, a collection of mature utilities for Python programmers";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
These are a few data structures, classes and functions which
|
|
|
|
we've needed over many years of Python programming and which
|
|
|
|
seem to be of general use to other Python programmers. Many of
|
|
|
|
the modules that have existed in pyutil over the years have
|
|
|
|
subsequently been obsoleted by new features added to the
|
|
|
|
Python language or its standard library, thus showing that
|
|
|
|
we're not alone in wanting tools like these.
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = http://allmydata.org/trac/pyutil;
|
|
|
|
|
|
|
|
license = "GPLv2+";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2012-08-05 12:50:24 +01:00
|
|
|
|
|
|
|
pyxattr = buildPythonPackage (rec {
|
|
|
|
name = "pyxattr-0.5.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/downloads/iustin/pyxattr/${name}.tar.gz";
|
|
|
|
sha256 = "0jmkffik6hdzs7ng8c65bggss2ai40nm59jykswdf5lpd36cxddq";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-08-05 12:50:24 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.attr ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Python extension module which gives access to the extended attributes for filesystem objects available in some operating systems.";
|
|
|
|
license = stdenv.lib.licenses.lgpl21Plus;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
pyyaml = buildPythonPackage (rec {
|
|
|
|
name = "PyYAML-3.09";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pyyaml.org/download/pyyaml/PyYAML-3.09.zip";
|
|
|
|
sha256 = "204aca8b42dbe90e460794d743dd16182011da85507bfd4f092f9f76e0688040";
|
|
|
|
};
|
|
|
|
|
2012-02-28 00:06:52 +00:00
|
|
|
buildInputs = [ pkgs.unzip pkgs.pyrex ];
|
2010-04-21 11:51:15 +01:00
|
|
|
propagatedBuildInputs = [ pkgs.libyaml ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The next generation YAML parser and emitter for Python";
|
|
|
|
homepage = http://pyyaml.org;
|
|
|
|
license = "free"; # !?
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2012-05-30 22:12:40 +01:00
|
|
|
RBTools = buildPythonPackage rec {
|
|
|
|
name = "rbtools-0.4.1";
|
|
|
|
namePrefix = "";
|
2012-03-15 10:54:48 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-05-30 22:12:40 +01:00
|
|
|
url = "http://downloads.reviewboard.org/releases/RBTools/0.4/RBTools-0.4.1.tar.gz";
|
2012-03-15 10:54:48 +00:00
|
|
|
sha256 = "1v0r7rfzrasj56s53mib51wl056g7ykh2y1c6dwv12r6hzqsycgv";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ setuptools ];
|
|
|
|
};
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2012-05-30 22:12:40 +01:00
|
|
|
recaptcha_client = buildPythonPackage rec {
|
|
|
|
name = "recaptcha-client-1.0.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/r/recaptcha-client/${name}.tar.gz";
|
|
|
|
md5 = "74228180f7e1fb76c4d7089160b0d919";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A CAPTCHA for Python using the reCAPTCHA service";
|
|
|
|
homepage = http://recaptcha.net/;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2011-09-13 21:10:37 +01:00
|
|
|
reportlab =
|
2011-09-09 15:20:43 +01:00
|
|
|
let freetype = pkgs.lib.overrideDerivation pkgs.freetype (args: { configureFlags = "--enable-static --enable-shared"; });
|
|
|
|
in buildPythonPackage rec {
|
|
|
|
name = "reportlab-2.5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/r/reportlab/${name}.tar.gz";
|
|
|
|
md5 = "cdf8b87a6cf1501de1b0a8d341a217d3";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [freetype];
|
2012-12-03 05:38:11 +00:00
|
|
|
|
|
|
|
# error: invalid command 'test'
|
2011-09-13 21:10:37 +01:00
|
|
|
doCheck = false;
|
2011-09-09 15:20:43 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The ReportLab Toolkit. An Open Source Python library for generating PDFs and graphics.";
|
|
|
|
homepage = http://www.reportlab.com/;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2012-05-30 22:12:40 +01:00
|
|
|
reviewboard = buildPythonPackage rec {
|
2012-11-13 00:37:46 +00:00
|
|
|
name = "ReviewBoard-1.6.13";
|
2012-05-30 22:12:40 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://downloads.reviewboard.org/releases/ReviewBoard/1.6/${name}.tar.gz";
|
2012-11-13 00:37:46 +00:00
|
|
|
sha256 = "06q9vgvmmwiyqj6spw6sbhrcxwds02pvqir50psbpps74nxn2mph";
|
2012-05-30 22:12:40 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs =
|
|
|
|
[ recaptcha_client pytz memcached dateutil paramiko flup pygments
|
2012-12-03 07:05:58 +00:00
|
|
|
djblets django_1_3 django_evolution pycrypto python.modules.sqlite3
|
|
|
|
pysvn pil psycopg2
|
2012-05-30 22:12:40 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2010-08-27 07:32:49 +01:00
|
|
|
rdflib = buildPythonPackage (rec {
|
|
|
|
name = "rdflib-3.0.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.rdflib.net/${name}.tar.gz";
|
|
|
|
sha256 = "1c7ipk5vwqnln83rmai5jzyxkjdajdzbk5cgy1z83nyr5hbkgkqr";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-02-28 00:06:42 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2010-08-27 07:32:49 +01:00
|
|
|
meta = {
|
|
|
|
description = "RDFLib is a Python library for working with RDF, a simple yet powerful language for representing information.";
|
|
|
|
homepage = http://www.rdflib.net/;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2013-01-04 00:58:22 +00:00
|
|
|
rope = buildPythonPackage rec {
|
|
|
|
version = "0.9.4";
|
2011-02-11 23:06:54 +00:00
|
|
|
name = "rope-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/r/rope/${name}.tar.gz";
|
2013-01-04 00:58:22 +00:00
|
|
|
sha256 = "1fm6ahff50b10mlnc0ar4x1fv9sxmcp1g651myyqy7c50hk39h1d";
|
2011-02-11 23:06:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "python refactoring library";
|
|
|
|
homepage = http://rope.sf.net;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
2011-02-12 12:50:02 +00:00
|
|
|
};
|
2011-02-11 23:06:54 +00:00
|
|
|
|
2013-01-04 00:58:22 +00:00
|
|
|
ropemacs = buildPythonPackage rec {
|
|
|
|
version = "0.7";
|
2011-02-11 22:49:27 +00:00
|
|
|
name = "ropemacs-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-01-04 00:58:22 +00:00
|
|
|
url = "http://pypi.python.org/packages/source/r/ropemacs/${name}.tar.gz";
|
|
|
|
sha256 = "1x5qf1drcdz9jfiiakc60kzqkb3ahsg9j902c5byf3gjfacdrmqj";
|
2011-02-11 22:49:27 +00:00
|
|
|
};
|
|
|
|
|
2013-01-04 00:58:22 +00:00
|
|
|
propagatedBuildInputs = [ ropemode ];
|
2011-02-12 12:50:02 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "a plugin for performing python refactorings in emacs";
|
|
|
|
homepage = http://rope.sf.net/ropemacs.html;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
};
|
2011-02-11 22:49:27 +00:00
|
|
|
|
2013-01-04 00:58:22 +00:00
|
|
|
ropemode = buildPythonPackage rec {
|
|
|
|
version = "0.2";
|
|
|
|
name = "ropemode-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/r/ropemode/${name}.tar.gz";
|
|
|
|
sha256 = "0jw6h1wvk6wk0wknqdf7s9pw76m8472jv546lqdd88jbl2scgcjl";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ rope ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "a plugin for performing python refactorings in emacs";
|
|
|
|
homepage = http://rope.sf.net;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
routes = buildPythonPackage rec {
|
|
|
|
name = "routes-1.12.3";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = http://pypi.python.org/packages/source/R/Routes/Routes-1.12.3.tar.gz;
|
|
|
|
md5 = "9740ff424ff6b841632c784a38fb2be3";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ paste webtest ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Python re-implementation of the Rails routes system for mapping URLs to application actions";
|
|
|
|
homepage = http://routes.groovie.org/;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-09-09 15:20:43 +01:00
|
|
|
scipy = buildPythonPackage rec {
|
|
|
|
name = "scipy-0.9.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/s/scipy/${name}.tar.gz";
|
|
|
|
md5 = "ebfef6e8e82d15c875a4ee6a46d4e1cd";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [pkgs.gfortran];
|
|
|
|
propagatedBuildInputs = [ numpy ];
|
2012-12-03 05:38:11 +00:00
|
|
|
|
|
|
|
# error: invalid command 'test'
|
2011-09-13 21:10:37 +01:00
|
|
|
doCheck = false;
|
2011-09-09 15:20:43 +01:00
|
|
|
|
|
|
|
# TODO: add ATLAS=${pkgs.atlas}
|
|
|
|
installCommand = ''
|
|
|
|
export BLAS=${pkgs.blas} LAPACK=${pkgs.liblapack}
|
|
|
|
python setup.py build --fcompiler="gnu95"
|
|
|
|
python setup.py install --prefix=$out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "SciPy (pronounced 'Sigh Pie') is open-source software for mathematics, science, and engineering. ";
|
|
|
|
homepage = http://www.scipy.org/;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2011-03-30 13:27:54 +01:00
|
|
|
scripttest = buildPythonPackage rec {
|
|
|
|
version = "1.1.1";
|
|
|
|
name = "scripttest-${version}";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-03-30 13:27:54 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/S/ScriptTest/ScriptTest-${version}.tar.gz";
|
|
|
|
md5 = "592ce890764c3f546d35b4d7c40c32ef";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A library for testing interactive command-line applications";
|
|
|
|
homepage = http://pypi.python.org/pypi/ScriptTest/;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-08-06 23:11:13 +01:00
|
|
|
selenium =
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "selenium-2.25.0";
|
|
|
|
src = pkgs.fetchurl {
|
|
|
|
url = http://pypi.python.org/packages/source/s/selenium/selenium-2.25.0.tar.gz;
|
|
|
|
sha256 = "0iinpry1vr4dydh44sc0ny22sa9fqhy2302hf56pf8fakvza9m0a";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [pkgs.xlibs.libX11];
|
|
|
|
|
|
|
|
# Recompiling x_ignore_nofocus.so as the original one dlopen's libX11.so.6 by some
|
|
|
|
# absolute paths. Replaced by relative path so it is found when used in nix.
|
|
|
|
x_ignore_nofocus =
|
|
|
|
pkgs.fetchsvn {
|
|
|
|
url = http://selenium.googlecode.com/svn/tags/selenium-2.25.0/cpp/linux-specific;
|
|
|
|
rev = 17641;
|
|
|
|
sha256 = "1wif9r6307qhlcp2zbg6n05yvxxn9ppkxh8gpsplcbyh22zi7bcd";
|
|
|
|
};
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
cp ${x_ignore_nofocus}/* .
|
|
|
|
sed -i 's|dlopen(library,|dlopen("libX11.so.6",|' x_ignore_nofocus.c
|
|
|
|
gcc -c -fPIC x_ignore_nofocus.c -o x_ignore_nofocus.o
|
|
|
|
gcc -shared -Wl,-soname,x_ignore_nofocus.so -o x_ignore_nofocus.so x_ignore_nofocus.o
|
|
|
|
cp -v x_ignore_nofocus.so py/selenium/webdriver/firefox/${if pkgs.stdenv.is64bit then "amd64" else "x86"}/
|
|
|
|
'';
|
|
|
|
};
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
setuptoolsDarcs = buildPythonPackage {
|
2010-07-28 00:51:10 +01:00
|
|
|
name = "setuptools-darcs-1.2.9";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-07-28 00:51:10 +01:00
|
|
|
url = "http://pypi.python.org/packages/source/s/setuptools_darcs/setuptools_darcs-1.2.9.tar.gz";
|
|
|
|
sha256 = "d37ce11030addbd729284c441facd0869cdc6e5c888dc5fa0a6f1edfe3c3e617";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
2010-05-01 21:54:27 +01:00
|
|
|
# In order to break the dependency on darcs -> ghc, we don't add
|
|
|
|
# darcs as a propagated build input.
|
python-setuptools-darcs: the build process seems to depend on 'darcsver'
| source root is setuptools_darcs-1.2.9
| patching sources
| configuring
| no configure script, doing nothing
| building
| running tests
| Download error: [Errno -3] Temporary failure in name resolution -- Some packages may not be found!
| Couldn't find index page for 'darcsver' (maybe misspelled?)
| Download error: [Errno -3] Temporary failure in name resolution -- Some packages may not be found!
| No local packages or download links found for darcsver>=1.2.0
| Traceback (most recent call last):
| File "setup.py", line 79, in <module>
| zip_safe=False, # I prefer unzipped for easier access.
| File "/nix/store/r6xlmlf0amzwhkvkv0v656jgx7r299g7-python-2.6.5/lib/python2.6/distutils/core.py", line 113, in setup
| _setup_distribution = dist = klass(attrs)
| File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 260, in __init__
| File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 284, in fetch_build_eggs
| File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 563, in resolve
| File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 799, in best_match
| File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 811, in obtain
| File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 327, in fetch_build_egg
| File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 434, in easy_install
| File "build/bdist.linux-x86_64/egg/setuptools/package_index.py", line 475, in fetch_distribution
| AttributeError: 'NoneType' object has no attribute 'clone'
| builder for `/nix/store/rkm5fzs0p6hh45mvpzv0qqphmsjnyag8-python-setuptools-darcs-1.2.9.drv' failed with exit code 1
| error: build of `/nix/store/rkm5fzs0p6hh45mvpzv0qqphmsjnyag8-python-setuptools-darcs-1.2.9.drv' failed
svn path=/nixpkgs/trunk/; revision=22780
2010-07-28 10:33:35 +01:00
|
|
|
propagatedBuildInputs = [ darcsver ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "setuptools plugin for the Darcs version control system";
|
|
|
|
|
|
|
|
homepage = http://allmydata.org/trac/setuptools_darcs;
|
|
|
|
|
|
|
|
license = "BSD";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
setuptoolsTrial = buildPythonPackage {
|
2011-04-04 14:31:52 +01:00
|
|
|
name = "setuptools-trial-0.5.12";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-04-04 14:31:52 +01:00
|
|
|
url = "http://pypi.python.org/packages/source/s/setuptools_trial/setuptools_trial-0.5.12.tar.gz";
|
|
|
|
md5 = "f16f4237c9ee483a0cd13208849d96ad";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ twisted ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "setuptools plug-in that helps run unit tests built with the \"Trial\" framework (from Twisted)";
|
|
|
|
|
|
|
|
homepage = http://allmydata.org/trac/setuptools_trial;
|
|
|
|
|
|
|
|
license = "unspecified"; # !
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
simplejson = buildPythonPackage (rec {
|
2011-03-30 13:51:01 +01:00
|
|
|
name = "simplejson-2.1.3";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
2010-07-28 00:51:22 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/s/simplejson/${name}.tar.gz";
|
2011-03-30 13:51:01 +01:00
|
|
|
md5 = "58d9b1d8fa17ea4ce205cea088607e02";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "simplejson is a simple, fast, extensible JSON encoder/decoder for Python";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
simplejson is compatible with Python 2.4 and later with no
|
|
|
|
external dependencies. It covers the full JSON specification
|
|
|
|
for both encoding and decoding, with unicode support. By
|
|
|
|
default, encoding is done in an encoding neutral fashion (plain
|
|
|
|
ASCII with \uXXXX escapes for unicode characters).
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = http://code.google.com/p/simplejson/;
|
|
|
|
|
|
|
|
license = "MIT";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2012-05-30 22:12:40 +01:00
|
|
|
six = buildPythonPackage rec {
|
|
|
|
name = "six-1.1.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/s/six/${name}.tar.gz";
|
|
|
|
md5 = "9e8099b57cd27493a6988e9c9b313e23";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-05-30 22:12:40 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Python 2 and 3 compatibility library";
|
|
|
|
homepage = http://pypi.python.org/pypi/six/;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
2012-02-20 21:35:05 +00:00
|
|
|
skype4py = buildPythonPackage (rec {
|
|
|
|
name = "Skype4Py-1.0.32.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://sourceforge/skype4py/Skype4Py-1.0.32.0.tar.gz;
|
|
|
|
sha256 = "0cmkrv450wa8v50bng5dflpwkl5c1p9pzysjkb2956w5kvwh6f5b";
|
|
|
|
};
|
|
|
|
|
|
|
|
unpackPhase = ''
|
|
|
|
tar xf $src
|
|
|
|
find . -type d -exec chmod +rx {} \;
|
|
|
|
sourceRoot=`pwd`/`ls -d S*`
|
|
|
|
'';
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-02-20 21:35:05 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2012-02-20 21:49:05 +00:00
|
|
|
propagatedBuildInputs = [ pkgs.xlibs.libX11 pkgs.pythonDBus pkgs.pygobject ];
|
2012-02-20 21:35:05 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "High-level, platform independent Skype API wrapper for Python";
|
|
|
|
|
|
|
|
# The advertisement says https://developer.skype.com/wiki/Skype4Py
|
|
|
|
# but that url does not work. This following web page points to the
|
|
|
|
# download link and has some information about the package.
|
|
|
|
homepage = http://pypi.python.org/pypi/Skype4Py/1.0.32.0;
|
|
|
|
|
|
|
|
license = "BSD";
|
|
|
|
};
|
|
|
|
});
|
2011-03-29 17:15:08 +01:00
|
|
|
|
2011-09-19 22:00:37 +01:00
|
|
|
sphinx = buildPythonPackage (rec {
|
2012-10-11 13:22:26 +01:00
|
|
|
name = "Sphinx-1.1.3";
|
2011-09-19 22:00:37 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/S/Sphinx/${name}.tar.gz";
|
2012-10-11 13:22:26 +01:00
|
|
|
md5 = "8f55a6d4f87fc6d528120c5d1f983e98";
|
2011-09-19 22:00:37 +01:00
|
|
|
};
|
|
|
|
|
2011-09-27 15:00:48 +01:00
|
|
|
propagatedBuildInputs = [docutils jinja2 pygments];
|
2011-09-19 22:00:37 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Sphinx is a tool that makes it easy to create intelligent and beautiful documentation for Python projects.";
|
|
|
|
|
|
|
|
homepage = http://sphinx.pocoo.org/;
|
|
|
|
|
|
|
|
license = "BSD";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
|
2011-03-29 17:15:08 +01:00
|
|
|
sqlalchemy = buildPythonPackage {
|
|
|
|
name = "sqlalchemy-0.6.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://sourceforge/sqlalchemy/0.6.6/SQLAlchemy-0.6.6.tar.gz;
|
|
|
|
sha256 = "0inj9b66pi447cw500mqn7d09dij20ic3k5bnyhj6rpdl2l83a0l";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ python.modules.sqlite3 ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.sqlalchemy.org/;
|
|
|
|
description = "A Python SQL toolkit and Object Relational Mapper";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2011-03-30 13:27:54 +01:00
|
|
|
sqlalchemy_migrate = buildPythonPackage rec {
|
|
|
|
name = "sqlalchemy-migrate-0.6.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://sqlalchemy-migrate.googlecode.com/files/${name}.tar.gz";
|
|
|
|
sha1 = "17168b5fa066bd56fd93f26345525377e8a83d8a";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose unittest2 scripttest ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ tempita decorator sqlalchemy ];
|
|
|
|
|
|
|
|
preCheck =
|
|
|
|
''
|
|
|
|
echo sqlite:///__tmp__ > test_db.cfg
|
|
|
|
'';
|
|
|
|
|
|
|
|
# Some tests fail with "unexpected keyword argument 'script_path'".
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://code.google.com/p/sqlalchemy-migrate/;
|
|
|
|
description = "Schema migration tools for SQLAlchemy";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-06-12 21:16:04 +01:00
|
|
|
stompclient = buildPythonPackage (rec {
|
|
|
|
name = "stompclient-0.3.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/s/stompclient/${name}.tar.gz";
|
|
|
|
md5 = "af0a314b6106dd80da24a918c24a1eab";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
buildInputs = [ mock nose ];
|
|
|
|
|
|
|
|
# XXX: Ran 0 tests in 0.217s
|
2012-06-12 21:16:04 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Lightweight and extensible STOMP messaging client";
|
|
|
|
homepage = http://bitbucket.org/hozn/stompclient;
|
|
|
|
license = pkgs.lib.licenses.asl20;
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
|
2012-07-21 19:15:26 +01:00
|
|
|
# XXX: ValueError: ZIP does not support timestamps before 1980
|
|
|
|
# svneverever = buildPythonPackage rec {
|
|
|
|
# name = "svneverever-778489a8";
|
2012-12-03 03:41:19 +00:00
|
|
|
#
|
2012-07-21 19:15:26 +01:00
|
|
|
# src = pkgs.fetchgit {
|
|
|
|
# url = git://git.goodpoint.de/svneverever.git;
|
|
|
|
# rev = "778489a8c6f07825fb18c9da3892a781c3d659ac";
|
|
|
|
# sha256 = "41c9da1dab2be7b60bff87e618befdf5da37c0a56287385cb0cbd3f91e452bb6";
|
|
|
|
# };
|
2012-12-03 03:41:19 +00:00
|
|
|
#
|
2012-07-21 19:15:26 +01:00
|
|
|
# propagatedBuildInputs = [ pysvn argparse ];
|
2012-12-03 03:41:19 +00:00
|
|
|
#
|
2012-07-21 19:15:26 +01:00
|
|
|
# doCheck = false;
|
|
|
|
# };
|
2012-04-04 17:16:07 +01:00
|
|
|
|
2012-02-21 18:19:00 +00:00
|
|
|
taskcoach = buildPythonPackage rec {
|
2012-02-26 16:21:12 +00:00
|
|
|
name = "TaskCoach-1.3.8";
|
2012-02-21 18:19:00 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/taskcoach/${name}.tar.gz";
|
2012-02-26 16:21:12 +00:00
|
|
|
sha256 = "0gc277cgnw6f167lrbxlf7rmgyjxwzgkmi77qz9xwvnwcj2l94xn";
|
2012-02-21 18:19:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ wxPython ];
|
|
|
|
|
|
|
|
# I don't know why I need to add these libraries. Shouldn't they
|
|
|
|
# be part of wxPython?
|
|
|
|
postInstall = ''
|
|
|
|
libspaths=${pkgs.xlibs.libSM}/lib:${pkgs.xlibs.libXScrnSaver}/lib
|
|
|
|
wrapProgram $out/bin/taskcoach.py \
|
|
|
|
--prefix LD_LIBRARY_PATH : $libspaths
|
|
|
|
'';
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-02-21 18:19:00 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://taskcoach.org/;
|
2012-02-21 18:22:38 +00:00
|
|
|
description = "Todo manager to keep track of personal tasks and todo lists";
|
2012-02-21 18:19:00 +00:00
|
|
|
license = "GPLv3+";
|
|
|
|
};
|
|
|
|
};
|
2011-03-30 13:27:54 +01:00
|
|
|
|
|
|
|
tempita = buildPythonPackage rec {
|
|
|
|
version = "0.4";
|
|
|
|
name = "tempita-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/T/Tempita/Tempita-${version}.tar.gz";
|
|
|
|
md5 = "0abe015a72e748d0c6284679a497426c";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://pythonpaste.org/tempita/;
|
|
|
|
description = "A very small text templating language";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
trac = buildPythonPackage {
|
2011-04-09 14:37:11 +01:00
|
|
|
name = "trac-0.12.2";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-04-09 14:37:11 +01:00
|
|
|
url = http://ftp.edgewall.com/pub/trac/Trac-0.12.2.tar.gz;
|
|
|
|
sha256 = "1ihf5031pc1wpwbxpfzzz2bcpwww795n5y22baglyim1lalivd65";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# couple of failing tests
|
2010-04-21 11:51:15 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
PYTHON_EGG_CACHE = "`pwd`/.egg-cache";
|
|
|
|
|
2011-04-09 14:37:11 +01:00
|
|
|
propagatedBuildInputs = [ genshi pkgs.setuptools python.modules.sqlite3 ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Enhanced wiki and issue tracking system for software development projects";
|
|
|
|
|
|
|
|
license = "BSD";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-10-01 12:05:57 +01:00
|
|
|
turses = buildPythonPackage (rec {
|
2012-11-25 18:20:06 +00:00
|
|
|
name = "turses-0.2.9";
|
2012-10-01 12:05:57 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/t/turses/${name}.tar.gz";
|
2012-11-25 18:20:06 +00:00
|
|
|
sha256 = "c0f32fa31e2c5fa42f5cc19f3dba4e73f0438bf36bf756ba137f2423c0ac4637";
|
2012-10-01 12:05:57 +01:00
|
|
|
};
|
|
|
|
|
2012-12-03 07:05:58 +00:00
|
|
|
propagatedBuildInputs = [ oauth2 urwid tweepy ] ++
|
|
|
|
(if python.majorVersion == "2.6" then [ argparse ]
|
|
|
|
else []);
|
2012-12-03 05:38:11 +00:00
|
|
|
|
|
|
|
#buildInputs = [ tox ];
|
|
|
|
# needs tox
|
2012-10-01 12:05:57 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/alejandrogomez/turses";
|
|
|
|
description = "A Twitter client for the console.";
|
|
|
|
license = pkgs.lib.licenses.gpl3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
tweepy = buildPythonPackage (rec {
|
2012-11-29 13:16:32 +00:00
|
|
|
name = "tweepy-1.12";
|
2012-10-01 12:05:57 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/t/tweepy/${name}.tar.gz";
|
2012-11-29 13:16:32 +00:00
|
|
|
sha256 = "66d728527ab3d5f5e4d6725654783f99169172678105f609d14353f6626c1315";
|
2012-10-01 12:05:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/tweepy/tweepy";
|
|
|
|
description = "Twitter library for python";
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
twisted = buildPythonPackage rec {
|
2013-01-03 11:50:19 +00:00
|
|
|
name = "twisted-12.3.0";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-03-30 12:54:17 +01:00
|
|
|
url = http://tmrc.mit.edu/mirror/twisted/Twisted/10.2/Twisted-10.2.0.tar.bz2;
|
|
|
|
sha256 = "110c30z622jn14yany1sxfaqj5qx20n9rc9zqacxlwma30fdcbjn";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ zopeInterface ];
|
|
|
|
|
|
|
|
# Generate Twisted's plug-in cache. Twited users must do it as well. See
|
|
|
|
# http://twistedmatrix.com/documents/current/core/howto/plugin.html#auto3
|
|
|
|
# and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477103 for
|
|
|
|
# details.
|
|
|
|
postInstall = "$out/bin/twistd --help > /dev/null";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://twistedmatrix.com/;
|
|
|
|
|
|
|
|
description = "Twisted, an event-driven networking engine written in Python";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Twisted is an event-driven networking engine written in Python
|
|
|
|
and licensed under the MIT license.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = "MIT";
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
|
2011-03-30 13:27:54 +01:00
|
|
|
unittest2 = buildPythonPackage rec {
|
|
|
|
name = "unittest2-0.5.1";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-03-30 13:27:54 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/u/unittest2/${name}.tar.gz";
|
|
|
|
md5 = "a0af5cac92bbbfa0c3b0e99571390e0f";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A backport of the new features added to the unittest testing framework in Python 2.7";
|
|
|
|
homepage = http://pypi.python.org/pypi/unittest2;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-07-20 23:17:21 +01:00
|
|
|
|
|
|
|
urlgrabber = buildPythonPackage rec {
|
|
|
|
name = "urlgrabber-3.9.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://urlgrabber.baseurl.org/download/${name}.tar.gz";
|
|
|
|
sha256 = "4437076c8708e5754ea04540e46c7f4f233734ee3590bb8a96389264fb0650d0";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-07-20 23:17:21 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pycurl ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "urlgrabber.baseurl.org";
|
|
|
|
license = "LGPLv2+";
|
|
|
|
description = "Python module for downloading files";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.qknight ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2012-04-30 15:34:57 +01:00
|
|
|
urwid = buildPythonPackage (rec {
|
2012-11-29 13:16:32 +00:00
|
|
|
name = "urwid-1.1.1";
|
2012-04-30 15:34:57 +01:00
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# multiple: NameError: name 'evl' is not defined
|
2012-04-30 15:34:57 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://excess.org/urwid/${name}.tar.gz";
|
2012-11-29 13:16:32 +00:00
|
|
|
md5 = "eca2e0413cf7216b01c84b99e0f2576d";
|
2012-04-30 15:34:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A full-featured console (xterm et al.) user interface library";
|
|
|
|
homepage = http://excess.org/urwid;
|
2012-04-30 16:24:21 +01:00
|
|
|
license = pkgs.lib.licenses.lgpl21;
|
2012-04-30 15:34:57 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2011-10-16 13:36:37 +01:00
|
|
|
virtualenv = buildPythonPackage rec {
|
|
|
|
name = "virtualenv-1.6.4";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/v/virtualenv/${name}.tar.gz";
|
|
|
|
md5 = "1072b66d53c24e019a8f1304ac9d9fc5";
|
|
|
|
};
|
|
|
|
|
2012-05-20 00:15:50 +01:00
|
|
|
patches = [ ../development/python-modules/virtualenv-change-prefix.patch ];
|
|
|
|
|
2012-07-20 19:07:52 +01:00
|
|
|
propagatedBuildInputs = [ python.modules.readline python.modules.sqlite3 ];
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
buildInputs = [ mock nose ];
|
|
|
|
|
|
|
|
# XXX: Ran 0 tests in 0.003s
|
2011-10-16 13:36:37 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "a tool to create isolated Python environments";
|
|
|
|
homepage = http://www.virtualenv.org;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
};
|
|
|
|
};
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-08-03 14:39:49 +01:00
|
|
|
vnc2flv = buildPythonPackage rec {
|
|
|
|
name = "vnc2flv-20100207";
|
|
|
|
namePrefix = "";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/v/vnc2flv/${name}.tar.gz";
|
|
|
|
md5 = "8492e46496e187b49fe5569b5639804e";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2011-08-03 14:39:49 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Tool to record VNC sessions to Flash Video";
|
|
|
|
homepage = http://www.unixuser.org/~euske/python/vnc2flv/;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
webob = buildPythonPackage rec {
|
|
|
|
version = "1.0.6";
|
|
|
|
name = "webob-${version}";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/W/WebOb/WebOb-${version}.zip";
|
|
|
|
md5 = "8e46dd755f6998d471bfbcb4def897ff";
|
|
|
|
};
|
|
|
|
|
2012-02-28 00:06:52 +00:00
|
|
|
buildInputs = [ pkgs.unzip ];
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
# The test requires "webtest", which is a cyclic dependency. (WTF?)
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "WSGI request and response object";
|
|
|
|
homepage = http://pythonpaste.org/webob/;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
webtest = buildPythonPackage rec {
|
|
|
|
version = "1.2.3";
|
|
|
|
name = "webtest-${version}";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/W/WebTest/WebTest-${version}.tar.gz";
|
|
|
|
md5 = "585f9331467e6d99acaba4051c1c5878";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ nose webob dtopt ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Helper to test WSGI applications";
|
|
|
|
homepage = http://pythonpaste.org/webtest/;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-05-04 09:41:50 +01:00
|
|
|
|
2012-07-16 12:16:34 +01:00
|
|
|
werkzeug = buildPythonPackage {
|
|
|
|
name = "werkzeug-0.8.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/W/Werkzeug/Werkzeug-0.8.3.tar.gz";
|
|
|
|
md5 = "12aa03e302ce49da98703938f257347a";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://werkzeug.pocoo.org/;
|
|
|
|
description = "A WSGI utility library for Python";
|
|
|
|
license = "BSD";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2012-09-13 11:09:08 +01:00
|
|
|
wokkel = buildPythonPackage (rec {
|
|
|
|
url = "http://wokkel.ik.nu/releases/0.7.0/wokkel-0.7.0.tar.gz";
|
|
|
|
name = pkgs.lib.nameFromURL url ".tar";
|
|
|
|
src = fetchurl {
|
|
|
|
inherit url;
|
|
|
|
sha256 = "0rnshrzw8605x05mpd8ndrx3ri8h6cx713mp8sl4f04f4gcrz8ml";
|
|
|
|
};
|
|
|
|
|
2012-09-13 11:12:42 +01:00
|
|
|
propagatedBuildInputs = [twisted dateutil];
|
2012-09-13 11:09:08 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Some (mainly XMPP-related) additions to twisted";
|
|
|
|
homepage = "http://wokkel.ik.nu/";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
|
2011-05-04 09:41:50 +01:00
|
|
|
wxPython = wxPython28;
|
2011-07-20 16:30:40 +01:00
|
|
|
|
2011-05-04 09:41:50 +01:00
|
|
|
|
|
|
|
wxPython28 = import ../development/python-modules/wxPython/2.8.nix {
|
|
|
|
inherit (pkgs) stdenv fetchurl pkgconfig;
|
|
|
|
inherit pythonPackages;
|
|
|
|
wxGTK = pkgs.wxGTK28;
|
|
|
|
};
|
|
|
|
|
2012-09-13 11:32:16 +01:00
|
|
|
xe = buildPythonPackage rec {
|
|
|
|
url = "http://www.blarg.net/%7Esteveha/xe-0.7.4.tar.gz";
|
|
|
|
name = stdenv.lib.nameFromURL url ".tar";
|
|
|
|
src = fetchurl {
|
|
|
|
inherit url;
|
|
|
|
sha256 = "0v9878cl0y9cczdsr6xjy8v9l139lc23h4m5f86p4kpf2wlnpi42";
|
|
|
|
};
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-09-13 11:32:16 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://home.blarg.net/~steveha/xe.html";
|
|
|
|
description = "XML elements";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-02-20 18:20:12 +00:00
|
|
|
xlib = buildPythonPackage (rec {
|
|
|
|
name = "xlib-0.15rc1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/python-xlib/python-${name}.tar.bz2";
|
|
|
|
sha256 = "0mvzz605pxzj7lfp2w6z4qglmr4rjza9xrb7sl8yn12cklzfky0m";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Tests require `pyutil' so disable them to avoid circular references.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pkgs.xlibs.libX11 ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Fully functional X client library for Python programs";
|
|
|
|
|
|
|
|
homepage = http://python-xlib.sourceforge.net/;
|
|
|
|
|
|
|
|
license = "GPLv2+";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
zbase32 = buildPythonPackage (rec {
|
2010-07-28 00:51:22 +01:00
|
|
|
name = "zbase32-1.1.2";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zbase32/${name}.tar.gz";
|
2010-07-28 00:51:22 +01:00
|
|
|
sha256 = "2f44b338f750bd37b56e7887591bf2f1965bfa79f163b6afcbccf28da642ec56";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# Tests require `pyutil' so disable them to avoid circular references.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
buildInputs = [ setuptoolsDarcs ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "zbase32, a base32 encoder/decoder";
|
|
|
|
|
|
|
|
homepage = http://pypi.python.org/pypi/zbase32;
|
|
|
|
|
|
|
|
license = "BSD";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
zfec = buildPythonPackage (rec {
|
2010-07-28 00:51:29 +01:00
|
|
|
name = "zfec-1.4.7";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zfec/${name}.tar.gz";
|
2010-07-28 00:51:29 +01:00
|
|
|
sha256 = "3335c9054f45e2c59188400e892634b68761b29d06f3cafe525c60484902d379";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ setuptoolsDarcs ];
|
|
|
|
propagatedBuildInputs = [ pyutil argparse ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://allmydata.org/trac/zfec;
|
|
|
|
|
|
|
|
description = "Zfec, a fast erasure codec which can be used with the command-line, C, Python, or Haskell";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Fast, portable, programmable erasure coding a.k.a. "forward
|
|
|
|
error correction": the generation of redundant blocks of
|
|
|
|
information such that if some blocks are lost then the
|
|
|
|
original data can be recovered from the remaining blocks. The
|
|
|
|
zfec package includes command-line tools, C API, Python API,
|
|
|
|
and Haskell API.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = "GPLv2+";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
zopeInterface = buildPythonPackage {
|
2010-07-28 00:50:57 +01:00
|
|
|
name = "zope-interface-3.6.1";
|
2010-04-21 11:51:15 +01:00
|
|
|
src = fetchurl {
|
2010-07-28 00:50:57 +01:00
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.interface/zope.interface-3.6.1.tar.gz";
|
|
|
|
sha256 = "294c3c0529e84169177bce78d616c768fa1c028a2fbc1854f615d32ed88dbc6c";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Zope.Interface";
|
|
|
|
homepage = http://zope.org/Products/ZopeInterface;
|
|
|
|
license = "ZPL";
|
|
|
|
};
|
|
|
|
};
|
2011-03-29 17:15:08 +01:00
|
|
|
|
2012-07-21 19:15:26 +01:00
|
|
|
# XXX: link broken
|
|
|
|
# hgsvn = buildPythonPackage rec {
|
|
|
|
# name = "hgsvn-0.1.8";
|
|
|
|
# src = fetchurl rec {
|
|
|
|
# name = "hgsvn-0.1.8.tar.gz";
|
|
|
|
# url = "http://pypi.python.org/packages/source/h/hgsvn/${name}.tar.gz#md5=56209eae48b955754e09185712123428";
|
|
|
|
# sha256 = "18a7bj1i0m4shkxmdvw1ci5i0isq5vqf0bpwgrhnk305rijvbpch";
|
|
|
|
# };
|
2012-07-21 20:43:39 +01:00
|
|
|
#
|
2012-07-21 19:15:26 +01:00
|
|
|
# buildInputs = [ pkgs.setuptools ];
|
|
|
|
# doCheck = false;
|
2012-07-21 20:43:39 +01:00
|
|
|
#
|
|
|
|
# meta = {
|
2012-07-21 19:15:26 +01:00
|
|
|
# description = "HgSVN";
|
|
|
|
# homepage = http://pypi.python.org/pypi/hgsvn;
|
|
|
|
# };
|
|
|
|
# };
|
2011-05-09 16:01:34 +01:00
|
|
|
|
2012-06-03 23:11:09 +01:00
|
|
|
cliapp = buildPythonPackage rec {
|
2013-01-03 12:25:02 +00:00
|
|
|
name = "cliapp-${version}";
|
|
|
|
version = "1.20121216";
|
2012-06-03 23:11:09 +01:00
|
|
|
|
|
|
|
src = fetchurl rec {
|
2013-01-03 12:25:02 +00:00
|
|
|
url = "http://code.liw.fi/debian/pool/main/p/python-cliapp/python-cliapp_${version}.orig.tar.gz";
|
|
|
|
sha256 = "1bzvc4aj3w8g85qycwz1jxa73jj8rl6zrgd4hi78kr4dgslcfns5";
|
2012-06-03 23:11:09 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ sphinx ];
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-06-03 23:11:09 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://liw.fi/cliapp/;
|
|
|
|
description = "Python framework for Unix command line programs.";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
tracing = buildPythonPackage rec {
|
2012-10-08 11:35:25 +01:00
|
|
|
name = "tracing-0.7";
|
2012-06-03 23:11:09 +01:00
|
|
|
|
|
|
|
src = fetchurl rec {
|
2012-10-08 11:35:25 +01:00
|
|
|
url = "http://code.liw.fi/debian/pool/main/p/python-tracing/python-tracing_0.7.orig.tar.gz";
|
|
|
|
sha256 = "9954a1b0cc6b957d15975b048f929bbdd46766d397a6fa51bf8f6498b9459276";
|
2012-06-03 23:11:09 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ sphinx ];
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-06-03 23:11:09 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://liw.fi/tracing/;
|
|
|
|
description = "Python debug logging helper.";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ttystatus = buildPythonPackage rec {
|
2012-10-08 11:35:25 +01:00
|
|
|
name = "ttystatus-0.21";
|
2012-06-03 23:11:09 +01:00
|
|
|
|
|
|
|
src = fetchurl rec {
|
2012-10-08 11:35:25 +01:00
|
|
|
url = "http://code.liw.fi/debian/pool/main/p/python-ttystatus/python-ttystatus_0.21.orig.tar.gz";
|
|
|
|
sha256 = "4a1f3a41c9bd3b5d2bd8e6f093890857301e590aa1d428fc9a6dca591227244c";
|
2012-06-03 23:11:09 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ sphinx ];
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-06-03 23:11:09 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://liw.fi/ttystatus/;
|
|
|
|
description = "Progress and status updates on terminals for Python.";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
larch = buildPythonPackage rec {
|
2013-01-03 12:25:02 +00:00
|
|
|
name = "larch-${version}";
|
|
|
|
version = "1.20121216";
|
2012-06-03 23:11:09 +01:00
|
|
|
|
|
|
|
src = fetchurl rec {
|
2013-01-03 12:25:02 +00:00
|
|
|
url = "http://code.liw.fi/debian/pool/main/p/python-larch/python-larch_${version}.orig.tar.gz";
|
|
|
|
sha256 = "0w4hirs8wkp1hji6nxfmq4rahkd5rgw4cavvdhpdfr4mddycbis3";
|
2012-06-03 23:11:09 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ sphinx ];
|
|
|
|
propagatedBuildInputs = [ tracing ttystatus cliapp ];
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
# error: invalid command 'test'
|
2012-06-03 23:11:09 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://liw.fi/larch/;
|
|
|
|
description = "Python B-tree library.";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-01-03 12:08:23 +00:00
|
|
|
whisper = buildPythonPackage rec {
|
|
|
|
name = "whisper-${version}";
|
|
|
|
version = "0.9.10";
|
|
|
|
|
|
|
|
src = fetchurl rec {
|
|
|
|
url = "https://launchpad.net/graphite/0.9/${version}/+download/${name}.tar.gz";
|
|
|
|
sha256 = "1zy4z4hrbiqj4ipcv2m9197hf03d4xphllqav9w4c8i6fn8zmd9n";
|
|
|
|
};
|
|
|
|
|
|
|
|
# error: invalid command 'test'
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://graphite.wikidot.com/;
|
|
|
|
description = "Fixed size round-robin style database";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
carbon = buildPythonPackage rec {
|
|
|
|
name = "carbon-${version}";
|
|
|
|
version = "0.9.10";
|
|
|
|
|
|
|
|
src = fetchurl rec {
|
|
|
|
url = "https://launchpad.net/graphite/0.9/${version}/+download/${name}.tar.gz";
|
|
|
|
sha256 = "0wjhd87pvpcpvaj3wql2d92g8lpp33iwmxdkp7npic5mjl2y0dsg";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ txamqp zopeInterface twisted ];
|
|
|
|
propagatedBuildInputs = [ whisper ];
|
|
|
|
|
|
|
|
# error: invalid command 'test'
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://graphite.wikidot.com/;
|
|
|
|
description = "Backend data caching and persistence daemon for Graphite";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
txamqp = buildPythonPackage rec {
|
|
|
|
name = "txamqp-${version}";
|
|
|
|
version = "0.3";
|
|
|
|
|
|
|
|
src = fetchurl rec {
|
|
|
|
url = "https://launchpad.net/txamqp/trunk/${version}/+download/python-txamqp_${version}.orig.tar.gz";
|
|
|
|
sha256 = "1r2ha0r7g14i4b5figv2spizjrmgfpspdbl1m031lw9px2hhm463";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ twisted ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://launchpad.net/txamqp;
|
|
|
|
description = "Library for communicating with AMQP peers and brokers using Twisted";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
graphite_web = buildPythonPackage rec {
|
|
|
|
name = "graphite-web-${version}";
|
|
|
|
version = "0.9.10";
|
|
|
|
|
|
|
|
src = fetchurl rec {
|
|
|
|
url = "https://launchpad.net/graphite/0.9/${version}/+download/${name}.tar.gz";
|
|
|
|
sha256 = "1gj8i6j2i172cldqw98395235bn78ciagw6v17fgv01rmind3lag";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ django pkgs.pycairo ldap memcached python.modules.sqlite3 ];
|
|
|
|
|
|
|
|
# error: invalid command 'test'
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://graphite.wikidot.com/;
|
|
|
|
description = "Enterprise scalable realtime graphing";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-05-04 09:41:50 +01:00
|
|
|
}; in pythonPackages
|