Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
16926 lines (13124 sloc) 493.733 kB
{ pkgs, stdenv, python, self }:
with pkgs.lib;
let
pythonAtLeast = versionAtLeast python.pythonVersion;
pythonOlder = versionOlder python.pythonVersion;
isPy26 = python.majorVersion == "2.6";
isPy27 = python.majorVersion == "2.7";
isPy33 = python.majorVersion == "3.3";
isPy34 = python.majorVersion == "3.4";
isPyPy = python.executable == "pypy";
isPy3k = strings.substring 0 1 python.majorVersion == "3";
callPackage = pkgs.newScope self;
buildPythonPackage = makeOverridable (callPackage ../development/python-modules/generic { });
# Unique python version identifier
pythonName =
if isPy26 then "python26" else
if isPy27 then "python27" else
if isPy33 then "python33" else
if isPy34 then "python34" else
if isPyPy then "pypy" else "";
modules = python.modules or {
readline = null;
sqlite3 = null;
curses = null;
curses_panel = null;
crypt = null;
};
pythonPackages = modules // {
inherit python isPy26 isPy27 isPy33 isPy34 isPyPy isPy3k pythonName buildPythonPackage;
# helpers
# global distutils config used by buildPythonPackage
distutils-cfg = callPackage ../development/python-modules/distutils-cfg { };
wrapPython = pkgs.makeSetupHook
{ deps = pkgs.makeWrapper;
substitutions.libPrefix = python.libPrefix;
substitutions.executable = "${python}/bin/${python.executable}";
substitutions.magicalSedExpression = let
# Looks weird? Of course, it's between single quoted shell strings.
# NOTE: Order DOES matter here, so single character quotes need to be
# at the last position.
quoteVariants = [ "'\"'''\"'" "\"\"\"" "\"" "'\"'\"'" ]; # hey Vim: ''
mkStringSkipper = labelNum: quote: let
label = "q${toString labelNum}";
isSingle = elem quote [ "\"" "'\"'\"'" ];
endQuote = if isSingle then "[^\\\\]${quote}" else quote;
in ''
/^ *[a-z]?${quote}/ {
/${quote}${quote}|${quote}.*${endQuote}/{n;br}
:${label}; n; /^${quote}/{n;br}; /${endQuote}/{n;br}; b${label}
}
'';
in ''
1 {
/^#!/!b; :r
/\\$/{N;br}
/__future__|^ *(#.*)?$/{n;br}
${concatImapStrings mkStringSkipper quoteVariants}
/^ *[^# ]/i import sys; sys.argv[0] = '"'$(basename "$f")'"'
}
'';
}
../development/python-modules/generic/wrap.sh;
# specials
recursivePthLoader = callPackage ../development/python-modules/recursive-pth-loader { };
setuptools = callPackage ../development/python-modules/setuptools { };
# packages defined elsewhere
blivet = callPackage ../development/python-modules/blivet { };
dbus = callPackage ../development/python-modules/dbus {
dbus = pkgs.dbus;
};
discid = buildPythonPackage rec {
name = "discid-1.1.0";
meta = {
description = "Python binding of libdiscid";
homepage = "https://python-discid.readthedocs.org/";
license = licenses.lgpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ iyzsong ];
};
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/d/discid/${name}.tar.gz";
md5 = "2ad2141452dd10b03ad96ccdad075235";
};
patchPhase = ''
substituteInPlace discid/libdiscid.py \
--replace '_open_library(_LIB_NAME)' "_open_library('${pkgs.libdiscid}/lib/libdiscid.so.0')"
'';
};
h5py = callPackage ../development/python-modules/h5py {
hdf5 = pkgs.hdf5.override { mpi = null; };
};
h5py-mpi = self.h5py.override {
mpiSupport = true;
mpi = pkgs.openmpi;
hdf5 = pkgs.hdf5.override { mpi = pkgs.openmpi; enableShared = true; };
};
ipython = callPackage ../shells/ipython {
inherit pythonPackages;
qtconsoleSupport = !pkgs.stdenv.isDarwin; # qt is not supported on darwin
pylabQtSupport = !pkgs.stdenv.isDarwin;
pylabSupport = !pkgs.stdenv.isDarwin; # cups is not supported on darwin
};
ipythonLight = lowPrio (self.ipython.override {
qtconsoleSupport = false;
pylabSupport = false;
pylabQtSupport = false;
});
mpi4py = callPackage ../development/python-modules/mpi4py {
mpi = pkgs.openmpi;
};
nixpart = callPackage ../tools/filesystems/nixpart { };
# This is used for NixOps to make sure we won't break it with the next major
# version of nixpart.
nixpart0 = callPackage ../tools/filesystems/nixpart/0.4 { };
pitz = callPackage ../applications/misc/pitz { };
plantuml = callPackage ../tools/misc/plantuml { };
pycairo = callPackage ../development/python-modules/pycairo {
};
pycrypto = callPackage ../development/python-modules/pycrypto { };
pygobject = callPackage ../development/python-modules/pygobject { };
pygobject3 = callPackage ../development/python-modules/pygobject/3.nix { };
pygtk = callPackage ../development/python-modules/pygtk { libglade = null; };
pyGtkGlade = self.pygtk.override {
libglade = pkgs.gnome.libglade;
};
pyqt4 = callPackage ../development/python-modules/pyqt/4.x.nix {
pythonDBus = self.dbus;
pythonPackages = self;
};
pyqt5 = callPackage ../development/python-modules/pyqt/5.x.nix {
sip = self.sip_4_16;
pythonDBus = self.dbus;
qt5 = pkgs.qt5;
};
sip = callPackage ../development/python-modules/sip { };
sip_4_16 = callPackage ../development/python-modules/sip/4.16.nix { };
tables = callPackage ../development/python-modules/tables {
hdf5 = pkgs.hdf5.override { zlib = pkgs.zlib; };
};
# packages defined here
aafigure = buildPythonPackage rec {
name = "aafigure-0.5";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/aafigure/${name}.tar.gz";
md5 = "5322888a21eb0bb2e749fbf98eddf574";
};
propagatedBuildInputs = with self; [ pillow ];
# error: invalid command 'test'
doCheck = false;
# Fix impurity. TODO: Do the font lookup using fontconfig instead of this
# manual method. Until that is fixed, we get this whenever we run aafigure:
# WARNING: font not found, using PIL default font
patchPhase = ''
sed -i "s|/usr/share/fonts|/nonexisting-fonts-path|" aafigure/PILhelper.py
'';
meta = {
description = "ASCII art to image converter";
homepage = https://launchpad.net/aafigure/;
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = with maintainers; [ bjornfor ];
};
};
actdiag = buildPythonPackage rec {
name = "actdiag-0.5.3";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/actdiag/${name}.tar.gz";
sha256 = "1vr4hnkr0gcvvpaycd8q3vcx029b2f5yv8swhdr8kwspaqb0dvfa";
};
buildInputs = with self; [ pep8 nose unittest2 docutils ];
propagatedBuildInputs = with self; [ blockdiag ];
# One test fails:
# UnicodeEncodeError: 'ascii' codec can't encode character u'\u3042' in position 0: ordinal not in range(128)
doCheck = false;
meta = {
description = "Generate activity-diagram image from spec-text file (similar to Graphviz)";
homepage = http://blockdiag.com/;
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ bjornfor ];
};
};
afew = buildPythonPackage rec {
rev = "9744c18c4d6b0a3e7f57b01e5fe145a60fc82a47";
name = "afew-1.0_${rev}";
src = pkgs.fetchurl {
url = "https://github.com/teythoon/afew/tarball/${rev}";
name = "${name}.tar.bz";
sha256 = "1qyban022aji2hl91dh0j3xa6ikkxl5argc6w71yp2x8b02kp3mf";
};
buildInputs = with self; [ pkgs.dbacl ];
propagatedBuildInputs = with self; [
self.notmuch
self.chardet
] ++ optional (!isPy3k) self.subprocess32;
doCheck = false;
preConfigure = ''
substituteInPlace afew/DBACL.py --replace "'dbacl'" "'${pkgs.dbacl}/bin/dbacl'"
'';
postInstall = ''
wrapProgram $out/bin/afew \
--prefix LD_LIBRARY_PATH : ${pkgs.notmuch}/lib
'';
meta = {
homepage = https://github.com/teythoon/afew;
description = "An initial tagging script for notmuch mail";
maintainers = with maintainers; [ garbas ];
};
};
aiodns = buildPythonPackage rec {
name = "aiodns-${version}";
version = "0.3.2";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/aiodns/${name}.tar.gz";
sha256 = "0i9ypv9l4d59j87kkrsh1livfgnspyzcbx26jw9x58xs5z05xj7k";
};
propagatedBuildInputs = with self ; [
pycares
] ++ optional (isPy33) self.asyncio
++ optional (isPy26 || isPy27) self.trollius;
meta = {
homepage = http://github.com/saghul/aiodns;
license = licenses.mit;
description = "Simple DNS resolver for asyncio";
};
};
alabaster = buildPythonPackage rec {
name = "alabaster-0.7.3";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/alabaster/${name}.tar.gz";
md5 = "67428d1383fd833f1282fed5deba0898";
};
meta = {
homepage = https://github.com/bitprophet/alabaster;
description = "a Sphinx theme";
license = licenses.bsd3;
};
};
alembic = buildPythonPackage rec {
name = "alembic-0.7.6";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/alembic/${name}.tar.gz";
sha256 = "0qgglnxsn470ncyipm33j3d5nf5ny2g3wq7fxyy9fv2x4rhs8kw6";
};
buildInputs = with self; [ nose mock ];
propagatedBuildInputs = with self; [ Mako sqlalchemy9 ];
meta = {
homepage = http://bitbucket.org/zzzeek/alembic;
description = "A database migration tool for SQLAlchemy";
license = licenses.mit;
};
};
almir = buildPythonPackage rec {
name = "almir-0.1.8";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/a/almir/${name}.zip";
md5 = "9a1f3c72a039622ca72b74be7a1cd37e";
};
buildInputs = with self; [
pkgs.which
self.coverage
self.mock
self.tissue
self.unittest2
self.webtest
];
propagatedBuildInputs = with self; [
pkgs.makeWrapper
pkgs.bacula
self.colander
self.deform
self.deform_bootstrap
self.docutils
self.nose
self.mysql_connector_repackaged
self.pg8000
self.pyramid
self.pyramid_beaker
self.pyramid_exclog
self.pyramid_jinja2
self.pyramid_tm
self.pytz
self.sqlalchemy
self.transaction
self.waitress
self.webhelpers
self.psycopg2
(self.zope_sqlalchemy.override rec {propagatedBuildInputs = with self; [ sqlalchemy8 transaction ];})
];
postInstall = ''
ln -s ${pkgs.bacula}/bin/bconsole $out/bin
'';
meta = {
maintainers = with maintainers; [ iElectric ];
platforms = platforms.all;
};
};
alot = buildPythonPackage rec {
rev = "0.3.6";
name = "alot-0.3.6";
src = pkgs.fetchurl {
url = "https://github.com/pazz/alot/tarball/${rev}";
name = "${name}.tar.bz";
sha256 = "1rzy70w4isvypa94310xw403vq5him21q8rlx4laa0z530phkrmq";
};
# error: invalid command 'test'
doCheck = false;
propagatedBuildInputs =
[ self.notmuch
self.urwid
self.twisted
self.magic
self.configobj
self.pygpgme
];
postInstall = ''
wrapProgram $out/bin/alot \
--prefix LD_LIBRARY_PATH : ${pkgs.notmuch}/lib:${pkgs.file}/lib:${pkgs.gpgme}/lib
'';
meta = {
homepage = https://github.com/pazz/alot;
description = "Terminal MUA using notmuch mail";
maintainers = with maintainers; [ garbas ];
};
};
anyjson = buildPythonPackage rec {
name = "anyjson-0.3.3";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/a/anyjson/${name}.tar.gz";
md5 = "2ea28d6ec311aeeebaf993cb3008b27c";
};
buildInputs = with self; [ self.nose ];
meta = {
homepage = http://pypi.python.org/pypi/anyjson/;
description = "Wrapper that selects the best available JSON implementation";
};
};
amqp = buildPythonPackage rec {
name = "amqp-${version}";
version = "1.4.6";
disabled = pythonOlder "2.6";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/amqp/${name}.tar.gz";
sha256 = "0h76dnqfbc6fslwr7lx86n2gyslfv2x1vl8lpbszjs2svrkwikzb";
md5 = "a061581b6864f838bffd62b6a3d0fb9f";
};
buildInputs = with self; [ mock coverage nose-cover3 unittest2 ];
meta = {
homepage = http://github.com/celery/py-amqp;
description = "Python client for the Advanced Message Queuing Procotol (AMQP). This is a fork of amqplib which is maintained by the Celery project";
license = licenses.lgpl21;
};
};
amqplib = buildPythonPackage rec {
name = "amqplib-0.6.1";
src = pkgs.fetchurl {
url = "http://py-amqplib.googlecode.com/files/${name}.tgz";
sha1 = "f124e5e4a6644bf6d1734032a01ac44db1b25a29";
};
# error: invalid command 'test'
doCheck = false;
meta = {
homepage = http://code.google.com/p/py-amqplib/;
description = "Python client for the Advanced Message Queuing Procotol (AMQP)";
};
};
apipkg = buildPythonPackage rec {
name = "apipkg-1.4";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/apipkg/${name}.tar.gz";
md5 = "17e5668601a2322aff41548cb957e7c8";
};
buildInputs = with self; [ ];
meta = {
description = "namespace control and lazy-import mechanism";
homepage = "http://bitbucket.org/hpk42/apipkg";
license = licenses.mit;
};
};
appdirs = buildPythonPackage rec {
name = "appdirs-1.4.0";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/appdirs/appdirs-1.4.0.tar.gz";
md5 = "1d17b4c9694ab84794e228f28dc3275b";
};
meta = {
description = "A python module for determining appropriate platform-specific dirs";
homepage = http://github.com/ActiveState/appdirs;
license = licenses.mit;
};
};
application = buildPythonPackage rec {
name = "python-application-${version}";
version = "1.5.0";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/python-application/${name}.tar.gz";
sha256 = "9bc00c2c639bf633e2c5e08d4bf1bb5d7edaad6ccdd473692f0362df08f8aafc";
};
};
apsw = buildPythonPackage rec {
name = "apsw-3.7.6.2-r1";
disabled = isPyPy;
src = pkgs.fetchurl {
url = "http://apsw.googlecode.com/files/${name}.zip";
sha1 = "fa4aec08e59fa5964197f59ba42408d64031675b";
};
buildInputs = with self; [ pkgs.sqlite ];
# python: double free or corruption (fasttop): 0x0000000002fd4660 ***
doCheck = false;
meta = {
description = "A Python wrapper for the SQLite embedded relational database engine";
homepage = http://code.google.com/p/apsw/;
};
};
asyncio = buildPythonPackage rec {
name = "asyncio-${version}";
version = "3.4.3";
disabled = (!isPy33);
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/asyncio/${name}.tar.gz";
sha256 = "0hfbqwk9y0bbfgxzg93s2wyk6gcjsdxlr5jwy97hx64ppkw0ydl3";
};
meta = {
description = "reference implementation of PEP 3156";
homepage = http://www.python.org/dev/peps/pep-3156;
license = licenses.free;
};
};
funcsigs = buildPythonPackage rec {
name = "funcsigs-0.4";
disabled = ! (isPy26 || isPy27 || isPy33 || isPyPy);
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/f/funcsigs/${name}.tar.gz";
md5 = "fb1d031f284233e09701f6db1281c2a5";
};
buildInputs = with self; [
unittest2
];
meta = with pkgs.stdenv.lib; {
description = "Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+";
homepage = "https://github.com/aliles/funcsigs";
maintainers = with maintainers; [ garbas ];
license = licenses.asl20;
};
};
apscheduler = buildPythonPackage rec {
name = "APScheduler-3.0.1";
disabled = !isPy27;
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/A/APScheduler/${name}.tar.gz";
md5 = "7c3687b3dcd645fe9df48e34eb7a7592";
};
buildInputs = with self; [
pytest
sqlalchemy9
tornado
twisted
mock
trollius
funcsigs
gevent
];
propagatedBuildInputs = with self; [
six
pytz
tzlocal
futures
];
meta = with pkgs.stdenv.lib; {
description = "A Python library that lets you schedule your Python code to be executed";
homepage = http://pypi.python.org/pypi/APScheduler/;
license = licenses.mit;
};
};
args = buildPythonPackage rec {
name = "args-0.1.0";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/args/${name}.tar.gz";
md5 = "66faf79ba2511def7b8b81d542482046";
};
meta = {
description = "Command Arguments for Humans";
homepage = "https://github.com/kennethreitz/args";
};
};
area53 = buildPythonPackage (rec {
name = "Area53-0.94";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/A/Area53/${name}.tar.gz";
sha256 = "0v9b7f8b6v21y410anx5sr52k2ac8jrzdf19q6m6p0zsdsf9vr42";
};
# error: invalid command 'test'
doCheck = false;
propagatedBuildInputs = with self; [ self.boto ];
});
arrow = buildPythonPackage rec {
name = "arrow-${version}";
version = "0.5.0";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/arrow/${name}.tar.gz";
sha256 = "1q3a6arjm6ysl2ff6lgdm504np7b1rbivrzspybjypq1nczcb7qy";
};
doCheck = false;
meta = {
description = "Twitter API library";
license = "apache";
maintainers = with maintainers; [ thoughtpolice ];
};
};
async = buildPythonPackage rec {
name = "async-0.6.1";
disabled = isPy3k;
meta.maintainers = with maintainers; [ mornfall ];
buildInputs = with self; [ pkgs.zlib ];
doCheck = false;
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/async/${name}.tar.gz";
sha256 = "1lfmjm8apy9qpnpbq8g641fd01qxh9jlya5g2d6z60vf8p04rla1";
};
};
atomiclong = buildPythonPackage rec {
version = "0.1.1";
name = "atomiclong-${version}";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/atomiclong/atomiclong-${version}.tar.gz";
sha256 = "1gjbc9lvpkgg8vj7dspif1gz9aq4flkhxia16qj6yvb7rp27h4yb";
};
buildInputs = with self; [ pytest ];
propagatedBuildInputs = with self; [ cffi ];
meta = {
description = "Long data type with atomic operations using CFFI";
homepage = https://github.com/dreid/atomiclong;
license = licenses.mit;
maintainers = with maintainers; [ robbinch ];
};
};
atomicwrites = buildPythonPackage rec {
version = "0.1.0";
name = "atomicwrites-${version}";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/atomicwrites/atomicwrites-${version}.tar.gz";
sha256 = "1lxz0xhnzihqlvl1h6j2nfxjqqgr4s08196z5phnlcz2s7d5z0mg";
};
meta = {
description = "Atomic file writes on POSIX";
homepage = https://pypi.python.org/pypi/atomicwrites/0.1.0;
maintainers = with maintainers; [ matthiasbeyer ];
};
};
argparse = buildPythonPackage (rec {
name = "argparse-1.2.1";
src = pkgs.fetchurl {
url = "http://argparse.googlecode.com/files/${name}.tar.gz";
sha256 = "192174mys40m0bwk6l5jlfnzps0xi81sxm34cqms6dc3c454pbyx";
};
# error: invalid command 'test'
doCheck = false;
meta = {
homepage = http://code.google.com/p/argparse/;
license = licenses.asl20;
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.
'';
};
});
astroid = buildPythonPackage (rec {
name = "astroid-1.3.4";
propagatedBuildInputs = with self; [ logilab_common six ];
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/astroid/${name}.tar.gz";
sha256 = "1fz9x21pziy9dmivvlsgl7a86ka2m9jp3pky01da5aj89ym3wi8b";
};
});
attrdict = buildPythonPackage (rec {
name = "attrdict-2.0.0";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/attrdict/${name}.tar.gz";
md5 = "8a7c1a4e737fe9e2b2b8844c0f7746f8";
};
propagatedBuildInputs = with self; [ coverage nose six ];
meta = {
description = "A dict with attribute-style access";
homepage = https://github.com/bcj/AttrDict;
license = licenses.mit;
};
});
audioread = buildPythonPackage rec {
name = "audioread-1.2.1";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/audioread/${name}.tar.gz";
md5 = "01a80357f38dbd9bf8d7403802df89ac";
};
meta = {
description = "Cross-platform audio decoding";
homepage = "https://github.com/sampsyo/audioread";
license = licenses.mit;
};
};
audiotools = buildPythonPackage rec {
name = "audiotools-2.22";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "mirror://sourceforge/audiotools/${name}.tar.gz";
sha256 = "1c52pggsbxdbj8h92njf4h0jgfndh4yv58ad723pidys47nw1y71";
};
meta = {
description = "Utilities and Python modules for handling audio";
homepage = "http://audiotools.sourceforge.net/";
license = licenses.gpl2Plus;
};
};
autopep8 = buildPythonPackage (rec {
name = "autopep8-1.0.4";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/autopep8/${name}.tar.gz";
sha256 = "17lydqm8y9a5qadp6iifxrb5mb0g9fr1vxn5qy1fjpyhazxaw8n1";
};
propagatedBuildInputs = with self; [ pep8 ];
# One test fails:
# FAIL: test_recursive_should_not_crash_on_unicode_filename (test.test_autopep8.CommandLineTests)
doCheck = false;
meta = {
description = "A tool that automatically formats Python code to conform to the PEP 8 style guide";
homepage = https://pypi.python.org/pypi/autopep8/;
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ bjornfor ];
};
});
avro = buildPythonPackage (rec {
name = "avro-1.7.6";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/avro/${name}.tar.gz";
md5 = "7f4893205e5ad69ac86f6b44efb7df72";
};
meta = {
description = "A serialization and RPC framework";
homepage = "https://pypi.python.org/pypi/avro/";
};
});
avro3k = pkgs.lowPrio (buildPythonPackage (rec {
name = "avro3k-1.7.7-SNAPSHOT";
disabled = (!isPy3k);
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/avro3k/${name}.tar.gz";
sha256 = "15ahl0irwwj558s964abdxg4vp6iwlabri7klsm2am6q5r0ngsky";
};
doCheck = false; # No such file or directory: './run_tests.py
meta = {
description = "A serialization and RPC framework";
homepage = "https://pypi.python.org/pypi/avro3k/";
};
}));
azure = buildPythonPackage rec {
version = "0.11.0";
name = "azure-${version}";
disabled = pythonOlder "2.7";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/azure/${name}.zip";
md5 = "5499efd85c54c757c0e757b5407ee47f";
};
propagatedBuildInputs = with self; [ dateutil futures pyopenssl requests ];
meta = {
description = "Microsoft Azure SDK for Python";
homepage = "http://azure.microsoft.com/en-us/develop/python/";
license = licenses.asl20;
maintainers = with maintainers; [ olcai ];
};
};
backports_ssl_match_hostname_3_4_0_2 = self.buildPythonPackage rec {
name = "backports.ssl_match_hostname-3.4.0.2";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/b/backports.ssl_match_hostname/backports.ssl_match_hostname-3.4.0.2.tar.gz";
md5 = "788214f20214c64631f0859dc79f23c6";
};
meta = {
description = "The Secure Sockets layer is only actually *secure*";
homepage = http://bitbucket.org/brandon/backports.ssl_match_hostname;
};
};
backports_lzma = self.buildPythonPackage rec {
name = "backports.lzma-0.0.3";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/b/backports.lzma/${name}.tar.gz";
md5 = "c3d109746aefa86268e500c07d7e8e0f";
};
buildInputs = [ pkgs.lzma ];
meta = {
describe = "Backport of Python 3.3's 'lzma' module for XZ/LZMA compressed files";
homepage = https://github.com/peterjc/backports.lzma;
license = licenses.bsd3;
};
};
babelfish = buildPythonPackage rec {
version = "0.5.3";
name = "babelfish-${version}";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/b/babelfish/${name}.tar.gz";
sha256 = "0wrw21dyq7v6lbffwvi1ik43d7dhmcv8xvgrrihhiv7ys1rd3gag";
};
meta = {
homepage = http://pypi.python.org/pypi/babelfish;
description = "A module to work with countries and languages";
license = licenses.bsd3;
};
};
batinfo = buildPythonPackage rec {
version = "0.2";
name = "batinfo-${version}";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/b/batinfo/${name}.tar.gz";
sha256 = "1kmrdr1c2ivpqgp2csln7vbanga3sh3nvaqmgbsg96z6fbg7f7w8";
};
meta = {
homepage = https://github.com/nicolargo/batinfo;
description = "A simple Python lib to retrieve battery information";
license = licenses.lgpl3;
platforms = platforms.all;
maintainers = with maintainers; [ koral ];
};
};
bcdoc = buildPythonPackage rec {
name = "bcdoc-0.14.0";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/b/bcdoc/${name}.tar.gz";
sha256 = "1s2kdqs1n2mj7wq3w0pq30zs7vxq0l3abik2clqnc4hm2j7crbk8";
};
buildInputs = with self; [ docutils six ];
meta = {
homepage = https://github.com/botocore/bcdoc;
license = licenses.asl20;
description = "ReST document generation tools for botocore";
};
};
beautifulsoup = buildPythonPackage (rec {
name = "beautifulsoup-3.2.1";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "http://www.crummy.com/software/BeautifulSoup/download/3.x/BeautifulSoup-3.2.1.tar.gz";
sha256 = "1nshbcpdn0jpcj51x0spzjp519pkmqz0n0748j7dgpz70zlqbfpm";
};
# error: invalid command 'test'
doCheck = false;
meta = {
homepage = http://www.crummy.com/software/BeautifulSoup/;
license = "bsd";
description = "Undemanding HTML/XML parser";
};
});
beautifulsoup4 = buildPythonPackage (rec {
name = "beautifulsoup4-4.1.3";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/b/beautifulsoup4/${name}.tar.gz";
md5 = "f1481ed77336de77a2d8e5b061b6ad62";
};
# invalid command 'test'
doCheck = false;
meta = {
homepage = http://crummy.com/software/BeautifulSoup/bs4/;
description = "HTML and XML parser";
license = licenses.mit;
maintainers = with maintainers; [ iElectric ];
};
});
beaker = buildPythonPackage rec {
name = "Beaker-1.6.4";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/B/Beaker/${name}.tar.gz";
md5 = "c2e102870ed4c53104dec48ceadf8e9d";
};
buildInputs =
[ self.sqlalchemy
self.pycryptopp
self.nose
self.mock
self.webtest
];
# http://hydra.nixos.org/build/4511591/log/raw
doCheck = false;
meta = {
maintainers = with maintainers; [ garbas iElectric ];
platforms = platforms.all;
};
};
caldavclientlibrary-asynk = buildPythonPackage rec {
version = "asynkdev";
name = "caldavclientlibrary-asynk-${version}";
src = pkgs.fetchgit {
url = "https://github.com/skarra/CalDAVClientLibrary.git";
rev = "06699b08190d50cc2636b921a654d67db0a967d1";
sha256 = "1i6is7lv4v9by4panrd9w63m4xsmhwlp3rq4jjj3azwg5jm10940";
};
meta = {
description = "A Python library and tool for CalDAV";
longDescription = ''
CalDAVCLientLibrary is a Python library and tool for CalDAV.
This package is the unofficial CalDAVCLientLibrary Python
library maintained by the author of Asynk and is needed for
that package.
'';
homepage = https://github.com/skarra/CalDAVClientLibrary/tree/asynkdev/;
maintainers = with maintainers; [ pjones ];
};
};
bedup = buildPythonPackage rec {
name = "bedup-20140413";
src = pkgs.fetchgit {
url = "https://github.com/g2p/bedup.git";
rev = "5189e166145b8954ac41883f81ef3c3b50dc96ab";
sha256 = "e61768fa19934bd176799f90bda3ea9f49a5def21fa2523a8e47df8a48e730e9";
};
buildInputs = with self; [ pkgs.btrfsProgs ];
propagatedBuildInputs = with self; [ contextlib2 sqlalchemy9 pyxdg pycparser alembic ]
++ optionals (!isPyPy) [ cffi ];
meta = {
description = "Deduplication for Btrfs";
longDescription = ''
Deduplication for Btrfs. bedup looks for new and changed files, making sure that multiple
copies of identical files share space on disk. It integrates deeply with btrfs so that scans
are incremental and low-impact.
'';
homepage = https://github.com/g2p/bedup;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ bluescreen303 ];
};
};
buttersink = buildPythonPackage rec {
name = "buttersink-0.6.6";
src = pkgs.fetchurl {
sha256 = "1vi0pz8r3d17bsn5g7clkyph7sc0rjzbzqk6rwglaxcah7sfj2mj";
url = "https://pypi.python.org/packages/source/b/buttersink/${name}.tar.gz";
};
meta = {
description = "Synchronise btrfs snapshots";
longDescription = ''
ButterSink is like rsync, but for btrfs subvolumes instead of files,
which makes it much more efficient for things like archiving backup
snapshots. It is built on top of btrfs send and receive capabilities.
Sources and destinations can be local btrfs file systems, remote btrfs
file systems over SSH, or S3 buckets.
'';
homepage = https://github.com/AmesCornish/buttersink/wiki;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
propagatedBuildInputs = with self; [ boto crcmod psutil ];
};
circus = buildPythonPackage rec {
name = "circus-0.11.1";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/c/circus/${name}.tar.gz";
md5 = "5c07cdbe9bb4a9b82e52737ad590617b";
};
doCheck = false; # weird error
propagatedBuildInputs = with self; [ iowait psutil pyzmq tornado mock ];
};
cornice = buildPythonPackage rec {
name = "cornice-${version}";
version = "0.17.0";
src = pkgs.fetchgit {
url = https://github.com/mozilla-services/cornice.git;
rev = "refs/tags/${version}";
sha256 = "12yrcsv1sdl5w308y1cc939ppq7pi2490s54zfcbs481cvsyr1lg";
};
propagatedBuildInputs = with self; [ pyramid simplejson ];
doCheck = false; # lazy packager
};
cvxopt = buildPythonPackage rec {
name = "${pname}-${version}";
pname = "cvxopt";
version = "1.1.7";
disabled = isPyPy;
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/c/${pname}/${name}.tar.gz";
sha256 = "f856ea2e9e2947abc1a6557625cc6b0e45228984f397a90c420b2f468dc4cb97";
};
doCheck = false;
buildInputs = with pkgs; [ openblasCompat ];
preConfigure = ''
export CVXOPT_BLAS_LIB_DIR=${pkgs.openblasCompat}/lib
export CVXOPT_BLAS_LIB=openblas
export CVXOPT_LAPACK_LIB=openblas
'';
meta = {
homepage = "http://cvxopt.org/";
description = "Python Software for Convex Optimization";
maintainers = with maintainers; [ edwtjo ];
license = licenses.gpl3Plus;
};
};
debian = buildPythonPackage rec {
name = "${pname}-${version}";
pname = "python-debian";
version = "0.1.23";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/${pname}/${name}.tar.gz";
sha256 = "193faznwnjc3n5991wyzim6h9gyq1zxifmfrnpm3avgkh7ahyynh";
};
propagatedBuildInputs = with self; [ chardet six ];
};
defusedxml = buildPythonPackage rec {
name = "${pname}-${version}";
pname = "defusedxml";
version = "0.4.1";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/d/${pname}/${name}.tar.gz";
sha256 = "0y147zy3jqmk6ly7fbhqmzn1hf41xcb53f2vcc3m8x4ba5d1smfd";
};
};
dugong = buildPythonPackage rec {
name = "${pname}-${version}";
pname = "dugong";
version = "3.5";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/d/${pname}/${name}.tar.bz2";
sha256 = "0y0rdxbiwm03zv6vpvapqilrird3h8ijz7xmb0j7ds5j4p6q3g24";
};
disabled = pythonOlder "3.3"; # Library does not support versions older than 3.3
};
iowait = buildPythonPackage rec {
name = "iowait-0.2";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/i/iowait/${name}.tar.gz";
md5 = "f49ca7766fe4a67e03a731e575614f87";
};
meta = {
description = "Platform-independent module for I/O completion events";
homepage = https://launchpad.net/python-iowait;
};
};
responses = self.buildPythonPackage rec {
name = "responses-0.4.0";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/r/responses/${name}.tar.gz";
sha256 = "0fs7a4cf4f12mjhcjd5vfh0f3ixcy2nawzxpgsfr3ahf0rg7ppx5";
};
propagatedBuildInputs = with self; [ cookies mock requests2 six ];
doCheck = false;
};
rarfile = self.buildPythonPackage rec {
name = "rarfile-2.6";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/r/rarfile/rarfile-2.6.tar.gz";
md5 = "50ce3f3fdb9196a00059a5ea7b3739fd";
};
meta = {
description = "rarfile - RAR archive reader for Python";
homepage = https://github.com/markokr/rarfile;
};
};
proboscis = pythonPackages.buildPythonPackage rec {
name = "proboscis-1.2.6.0";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/proboscis/proboscis-1.2.6.0.tar.gz";
md5 = "e4b36449ef7c18f70b8243f4c8bddbca";
};
propagatedBuildInputs = with pythonPackages; [ nose ];
doCheck = false;
meta = {
description = "A Python test framework that extends Python's built-in unittest module and Nose with features from TestNG";
homepage = https://github.com/rackspace/python-proboscis;
license = licenses.asl20;
};
};
pyechonest = self.buildPythonPackage rec {
name = "pyechonest-8.0.2";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/pyechonest/pyechonest-8.0.2.tar.gz";
md5 = "5586fe8ece7af4e24f71ea740185127e";
};
meta = {
description = "Tap into The Echo Nest's Musical Brain for the best music search, information, recommendations and remix tools on the web";
homepage = https://github.com/echonest/pyechonest;
};
};
billiard = buildPythonPackage rec {
name = "billiard-${version}";
version = "3.3.0.19";
disabled = isPyPy;
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/b/billiard/${name}.tar.gz";
sha256 = "06bs1kl7dji6lwpj3dkfi61mmrfq2mi7wz3ka683i2avwk38wsvf";
md5 = "7e473b9da01956ce91a650f99fe8d4ad";
};
buildInputs = with self; [ nose unittest2 mock ];
# i can't imagine these were intentionally installed
postInstall = "rm -r $out/${python.sitePackages}/funtests";
meta = {
homepage = https://github.com/celery/billiard;
description = "Python multiprocessing fork with improvements and bugfixes";
license = licenses.bsd3;
};
};
bitbucket_api = buildPythonPackage rec {
name = "bitbucket-api-0.4.4";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/b/bitbucket-api/${name}.tar.gz";
md5 = "6f3cee3586c4aad9c0b2e04fce9704fb";
};
propagatedBuildInputs = with self; [ requests_oauth2 nose sh ];
doCheck = false;
meta = {
homepage = https://github.com/Sheeprider/BitBucket-api;
description = "Python library to interact with BitBucket REST API";
license = licenses.mit;
};
};
bitbucket-cli = buildPythonPackage rec {
name = "bitbucket-cli-0.4.1";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/b/bitbucket-cli/${name}.tar.gz";
md5 = "79cdbdc6c95dfa313d12cbdef406c9f2";
};
pythonPath = [ self.requests ];
meta = {
description = "Bitbucket command line interface";
homepage = "https://bitbucket.org/zhemao/bitbucket-cli";
maintainers = with maintainers; [ refnil ];
};
};
bitstring = buildPythonPackage rec {
name = "bitstring-3.1.2";
src = pkgs.fetchurl {
url = "https://python-bitstring.googlecode.com/files/${name}.zip";
sha256 = "1i1p3rkj4ad108f23xyib34r4rcy571gy65paml6fk77knh0k66p";
};
# error: invalid command 'test'
doCheck = false;
meta = {
description = "Module for binary data manipulation";
homepage = https://code.google.com/p/python-bitstring/;
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ bjornfor ];
};
};
bleach = buildPythonPackage rec {
version = "v1.4";
name = "bleach-${version}";
src = pkgs.fetchurl {
url = "http://github.com/jsocol/bleach/archive/${version}.tar.gz";
sha256 = "19v0zhvchz89w179rwkc4ah3cj2gbcng9alwa2yla89691g8b0b0";
};
propagatedBuildInputs = with self; [ six html5lib ];
meta = {
description = "An easy, HTML5, whitelisting HTML sanitizer";
longDescription = ''
Bleach is an HTML sanitizing library that escapes or strips markup and
attributes based on a white list. Bleach can also linkify text safely,
applying filters that Django's urlize filter cannot, and optionally
setting rel attributes, even on links already in the text.
Bleach is intended for sanitizing text from untrusted sources. If you
find yourself jumping through hoops to allow your site administrators
to do lots of things, you're probably outside the use cases. Either
trust those users, or don't.
'';
homepage = https://github.com/jsocol/bleach;
downloadPage = https://github.com/jsocol/bleach/releases;
license = licenses.asl20;
maintainers = with maintainers; [ prikhi ];
platforms = platforms.linux;
};
};
blinker = buildPythonPackage rec {
name = "blinker-${version}";
version = "1.3";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/b/blinker/${name}.tar.gz";
md5 = "66e9688f2d287593a0e698cd8a5fbc57";
};
meta = {
homepage = http://pythonhosted.org/blinker/;
description = "Fast, simple object-to-object and broadcast signaling";
license = licenses.mit;
maintainers = with maintainers; [ garbas ];
};
};
blockdiag = buildPythonPackage rec {
name = "blockdiag-1.4.7";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/b/blockdiag/${name}.tar.gz";
sha256 = "0bc29sh8hj3hmhclifh1by0n6vg2pl9wkxb7fmljyw0arjas54bf";
};
buildInputs = with self; [ pep8 nose unittest2 docutils ];
propagatedBuildInputs = with self; [ pillow webcolors funcparserlib ];
# One test fails:
# ...
# FAIL: test_auto_font_detection (blockdiag.tests.test_boot_params.TestBootParams)
doCheck = false;
meta = {
description = "Generate block-diagram image from spec-text file (similar to Graphviz)";
homepage = http://blockdiag.com/;
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ bjornfor ];
};
};
bpython = buildPythonPackage rec {
name = "bpython-0.12";
src = pkgs.fetchurl {
url = "http://www.bpython-interpreter.org/releases/bpython-0.12.tar.gz";
sha256 = "1ilf58qq7sazmcgg4f1wswbhcn2gb8qbbrpgm6gf0j2lbm60gabl";
};
propagatedBuildInputs = with self; [ modules.curses pygments ];
doCheck = false;
meta = {
description = "UNKNOWN";
homepage = "UNKNOWN";
maintainers = with maintainers; [ iElectric ];
};
};
boto = buildPythonPackage rec {
name = "boto-${version}";
version = "2.38.0";
src = pkgs.fetchurl {
url = "https://github.com/boto/boto/archive/${version}.tar.gz";
sha256 = "0l7m3lmxmnknnz9svzc7z26rklwckzwqgz6hgackl62gkndryrgj";
};
checkPhase = ''
${python.interpreter} tests/test.py default
'';
buildInputs = [ self.nose self.mock ];
propagatedBuildInputs = [ self.requests self.httpretty ];
meta = {
homepage = https://github.com/boto/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.
'';
};
};
botocore = buildPythonPackage rec {
version = "1.1.4";
name = "botocore-${version}";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/b/botocore/${name}.tar.gz";
sha256 = "1wbbaj0y6bfzsh61hgnnssn5j8m93r6r2m5r1jmlf6iz3l9gqkkp";
};
propagatedBuildInputs =
[ self.dateutil
self.requests
self.jmespath
];
buildInputs = [ self.docutils ];
meta = {
homepage = https://github.com/boto/botocore;
license = "bsd";
description = "A low-level interface to a growing number of Amazon Web Services";
};
};
bottle = buildPythonPackage rec {
version = "0.12.8";
name = "bottle-${version}";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/b/bottle/${name}.tar.gz";
sha256 = "1b2hq0l4nwh75s2w6wgiqlkj4q1qvyx6a94axl2k4lsym1aifpfd";
};
propagatedBuildInputs = with self; [ setuptools ];
meta = {
homepage = http://bottlepy.org;
description = "A fast and simple micro-framework for small web-applications";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ koral ];
};
};
box2d = buildPythonPackage rec {
name = "box2d-${version}";
version = "2.3b0";
disabled = (!isPy27);
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/B/Box2D/Box2D-2.3b0.zip";
md5="25fc4f69cd580bdca0022ac3ace53865";
};
patches = [ ../development/python-modules/box2d/disable-test.patch ];
propagatedBuildInputs = [ pkgs.swig pkgs.box2d ];
meta = {
homepage = https://code.google.com/p/pybox2d/;
description = ''
A 2D game physics library for Python under
the very liberal zlib license
'';
license = licenses.zlib;
platforms = platforms.all;
maintainers = with maintainers; [ sepi ];
};
};
bugwarrior = buildPythonPackage rec {
name = "bugwarrior-${version}";
version = "1.0.2";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/b/bugwarrior/${name}.tar.gz";
# md5 = "09c93f86a27ffc092e69b46889a3bf50"; # provided by pypi website.
sha256 = "efe41756c152789f39006f157add9bedfa2b85d2cac15c067e635e37c70cb8f8";
};
buildInputs = with self; [ mock unittest2 nose /* jira megaplan */ ];
propagatedBuildInputs = with self; [
twiggy requests2 offtrac bugzilla taskw dateutil pytz keyring six
jinja2 pycurl dogpile_cache lockfile click
];
# for the moment jira>=0.22 and megaplan>=1.4 are missing for running the test suite.
doCheck = false;
meta = {
homepage = http://github.com/ralphbean/bugwarrior;
description = "Sync github, bitbucket, bugzilla, and trac issues with taskwarrior";
license = licenses.gpl3Plus;
platforms = platforms.all;
maintainers = with maintainers; [ pierron ];
};
};
# bugz = buildPythonPackage (rec {
# name = "bugz-0.9.3";
#
# src = pkgs.fetchgit {
# url = "https://github.com/williamh/pybugz.git";
# rev = "refs/tags/0.9.3";
# };
#
# propagatedBuildInputs = with self; [ self.argparse ];
#
# doCheck = false;
#
# meta = {
# homepage = http://www.liquidx.net/pybugz/;
# description = "Command line interface for Bugzilla";
# };
# });
bugzilla = buildPythonPackage rec {
name = "bugzilla-${version}";
version = "1.1.0";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/python-bugzilla/python-${name}.tar.gz";
# md5 = "c95befd1fecad21f742beaa8180538c0"; # provided by pypi website.
sha256 = "11361635a4f1613803a0b9b93ba9126f7fd36180653f953e2590b1536d107d46";
};
patches = [ ../development/python-modules/bugzilla/checkPhase-fix-cookie-compare.patch ];
buildInputs = with self; [ pep8 coverage logilab_common ];
propagatedBuildInputs = [ self.requests2 ];
preCheck = ''
mkdir -p check-phase
export HOME=$(pwd)/check-phase
'';
meta = {
homepage = https://fedorahosted.org/python-bugzilla/;
description = "Bugzilla XMLRPC access module";
license = licenses.gpl2;
platforms = platforms.all;
maintainers = with maintainers; [ pierron ];
};
};
buildout = self.zc_buildout;
buildout152 = self.zc_buildout152;
# A patched version of buildout, useful for buildout based development on Nix
zc_buildout_nix = callPackage ../development/python-modules/buildout-nix { };
zc_recipe_egg = self.zc_recipe_egg_buildout171;
zc_buildout = self.zc_buildout171;
zc_buildout2 = self.zc_buildout221;
zc_buildout221 = buildPythonPackage rec {
name = "zc.buildout-2.2.1";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/z/zc.buildout/${name}.tar.gz";
md5 = "476a06eed08506925c700109119b6e41";
};
meta = {
homepage = "http://www.buildout.org";
description = "A software build and configuration system";
license = licenses.zpt21;
maintainers = with maintainers; [ garbas ];
};
};
zc_buildout171 = buildPythonPackage rec {
name = "zc.buildout-1.7.1";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/z/zc.buildout/${name}.tar.gz";
md5 = "8834a21586bf2be53dc412002241a996";
};
meta = {
homepage = "http://www.buildout.org";
description = "A software build and configuration system";
license = licenses.zpt21;
maintainers = with maintainers; [ garbas ];
};
};
zc_buildout152 = buildPythonPackage rec {
name = "zc.buildout-1.5.2";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/z/zc.buildout/${name}.tar.gz";
md5 = "87f7b3f8d13926c806242fd5f6fe36f7";
};
# TODO: consider if this patch should be an option
# It makes buildout useful in a nix profile, but this alters the default functionality
patchPhase = ''
sed -i "s/return (stdlib, site_paths)/return (stdlib, sys.path)/g" src/zc/buildout/easy_install.py
'';
meta = {
homepage = "http://www.buildout.org";
description = "A software build and configuration system";
license = licenses.zpt21;
maintainers = with maintainers; [ garbas ];
};
};
zc_recipe_egg_fun = { buildout, version, md5 }: buildPythonPackage rec {
inherit version;
name = "zc.recipe.egg-${version}";
buildInputs = with self; [ buildout ];
doCheck = false;
src = pkgs.fetchurl {
inherit md5;
url = "https://pypi.python.org/packages/source/z/zc.recipe.egg/zc.recipe.egg-${version}.tar.gz";
};
};
zc_recipe_egg_buildout171 = self.zc_recipe_egg_fun {
buildout = self.zc_buildout171;
version = "1.3.2";
md5 = "1cb6af73f527490dde461d3614a36475";
};
zc_recipe_egg_buildout2 = self.zc_recipe_egg_fun {
buildout = self.zc_buildout2;
version = "2.0.1";
md5 = "5e81e9d4cc6200f5b1abcf7c653dd9e3";
};
bunch = buildPythonPackage (rec {
name = "bunch-1.0.1";
meta.maintainers = with maintainers; [ mornfall ];
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/b/bunch/${name}.tar.gz";
sha256 = "1akalx2pd1fjlvrq69plvcx783ppslvikqdm93z2sdybq07pmish";
};
doCheck = false;
});
cairocffi = buildPythonPackage rec {
name = "cairocffi-0.7.1";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/c/cairocffi/${name}.tar.gz";
md5 = "e26d06a8d8b16c7210414ce15d453636";
};
propagatedBuildInputs = with self; [ cffi ];
meta = {
homepage = https://github.com/SimonSapin/cairocffi;
license = "bsd";
description = "cffi-based cairo bindings for Python";
};
};
carrot = buildPythonPackage rec {
name = "carrot-0.10.7";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/c/carrot/${name}.tar.gz";
md5 = "530a0614de3a669314c3acd4995c54d5";
};
buildInputs = with self; [ self.nose ];
propagatedBuildInputs =
[ self.amqplib
self.anyjson
];
doCheck = false; # depends on the network
meta = {
homepage = http://pypi.python.org/pypi/carrot;
description = "AMQP Messaging Framework for Python";
};
};
cassandra-driver = buildPythonPackage rec {
name = "cassandra-driver-2.6.0c2";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/c/cassandra-driver/${name}.tar.gz";
sha256 = "00cc2rkvkxaxn7sf2qzy29s6h394fla73rbdh9krxbswp5nvp27r";
};
propagatedBuildInputs = with self; [
futures
nose
six
sure
pytz
pyyaml
];
meta = {
homepage = http://datastax.github.io/python-driver/;
description = "A Python client driver for Apache Cassandra";
};
};
celery = buildPythonPackage rec {
name = "celery-${version}";
version = "3.1.17";
disabled = pythonOlder "2.6";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/c/celery/${name}.tar.gz";
sha256 = "0qh38xnbgbj7awpjxxvjlddyafxyyy3fhxcas3i8dmcb4r9vdqng";
md5 = "e37f5d93b960bf68fc26c1325f30fd16";
};
buildInputs = with self; [ mock nose unittest2 ];
propagatedBuildInputs = with self; [ kombu billiard pytz anyjson ];
# tests broken on python 2.6? https://github.com/nose-devs/nose/issues/806
doCheck = pythonAtLeast "2.7";
meta = {
homepage = https://github.com/celery/celery/;
description = "Distributed task queue";
license = licenses.bsd3;
};
};
certifi = buildPythonPackage rec {
name = "certifi-${version}";
version = "14.05.14";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/c/certifi/${name}.tar.gz";
sha256 = "0s8vxzfz6s4m6fvxc7z25k9j35w0rh6jkw3wwcd1az1mssncn6qy";
};
meta = {
homepage = http://certifi.io/;
description = "Python package for providing Mozilla's CA Bundle";
license = licenses.isc;
maintainers = with maintainers; [ koral ];
};
};
characteristic = buildPythonPackage rec {
name = "characteristic-14.1.0";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/c/characteristic/${name}.tar.gz";
md5 = "68ea7e28997fc57d3631791ec0567a05";
};
buildInputs = with self; [ self.pytest ];
meta = {
description = "Python attributes without boilerplate";
homepage = https://characteristic.readthedocs.org;
};
};
cheetah = buildPythonPackage rec {
version = "2.4.4";
name = "cheetah-${version}";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/C/Cheetah/Cheetah-${version}.tar.gz";
md5 = "853917116e731afbc8c8a43c37e6ddba";
};
propagatedBuildInputs = with self; [ self.markdown ];
meta = {
homepage = http://www.cheetahtemplate.org/;
description = "A template engine and code generation tool";
};
};
cherrypy = buildPythonPackage (rec {
name = "cherrypy-${version}";
version = "3.2.2";
src = pkgs.fetchurl {
url = "http://download.cherrypy.org/cherrypy/${version}/CherryPy-${version}.tar.gz";
sha256 = "14dn129h69wj0h8yr0bjwbrk8kygl6mkfnxc5m3fxhlm4xb8hnnw";
};
# error: invalid command 'test'
doCheck = false;
meta = {
homepage = "http://www.cherrypy.org";
description = "A pythonic, object-oriented HTTP framework";
};
});
cjson = buildPythonPackage rec {
name = "python-cjson-${version}";
version = "1.1.0";
disabled = isPy3k || isPyPy;
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/python-cjson/${name}.tar.gz";
sha256 = "a01fabb7593728c3d851e1cd9a3efbd18f72650a31a5aa8a74018640da3de8b3";
};
meta = {
description = "A very fast JSON encoder/decoder for Python";
homepage = "http://ag-projects.com/";
license = licenses.lgpl2;
platforms = platforms.all;
};
};
clf = buildPythonPackage rec {
name = "clf-${version}";
version = "0.5.2";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/c/clf/${name}.tar.gz";
sha256 = "04lqd2i4fjs606b0q075yi9xksk567m0sfph6v6j80za0hvzqyy5";
};
# Error when running tests:
# No local packages or download links found for requests
doCheck = false;
meta = {
homepage = https://github.com/ncrocfer/clf;
description = "Command line tool to search snippets on Commandlinefu.com";
license = licenses.mit;
maintainers = with maintainers; [ koral ];
};
};
click = buildPythonPackage rec {
name = "click-4.1";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/c/click/${name}.tar.gz";
sha256 = "1n4fvxpgbna83g6daarscljwpbarr45qfalh9hqla8ayy84ysfg3";
};
meta = {
homepage = http://click.pocoo.org/;
description = "Create beautiful command line interfaces in Python";
longDescription = ''
A Python package for creating beautiful command line interfaces in a
composable way, with as little code as necessary.
'';
license = licenses.bsd3;
maintainers = with maintainers; [ nckx ];
};
};
clepy = buildPythonPackage rec {
name = "clepy-0.3.20";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/c/clepy/${name}.tar.gz";
sha256 = "16vibfxms5z4ld8gbkra6dkhqm2cc3jnn0fwp7mw70nlwxnmm51c";
};
buildInputs = with self; [ self.mock self.nose self.decorator ];
meta = {
homepage = http://code.google.com/p/clepy/;
description = "Utilities created by the Cleveland Python users group";
};
};
clientform = buildPythonPackage (rec {
name = "clientform-0.2.10";
disabled = isPy3k;
src = pkgs.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";
};
});
cogapp = buildPythonPackage rec {
version = "2.3";
name = "cogapp-${version}";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/c/cogapp/${name}.tar.gz";
sha256 = "0gzmzbsk54r1qa6wd0yg4zzdxvn2f19ciprr2acldxaknzrpllnn";
};
# there are no tests
doCheck = false;
meta = {
description = "A code generator for executing Python snippets in source files";
homepage = http://nedbatchelder.com/code/cog;
license = licenses.mit;
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix;
};
};
colorama = buildPythonPackage rec {
name = "colorama-${version}";
version = "0.3.3";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/c/colorama/${name}.tar.gz";
sha256 = "eb21f2ba718fbf357afdfdf6f641ab393901c7ca8d9f37edd0bee4806ffa269c";
};
meta = {
homepage = https://github.com/tartley/colorama;
license = "bsd";
description = "Cross-platform colored terminal text";
};
};
coilmq = buildPythonPackage (rec {
name = "coilmq-0.6.1";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/C/CoilMQ/CoilMQ-0.6.1.tar.gz";
md5 = "5f39727415b837abd02651eeb2721749";
};
propagatedBuildInputs = with self; [ self.stompclient ];
preConfigure = ''
sed -i '/distribute/d' setup.py
'';
buildInputs = with self; [ self.coverage self.sqlalchemy ];
# ValueError: Could not parse auth file:
# /tmp/nix-build-.../CoilMQ-0.6.1/coilmq/tests/resources/auth.ini
doCheck = false;
meta = {
description = "Simple, lightweight, and easily extensible STOMP message broker";
homepage = http://code.google.com/p/coilmq/;
license = licenses.asl20;
};
});
colander = buildPythonPackage rec {
name = "colander-1.0";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/c/colander/${name}.tar.gz";
md5 = "058576123da7216288c079c9f47693f8";
};
propagatedBuildInputs = with self; [ self.translationstring self.iso8601 ];
meta = {
maintainers = with maintainers; [ garbas iElectric ];
platforms = platforms.all;
};
};
# Backported version of the ConfigParser library of Python 3.3
configparser = if isPy3k then null else buildPythonPackage rec {
name = "configparser-${version}";
version = "3.3.0r2";
# running install_egg_info
# error: [Errno 9] Bad file descriptor: '<stdout>'
disabled = isPyPy;
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/c/configparser/${name}.tar.gz";
sha256 = "6a2318590dfc4013fc5bf53c2bec14a8cb455a232295eb282a13f94786c4b0b2";
};
meta = {
maintainers = [ ];
platforms = platforms.all;
};
};
ColanderAlchemy = buildPythonPackage rec {
name = "ColanderAlchemy-0.2.0";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/C/ColanderAlchemy/${name}.tar.gz";
md5 = "b054837bd2753cbf15f7d5028cba421b";
};
buildInputs = with self; [ unittest2 ];
propagatedBuildInputs = with self; [ colander sqlalchemy9 ];
# string: argument name cannot be overridden via info kwarg.
doCheck = false;
meta = {
description = "Autogenerate Colander schemas based on SQLAlchemy models";
homepage = https://github.com/stefanofontanelli/ColanderAlchemy;
license = licenses.mit;
};
};
configobj = buildPythonPackage (rec {
name = "configobj-5.0.6";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/c/configobj/${name}.tar.gz";
md5 = "e472a3a1c2a67bb0ec9b5d54c13a47d6";
};
# error: invalid command 'test'
doCheck = false;
propagatedBuildInputs = with self; [ six ];
meta = {
description = "Config file reading, writing and validation";
homepage = http://pypi.python.org/pypi/configobj;
license = licenses.bsd3;
maintainers = with maintainers; [ garbas ];
};
});
configshell_fb = buildPythonPackage rec {
version = "1.1.fb10";
name = "configshell-fb-${version}";
src = pkgs.fetchurl {
url = "https://github.com/agrover/configshell-fb/archive/v${version}.tar.gz";
sha256 = "1dd87xvm98nk3jzybb041gjdahi2z9b53pwqhyxcfj4a91y82ndy";
};
propagatedBuildInputs = with self; [
pyparsing
modules.readline
urwid
];
meta = {
description = "A Python library for building configuration shells";
homepage = "https://github.com/agrover/configshell-fb";
platforms = platforms.linux;
};
};
construct = buildPythonPackage rec {
name = "construct-2.5.2";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/c/construct/${name}.tar.gz";
sha256 = "084h02p0m8lhmlywlwjdg0kd0hd6sz481c96qwcm5wddxrqn4nv6";
};
propagatedBuildInputs = with self; [ six ];
meta = {
description = "Powerful declarative parser (and builder) for binary data";
homepage = http://construct.readthedocs.org/;
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ bjornfor ];
};
};
contextlib2 = buildPythonPackage rec {
name = "contextlib2-0.4.0";
src = pkgs.fetchurl rec {
url = "https://pypi.python.org/packages/source/c/contextlib2/${name}.tar.gz";
md5 = "ea687207db25f65552061db4a2c6727d";
};
};
cookies = buildPythonPackage rec {
name = "cookies-2.2.1";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/c/cookies/${name}.tar.gz";
sha256 = "13pfndz8vbk4p2a44cfbjsypjarkrall71pgc97glk5fiiw9idnn";
};
doCheck = false;
meta = {
description = "Friendlier RFC 6265-compliant cookie parser/renderer";
homepage = https://github.com/sashahart/cookies;
license = licenses.mit;
};
};
coverage = buildPythonPackage rec {
name = "coverage-3.7.1";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/c/coverage/${name}.tar.gz";
sha256 = "0knlbq79g2ww6xzsyknj9rirrgrgc983dpa2d9nkdf31mb2a3bni";
};
meta = {
description = "Code coverage measurement for python";
homepage = http://nedbatchelder.com/code/coverage/;
license = licenses.bsd3;
};
};
covCore = buildPythonPackage rec {
name = "cov-core-1.15.0";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/c/cov-core/${name}.tar.gz";
md5 = "f519d4cb4c4e52856afb14af52919fe6";
};
meta = {
description = "plugin core for use by pytest-cov, nose-cov and nose2-cov";
};
propagatedBuildInputs = with self; [ self.coverage ];
};
crcmod = buildPythonPackage rec {
name = "crcmod-1.7";
src = pkgs.fetchurl {
url = https://pypi.python.org/packages/source/c/crcmod/crcmod-1.7.tar.gz;
sha256 = "07k0hgr42vw2j92cln3klxka81f33knd7459cn3d8aszvfh52w6w";
};
meta = {
description = "Python module for generating objects that compute the Cyclic Redundancy Check (CRC)";
homepage = http://crcmod.sourceforge.net/;
license = licenses.mit;
};
};
cython = buildPythonPackage rec {
name = "Cython-${version}";
version = "0.22.1";
src = pkgs.fetchurl {
url = "http://www.cython.org/release/${name}.tar.gz";
sha256 = "7fff120e65e7b66edb4a42823f5642bad3bc1e5601bf882d66aee50248cf0682";
};
setupPyBuildFlags = ["--build-base=$out"];
buildInputs = with self; [ pkgs.pkgconfig ];
meta = {
description = "An optimising static compiler for both the Python programming language and the extended Cython programming language";
platforms = platforms.all;
homepage = http://cython.org;
license = licenses.asl20;
};
};
cytoolz = buildPythonPackage rec {
name = "cytoolz-${version}";
version = "0.7.3";
src = pkgs.fetchurl{
url = "https://pypi.python.org/packages/source/c/cytoolz/cytoolz-${version}.tar.gz";
md5 = "e9f0441d9f340a23c60357f68f25d163";
};
meta = {
homepage = "http://github.com/pytoolz/cytoolz/";
description = "Cython implementation of Toolz: High performance functional utilities";
license = "licenses.bsd3";
};
};
cryptacular = buildPythonPackage rec {
name = "cryptacular-1.4.1";
buildInputs = with self; [ coverage nose ];
propagatedBuildInputs = with self; [ pbkdf2 modules.crypt ];
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/c/cryptacular/${name}.tar.gz";
md5 = "fe12232ac660185186dd8057d8ca7b0e";
};
# TODO: tests fail: TypeError: object of type 'NoneType' has no len()
doCheck = false;
meta = {
maintainers = with maintainers; [ iElectric ];
};
};
cryptography = buildPythonPackage rec {
name = "cryptography-0.6.1";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/c/cryptography/${name}.tar.gz";
sha256 = "17ij2acy28ryxahiq64lpf71d5z3sa9xhr4pjv7a1v81189i0j82";
};
buildInputs = [ pkgs.openssl self.pretend self.cryptography_vectors
self.iso8601 self.pyasn1 self.pytest ];
propagatedBuildInputs = [ self.six ] ++ optional (!isPyPy) self.cffi;
};
cryptography_vectors = buildPythonPackage rec {
name = "cryptography_vectors-0.6.1";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/c/cryptography-vectors/${name}.tar.gz";
sha256 = "1ks1xdb1ff74qmjdzqcfvkrwsbnwpsjgg3cy18zh37p8985cvl3r";
};
};
pkginfo = buildPythonPackage rec {
version = "1.2.1";
name = "pkginfo-${version}";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/pkginfo/${name}.tar.gz";
sha256 = "0g0g6avplfqw1adzqybbrh1a2z0kfjl8qn3annkrc7w3ibz6sgxd";
};
doCheck = false; # I don't know why, but with doCheck = true it fails.
meta = {
homepage = https://pypi.python.org/pypi/pkginfo;
license = licenses.mit;
description = "Query metadatdata from sdists / bdists / installed packages.";
longDescription = ''
This package provides an API for querying the distutils metadata
written in the PKG-INFO file inside a source distriubtion (an sdist)
or a binary distribution (e.g., created by running bdist_egg). It can
also query the EGG-INFO directory of an installed distribution, and the
*.egg-info stored in a “development checkout” (e.g, created by running
setup.py develop).
'';
};
};
pretend = buildPythonPackage rec {
name = "pretend-1.0.8";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/pretend/pretend-1.0.8.tar.gz";
sha256 = "0r5r7ygz9m6d2bklflbl84cqhjkc2q12xgis8268ygjh30g2q3wk";
};
meta = {
homepage = https://github.com/alex/pretend;
license = licenses.bsd3;
};
};
detox = self.buildPythonPackage rec {
name = "detox-0.9.3";
propagatedBuildInputs = with self; [ tox py eventlet ];
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/d/detox/detox-0.9.3.tar.gz";
md5 = "b52588ec61cd4c2d33e419677a5eac8c";
};
meta = {
description = "What is detox?";
homepage = http://bitbucket.org/hpk42/detox;
};
};
pbkdf2 = buildPythonPackage rec {
name = "pbkdf2-1.3";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/p/pbkdf2/${name}.tar.gz";
md5 = "40cda566f61420490206597243dd869f";
};
# ImportError: No module named test
doCheck = false;
meta = {
maintainers = with maintainers; [ iElectric ];
};
};
bcrypt = buildPythonPackage rec {
name = "bcrypt-1.0.2";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/b/bcrypt/${name}.tar.gz";
md5 = "c5df008669d17dd6eeb5e2042d5e136f";
};
buildInputs = with self; [ pycparser mock pytest py ] ++ optionals (!isPyPy) [ cffi ];
meta = {
maintainers = with maintainers; [ iElectric ];
};
};
cffi = buildPythonPackage rec {
name = "cffi-1.1.2";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/c/cffi/${name}.tar.gz";
md5 = "ca6e6c45b45caa87aee9adc7c796eaea";
};
propagatedBuildInputs = with self; [ pkgs.libffi pycparser ];
meta = {
maintainers = with maintainers; [ iElectric ];
};
};
pycollada = buildPythonPackage rec {
name = "pycollada-0.4.1";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/p/pycollada/${name}.tar.gz";
sha256 = "0i50lh98550pwr95zgzrgiqzsspm09wl52xlv83y5nrsz4mblylv";
};
# pycollada-0.4 needs python-dateutil==1.5
buildInputs = with self; [ dateutil_1_5 numpy ];
# Some tests fail because they refer to test data files that don't exist
# (upstream packaging issue)
doCheck = false;
meta = {
description = "Python library for reading and writing collada documents";
homepage = http://pycollada.github.io/;
license = "BSD"; # they don't specify which BSD variant
platforms = with platforms; linux ++ darwin;
maintainers = with maintainers; [ bjornfor ];
};
};
pycparser = buildPythonPackage rec {
name = "pycparser-2.10";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/p/pycparser/${name}.tar.gz";
md5 = "d87aed98c8a9f386aa56d365fe4d515f";
};
# ImportError: No module named test
doCheck = false;
meta = {
maintainers = with maintainers; [ iElectric ];
};
};
pytest = buildPythonPackage rec {
name = "pytest-2.6.2";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/p/pytest/${name}.tar.gz";
md5 = "0a1735fb1d481ef3864f34678607ba85";
};
preCheck = ''
# don't test bash builtins
rm testing/test_argcomplete.py
'';
propagatedBuildInputs = with self; [ py ]
++ (optional isPy26 argparse)
++ stdenv.lib.optional
pkgs.config.pythonPackages.pytest.selenium or false
self.selenium;
meta = {
maintainers = with maintainers; [ iElectric lovek323 madjar ];
platforms = platforms.unix;
};
};
pytestcache = buildPythonPackage rec {
name = "pytest-cache-1.0";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/pytest-cache/pytest-cache-1.0.tar.gz";
sha256 = "1a873fihw4rhshc722j4h6j7g3nj7xpgsna9hhg3zn6ksknnhx5y";
};
propagatedBuildInputs = with self ; [ pytest execnet ];
meta = {
license = licenses.mit;
website = "https://pypi.python.org/pypi/pytest-cache/";
description = "pytest plugin with mechanisms for caching across test runs";
};
};
pytestflakes = buildPythonPackage rec {
name = "pytset-flakes-0.2";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/pytest-flakes/pytest-flakes-0.2.zip";
sha256 = "0n4mc2kaqasxmj8jid7jlss7nwgz4qgglcwdyrqvh08dilnp354i";
};
propagatedBuildInputs = with self ; [ pytest pyflakes pytestcache ];
meta = {
license = licenses.mit;
website = "https://pypi.python.org/pypi/pytest-flakes";
description = "pytest plugin to check source code with pyflakes";
};
};
pytestpep8 = buildPythonPackage rec {
name = "pytest-pep8";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/p/pytest-pep8/pytest-pep8-1.0.6.tar.gz";
sha256 = "06032agzhw1i9d9qlhfblnl3dw5hcyxhagn7b120zhrszbjzfbh3";
};
propagatedBuildInputs = with self ; [ pytest pytestcache pep8 ];
meta = {
license = licenses.mit;
website = "https://pypi.python.org/pypi/pytest-pep8";
description = "pytest plugin to check PEP8 requirements";
};
};
pytestpep257 = buildPythonPackage rec {
name = "pytest-pep257-${version}";
version = "0.0.1";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/pytest-pep257/${name}.tar.gz";
sha256 = "003vdkxpx37n0kjqpwgj3314hwk2jfz3nz58db7xh68bf8xy75lk";
};
propagatedBuildInputs = with self ; [ pytest pep257 ];
meta = {
homepage = https://github.com/anderslime/pytest-pep257;
description = "py.test plugin for PEP257";
license = licenses.mit;
};
};
pytestquickcheck = buildPythonPackage rec {
name = "pytest-quickcheck-0.8.2";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/pytest-quickcheck/pytest-quickcheck-0.8.2.tar.gz";
sha256 = "047w4zwdsnlzmsc5f3rapzbzd2frlvz9nnp8v4b48fjmqmxassh3";
};
propagatedBuildInputs = with self ; [ pytest pytestflakes pytestpep8 tox ];
meta = {
license = licenses.asl20;
website = "https://pypi.python.org/pypi/pytest-quickcheck";
description = "pytest plugin to generate random data inspired by QuickCheck";
};
};
pytestcov = buildPythonPackage (rec {
name = "pytest-cov-1.8.1";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/pytest-cov/${name}.tar.gz";
md5 = "76c778afa2494088270348be42d759fc";
};
buildInputs = with self; [ covCore pytest ];
meta = {
description = "py.test plugin for coverage reporting with support for both centralised and distributed testing, including subprocesses and multiprocessing";
homepage = https://github.com/schlamar/pytest-cov;
license = licenses.mit;
};
});
pytest_xdist = buildPythonPackage rec {
name = "pytest-xdist-1.8";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.8.zip";
md5 = "9c0b8efe9d43b460f8cf049fa46ce14d";
};
buildInputs = with self; [ pytest ];
propagatedBuildInputs = with self; [ execnet ];
meta = {
description = "py.test xdist plugin for distributed testing and loop-on-failing modes";
homepage = http://bitbucket.org/hpk42/pytest-xdist;
};
};
cssselect = buildPythonPackage rec {
name = "cssselect-0.7.1";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/c/cssselect/cssselect-0.7.1.tar.gz";
md5 = "c6c5e9a2e7ca226ce03f6f67a771379c";
};
# AttributeError: 'module' object has no attribute 'tests'
doCheck = false;
};
cssutils = buildPythonPackage (rec {
name = "cssutils-0.9.9";
src = pkgs.fetchurl {
url = http://pypi.python.org/packages/source/c/cssutils/cssutils-0.9.9.zip;
sha256 = "139yfm9yz9k33kgqw4khsljs10rkhhxyywbq9i82bh2r31cil1pp";
};
buildInputs = with self; [ self.mock ];
# couple of failing tests
doCheck = false;
meta = {
description = "A Python package to parse and build CSS";
homepage = http://code.google.com/p/cssutils/;
license = licenses.lgpl3Plus;
};
});
darcsver = buildPythonPackage (rec {
name = "darcsver-1.7.4";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/d/darcsver/${name}.tar.gz";
sha256 = "1yb1c3jxqvy4r3qiwvnb86qi5plw6018h15r3yk5ji3nk54qdcb6";
};
buildInputs = with self; [ self.mock ];
# 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.
# AttributeError: 'module' object has no attribute 'test_darcsver'
doCheck = false;
meta = {
description = "Darcsver, generate a version number from Darcs history";
homepage = http://pypi.python.org/pypi/darcsver;
license = "BSD-style";
};
});
datashape = buildPythonPackage rec {
name = "datashape-${version}";
version = "0.4.6";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/D/DataShape/${name}.tar.gz";
sha256 = "0caa86a4347f1b0c45f3890d78d0b89662189c7dd6df3a8e5ff3532ae8bc434f";
};
propagatedBuildInputs = with self; [ numpy multipledispatch dateutil ];
meta = {
homepage = https://github.com/ContinuumIO/datashape;
description = "A data description language";
license = licenses.bsd2;
};
};
dateutil = buildPythonPackage (rec {
name = "dateutil-2.2";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/p/python-dateutil/python-${name}.tar.gz";
sha256 = "0s74ad6r789810s10dxgvaf48ni6adac2icrdad34zxygqq6bj7f";
};
propagatedBuildInputs = with self; [ self.six ];
meta = {
description = "Powerful extensions to the standard datetime module";
homepage = http://pypi.python.org/pypi/python-dateutil;
license = "BSD-style";
};
});
# Buildbot 0.8.7p1 needs dateutil==1.5
dateutil_1_5 = buildPythonPackage (rec {
name = "dateutil-1.5";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/p/python-dateutil/python-${name}.tar.gz";
sha256 = "02dhw57jf5kjcp7ng1if7vdrbnlpb9yjmz7wygwwvf3gni4766bg";
};
propagatedBuildInputs = with self; [ self.six ];
meta = {
description = "Powerful extensions to the standard datetime module";
homepage = http://pypi.python.org/pypi/python-dateutil;
license = "BSD-style";
};
});
# flexget requires 2.1
dateutil_2_1 = buildPythonPackage (rec {
name = "dateutil-2.1";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/p/python-dateutil/python-${name}.tar.gz";
sha256 = "1vlx0lpsxjxz64pz87csx800cwfqznjyr2y7nk3vhmzhkwzyqi2c";
};
propagatedBuildInputs = with self; [ self.six ];
buildInputs = [ pkgs.glibcLocales ];
preBuild = ''
export LC_ALL="en_US.UTF-8"
'';
meta = {
description = "Powerful extensions to the standard datetime module";
homepage = http://pypi.python.org/pypi/python-dateutil;
license = "BSD-style";
};
});
ddar = buildPythonPackage {
name = "ddar-1.0";
src = pkgs.fetchurl {
url = "https://github.com/basak/ddar/archive/v1.0.tar.gz";
sha256 = "08lv7hrbhcv6hbl01sx8fgx3l8s2nn8rvcicdidafwm87bvi2nmr";
};
preBuild = ''
make -f Makefile.prep synctus/ddar_pb2.py
'';
propagatedBuildInputs = with self; [ protobuf modules.sqlite3 ];
meta = {
description = "Unix de-duplicating archiver";
license = licenses.gpl3;
homepage = https://github.com/basak/ddar;
};
};
decorator = buildPythonPackage rec {
name = "decorator-${version}";
version = "3.4.2";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/d/decorator/${name}.tar.gz";
sha256 = "7320002ce61dea6aa24adc945d9d7831b3669553158905cdd12f5d0027b54b44";
};
meta = {
homepage = http://pypi.python.org/pypi/decorator;
description = "Better living through Python with decorators";
license = licenses.mit;
};
};
deform = buildPythonPackage rec {
name = "deform-2.0a2";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/d/deform/${name}.tar.gz";
md5 = "7a90d41f7fbc18002ce74f39bd90a5e4";
};
buildInputs = with self; [] ++ optional isPy26 unittest2;
propagatedBuildInputs =
[ self.beautifulsoup4
self.peppercorn
self.colander
self.translationstring
self.chameleon
self.zope_deprecation
self.coverage
self.nose
];
meta = {
maintainers = with maintainers; [ garbas iElectric ];
platforms = platforms.all;
};
};
deform2 = buildPythonPackage rec {
name = "deform-2.0a2";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/d/deform/${name}.tar.gz";
sha256 = "1gfaf1d8zp0mp4h229srlffxdp86w1nni9g4aqsshxysr23x591z";
};
buildInputs = with self; [] ++ optional isPy26 unittest2;
propagatedBuildInputs =
[ self.beautifulsoup4
self.peppercorn
self.colander
self.translationstring
self.chameleon
self.zope_deprecation
self.coverage
self.nose
];
meta = {
maintainers = with maintainers; [ garbas iElectric ];
platforms = platforms.all;
};
};
deform_bootstrap = buildPythonPackage rec {
name = "deform_bootstrap-0.2.9";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/d/deform_bootstrap/${name}.tar.gz";
sha256 = "1hgq3vqsfqdmlyahnlc40w13viawhpzqf4jzigsggdb41x545fda";
};
propagatedBuildInputs = with self; [ deform ];
meta = {
maintainers = with maintainers; [ iElectric ];
platforms = platforms.all;
};
};
demjson = buildPythonPackage rec {
name = "demjson-1.6";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/d/demjson/${name}.tar.gz";
sha256 = "0abf7wqqq7rk1sycy47ayn5p93yy7gjq50cb2z69wmik1qqrr60x";
};
doCheck = false; # there are no tests
preFixup = ''
mkdir -p "$out/bin"
cp jsonlint "$out/bin/"
'';
meta = {
description = "Encoder/decoder and lint/validator for JSON (JavaScript Object Notation)";
homepage = http://deron.meranda.us/python/demjson/;
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ bjornfor ];
platforms = platforms.all;
};
};
derpconf = self.buildPythonPackage rec {
name = "derpconf-0.4.9";
propagatedBuildInputs = with self; [ six ];
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/d/derpconf/${name}.tar.gz";
md5 = "a164807d7bf0c4adf1de781305f29b82";
};
meta = {
description = "derpconf abstracts loading configuration files for your app";
homepage = https://github.com/globocom/derpconf;
license = licenses.mit;
};
};
discogs_client = buildPythonPackage rec {
name = "discogs-client-2.0.2";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/d/discogs-client/${name}.tar.gz";
md5 = "2cc57e1d134aa93404e779b9311676fa";
};
propagatedBuildInputs = with self; [ oauth2 requests ];
meta = {
description = "Official Python API client for Discogs";
license = licenses.bsd2;
homepage = "https://github.com/discogs/discogs_client";
};
};
dns = buildPythonPackage rec {
name = "dnspython-${version}";
version = "1.12.0";
src = pkgs.fetchurl {
url = "http://www.dnspython.org/kits/1.12.0/dnspython-1.12.0.tar.gz";
sha256 = "0kvjlkp96qzh3j31szpjlzqbp02brixh4j4clnpw80b0hspq5yq3";
};
};
dnspython3 = buildPythonPackage rec {
name = "dnspython3-${version}";
version = "1.12.0";
disabled = (!isPy3k);
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/d/dnspython3/${name}.zip";
sha256 = "138wxj702vx6zni9g2y8dbgbpin95v6hk23rh2kwfr3q4130jqz9";
};
meta = {
description = "A DNS toolkit for Python 3.x";
homepage = http://www.dnspython.org;
# BSD-like, check http://www.dnspython.org/LICENSE for details
license = licenses.free;
};
};
docker = buildPythonPackage rec {
name = "docker-py-1.1.0";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/d/docker-py/${name}.tar.gz";
md5 = "b44f34530a21ed1129887f9a8b01ecec";
};
propagatedBuildInputs = with self; [ six requests websocket_client ];
# Version conflict
doCheck = false;
meta = {
description = "An API client for docker written in Python";
homepage = https://github.com/docker/docker-py;
license = licenses.asl20;
};
};
dockerpty = buildPythonPackage rec {
name = "dockerpty-0.3.2";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/d/dockerpty/${name}.tar.gz";
md5 = "1f97b24d2f4b2c345f176f91655002dd";
};
meta = {
description = "Functionality needed to operate the pseudo-tty (PTY) allocated to a docker container";
homepage = https://github.com/d11wtq/dockerpty;
license = licenses.asl20;
};
};
docker_registry_core = buildPythonPackage rec {
name = "docker-registry-core-2.0.3";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/d/docker-registry-core/${name}.tar.gz";
md5 = "610ef9395f2e9a2f91c68d13325fce7b";
};
DEPS = "loose";
doCheck = false;
propagatedBuildInputs = with self; [
boto redis setuptools simplejson
];
patchPhase = "> requirements/main.txt";
meta = {
description = "Docker registry core package";
homepage = https://github.com/docker/docker-registry;
license = licenses.asl20;
};
};
docker_registry = buildPythonPackage rec {
name = "docker-registry-0.9.1";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/d/docker-registry/${name}.tar.gz";
sha256 = "1svm1h59sg4bwj5cy10m016gj0xpiin15nrz5z66h47sbkndvlw3";
};
DEPS = "loose";
doCheck = false; # requires redis server
propagatedBuildInputs = with self; [
setuptools docker_registry_core blinker flask gevent gunicorn pyyaml
requests2 rsa sqlalchemy9 setuptools backports_lzma pyasn1 m2crypto
];
patchPhase = "> requirements/main.txt";
# Default config uses needed env variables
postInstall = ''
ln -s $out/lib/python2.7/site-packages/config/config_sample.yml $out/lib/python2.7/site-packages/config/config.yml
'';
meta = {
description = "Docker registry core package";
homepage = https://github.com/docker/docker-registry;
license = licenses.asl20;
};
};
docopt = buildPythonPackage rec {
name = "docopt-0.6.2";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/d/docopt/${name}.tar.gz";
md5 = "4bc74561b37fad5d3e7d037f82a4c3b1";
};
meta = {
description = "Pythonic argument parser, that will make you smile";
homepage = http://docopt.org/;
license = licenses.mit;
};
};
dogpile_cache = buildPythonPackage rec {
name = "dogpile.cache-0.5.4";
propagatedBuildInputs = with self; [ dogpile_core ];
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/d/dogpile.cache/dogpile.cache-0.5.4.tar.gz";
md5 = "513b77ba1bd0c31bb15dd9dd0d8471af";
};
doCheck = false;
meta = {
description = "A caching front-end based on the Dogpile lock";
homepage = http://bitbucket.org/zzzeek/dogpile.cache;
license = licenses.bsd3;
};
};
dogpile_core = buildPythonPackage rec {
name = "dogpile.core-0.4.1";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/d/dogpile.core/dogpile.core-0.4.1.tar.gz";
md5 = "01cb19f52bba3e95c9b560f39341f045";
};
doCheck = false;
meta = {
description = "A 'dogpile' lock, typically used as a component of a larger caching solution";
homepage = http://bitbucket.org/zzzeek/dogpile.core;
license = licenses.bsd3;
};
};
dotfiles = buildPythonPackage rec {
name = "dotfiles-0.6.3";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/d/dotfiles/${name}.tar.gz";
md5 = "95a0792eb92a8fc0db8a7e59389470fe";
};
doCheck = true;
meta = {
description = "Easily manage your dotfiles";
homepage = https://github.com/jbernard/dotfiles;
license = licenses.isc;
};
};
dpkt = buildPythonPackage rec {
name = "dpkt-1.8";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "https://dpkt.googlecode.com/files/${name}.tar.gz";
sha256 = "01q5prynymaqyfsfi2296xncicdpid2hs3yyasim8iigvkwy4vf5";
};
# error: invalid command 'test'
doCheck = false;
meta = {
description = "Fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols";
homepage = https://code.google.com/p/dpkt/;
license = licenses.bsd3;
maintainers = with maintainers; [ bjornfor ];
platforms = platforms.all;
};
};
urllib3 = buildPythonPackage rec {
name = "urllib3-1.8";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/u/urllib3/${name}.tar.gz";
sha256 = "0pdigfxkq8mhzxxsn6isx8c4h9azqywr1k18yanwyxyj8cdzm28s";
};
preConfigure = ''
substituteInPlace test-requirements.txt --replace 'nose==1.3' 'nose'
'';
checkPhase = ''
nosetests --cover-min-percentage 70
'';
buildInputs = with self; [ coverage tornado mock nose ];
meta = {
description = "A Python library for Dropbox's HTTP-based Core and Datastore APIs";
homepage = https://www.dropbox.com/developers/core/docs;
license = licenses.mit;
};
};
dropbox = buildPythonPackage rec {
name = "dropbox-2.2.0";
doCheck = false; # python 2.7.9 does verify ssl certificates
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/d/dropbox/${name}.zip";
sha256 = "069jrwb67brqh0sics8fgqdf2mv5y5jl9k5729x8vf80pq2c9p36";
};
propagatedBuildInputs = with self; [ urllib3 mock setuptools ];
meta = {
description = "A Python library for Dropbox's HTTP-based Core and Datastore APIs";
homepage = https://www.dropbox.com/developers/core/docs;
license = licenses.mit;
};
};
elasticsearch = buildPythonPackage (rec {
name = "elasticsearch-1.6.0";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/e/elasticsearch/${name}.tar.gz";
sha256 = "1b0b5d1qp77r83r130kb2ikhd6am0d1389rdcllr1xsajrp5kj4h";
};
# Check is disabled because running them destroy the content of the local cluster!
# https://github.com/elasticsearch/elasticsearch-py/tree/master/test_elasticsearch
doCheck = false;
meta = {
description = "Official low-level client for Elasticsearch";
homepage = https://github.com/elasticsearch/elasticsearch-py;
license = licenses.asl20;
};
});
elasticsearchdsl = buildPythonPackage (rec {
name = "elasticsearch-dsl-0.0.4";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/e/elasticsearch-dsl/${name}.tar.gz";