2009-05-24 23:08:39 +02:00
|
|
|
{ pkgs }:
|
|
|
|
|
|
|
|
rec {
|
|
|
|
inherit (pkgs) buildPythonPackage fetchurl fetchsvn stdenv python;
|
|
|
|
|
2009-06-28 15:21:37 +02:00
|
|
|
argparse = buildPythonPackage (rec {
|
|
|
|
name = "argparse-0.9.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/a/argparse/${name}.zip";
|
|
|
|
sha256 = "00jw32wwccpf9smraywjk869b93w7f99rw8gi63yfhw6379fnq6m";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.unzip ];
|
|
|
|
|
|
|
|
# How do we run the tests?
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2009-06-28 15:43:40 +02:00
|
|
|
darcsver = buildPythonPackage (rec {
|
|
|
|
name = "darcsver-1.3.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/d/darcsver/${name}.tar.gz";
|
|
|
|
sha256 = "1a5cl2yhnd88a4vkc9r381cbjkcvga87dp9zx5av68857q1nvvvq";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.darcs ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Darcsver, generate a version number from Darcs history";
|
|
|
|
|
|
|
|
homepage = http://pypi.python.org/pypi/darcsver;
|
|
|
|
|
|
|
|
license = "BSD-style";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2009-05-24 23:33:53 +02:00
|
|
|
foolscap = buildPythonPackage (rec {
|
2009-07-03 19:11:09 +02:00
|
|
|
name = "foolscap-0.4.2";
|
2009-05-24 23:33:53 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://foolscap.lothar.com/releases/${name}.tar.gz";
|
2009-07-03 19:11:09 +02:00
|
|
|
sha256 = "14g89kjxxci3ssl9jgvpkyrcq62g361aw8pamlkclk8nnrh4f776";
|
2009-05-24 23:33:53 +02:00
|
|
|
};
|
|
|
|
|
2009-05-25 00:15:26 +02:00
|
|
|
propagatedBuildInputs = [ twisted pkgs.pyopenssl ];
|
2009-05-24 23:33:53 +02: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";
|
2009-07-03 19:11:09 +02:00
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
2009-10-13 11:39:27 +02:00
|
|
|
platforms = python.meta.platforms;
|
2009-05-24 23:33:53 +02:00
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2009-08-30 15:43:35 +02:00
|
|
|
genshi = buildPythonPackage {
|
|
|
|
name = "genshi-0.5.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://ftp.edgewall.com/pub/genshi/Genshi-0.5.1.tar.bz2;
|
|
|
|
sha256 = "1g2xw3zvgz59ilv7mrdlnvfl6ph8lwflwd4jr6zwrca2zhj7d8rs";
|
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2009-12-14 14:26:40 +01:00
|
|
|
jinja2 = buildPythonPackage {
|
|
|
|
name = "jinja2-2.2.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.2.1.tar.gz";
|
|
|
|
md5 = "fea849d68891218eb0b21c170f1c32d5";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://jinja.pocoo.org/;
|
2009-12-14 16:03:49 +01:00
|
|
|
description = "Stand-alone template engine";
|
2009-12-14 14:26:40 +01:00
|
|
|
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.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2009-10-18 06:43:40 +02: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";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2009-12-14 14:26:40 +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.
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://namebench.googlecode.com/;
|
2009-12-14 16:03:49 +01:00
|
|
|
description = "Find fastest DNS servers available";
|
2009-12-14 14:26:40 +01:00
|
|
|
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.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2009-05-24 23:08:39 +02:00
|
|
|
nevow = buildPythonPackage (rec {
|
|
|
|
name = "nevow-0.9.33";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://divmod.org/trac/attachment/wiki/SoftwareReleases/Nevow-0.9.33.tar.gz?format=raw";
|
|
|
|
sha256 = "1b6zhfxx247b60n1qi2hrawhiaah88v8igg37pf7rjkmvy2z1c6c";
|
|
|
|
name = "${name}.tar.gz";
|
|
|
|
};
|
|
|
|
|
2009-05-25 00:15:26 +02:00
|
|
|
propagatedBuildInputs = [ twisted ];
|
2009-05-24 23:08:39 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Nevow, a web application construction kit for Python";
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = http://divmod.org/trac/wiki/DivmodNevow;
|
|
|
|
|
|
|
|
license = "BSD-style";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2009-07-19 14:32:25 +02: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 ];
|
2009-10-13 11:39:27 +02:00
|
|
|
platforms = python.meta.platforms;
|
2009-07-19 14:32:25 +02:00
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2009-08-30 15:43:35 +02:00
|
|
|
psycopg2 = buildPythonPackage {
|
|
|
|
name = "psycopg2-r407";
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://initd.org/pub/software/psycopg/psycopg2-r407.tar.gz;
|
|
|
|
sha256 = "b80bf2f106fc6dbd3d3c512e61baca0b44fa80b975e554982cc9e793c085cc86";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pkgs.postgresql ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "PostgreSQL database adapter for the Python programming language.";
|
|
|
|
|
|
|
|
license = "GPLv2/ZPL";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2009-06-28 15:43:40 +02:00
|
|
|
pycryptopp = buildPythonPackage (rec {
|
2009-08-11 09:55:18 +02:00
|
|
|
name = "pycryptopp-0.5.15";
|
2009-06-28 15:43:40 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pycryptopp/${name}.tar.gz";
|
2009-08-11 09:55:18 +02:00
|
|
|
sha256 = "0f8v3cs8vjpj423yx3ikj7qjvljrm86x0qpkckidv69kah8kndxa";
|
2009-06-28 15:43:40 +02:00
|
|
|
};
|
|
|
|
|
2009-08-11 09:55:18 +02:00
|
|
|
# Use our own copy of Crypto++.
|
|
|
|
preConfigure = "export PYCRYPTOPP_DISABLE_EMBEDDED_CRYPTOPP=1";
|
|
|
|
|
2009-06-28 15:43:40 +02:00
|
|
|
buildInputs = [ setuptoolsDarcs darcsver pkgs.cryptopp ];
|
|
|
|
|
|
|
|
meta = {
|
2009-08-11 09:55:18 +02:00
|
|
|
homepage = http://allmydata.org/trac/pycryptopp;
|
2009-06-28 15:43:40 +02:00
|
|
|
|
|
|
|
description = "Python wrappers for the Crypto++ library";
|
|
|
|
|
|
|
|
license = "GPLv2+";
|
2009-08-11 09:55:18 +02:00
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
2009-10-13 11:39:27 +02:00
|
|
|
platforms = python.meta.platforms;
|
2009-06-28 15:43:40 +02:00
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2009-07-08 00:30:29 +02:00
|
|
|
pysqlite = buildPythonPackage (rec {
|
|
|
|
name = "pysqlite-2.5.5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2009-11-08 00:27:33 +01:00
|
|
|
url = "http://pysqlite.googlecode.com/files/${name}.tar.gz";
|
|
|
|
sha256 = "ef7ca7f44893790e1a7084b10ea083770e138689406fddc7076d12d6bff4d44f";
|
2009-07-08 00:30:29 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
# 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"
|
|
|
|
'';
|
|
|
|
|
|
|
|
# FIXME: How do we run the tests?
|
|
|
|
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 ];
|
2009-10-13 11:39:27 +02:00
|
|
|
platforms = python.meta.platforms;
|
2009-07-08 00:30:29 +02:00
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2009-05-25 00:15:26 +02:00
|
|
|
pyutil = buildPythonPackage (rec {
|
|
|
|
name = "pyutil-1.3.30";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pyutil/${name}.tar.gz";
|
|
|
|
sha256 = "1ksb4gn8x53wcyddmjv1ma8cvvhjlmfxc6kpszyhb838i7xzla19";
|
|
|
|
};
|
|
|
|
|
2009-06-28 15:19:44 +02:00
|
|
|
buildInputs = [ setuptoolsDarcs ];
|
|
|
|
propagatedBuildInputs = [ zbase32 argparse ];
|
2009-05-25 00:15:26 +02: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+";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2009-05-24 23:55:39 +02:00
|
|
|
setuptoolsDarcs = buildPythonPackage {
|
|
|
|
name = "setuptools-darcs-1.2.8";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/s/setuptools_darcs/setuptools_darcs-1.2.8.tar.gz";
|
|
|
|
sha256 = "0jg9q9mhsky444mm7lpmmlxai8hmjg4pc71viv4kni8gls0gk9n8";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pkgs.darcs ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "setuptools plugin for the Darcs version control system";
|
|
|
|
|
|
|
|
homepage = http://allmydata.org/trac/setuptools_darcs;
|
|
|
|
|
|
|
|
license = "BSD";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2009-05-24 23:08:39 +02:00
|
|
|
simplejson = buildPythonPackage (rec {
|
|
|
|
name = "simplejson-2.0.9";
|
|
|
|
|
|
|
|
src = fetchsvn {
|
|
|
|
url = "http://simplejson.googlecode.com/svn/tags/${name}";
|
|
|
|
sha256 = "a48d5256fdb4f258c33da3dda110ecf3c786f086dcb08a01309acde6d1ddb921";
|
|
|
|
rev = "172"; # to be on the safe side
|
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2009-08-30 15:43:35 +02:00
|
|
|
trac = buildPythonPackage {
|
|
|
|
name = "trac-0.11.5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://ftp.edgewall.com/pub/trac/Trac-0.11.5.tar.gz;
|
|
|
|
sha256 = "cc3362ecc533abc1755dd78e2d096d1413bc975abc3185318f4821458cd6a8ac";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
PYTHON_EGG_CACHE = "`pwd`/.egg-cache";
|
|
|
|
|
2009-08-30 19:28:26 +02:00
|
|
|
propagatedBuildInputs = [ genshi pkgs.setuptools ];
|
2009-08-30 15:43:35 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Enhanced wiki and issue tracking system for software development projects";
|
|
|
|
|
|
|
|
license = "BSD";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2009-05-24 23:25:29 +02:00
|
|
|
twisted = buildPythonPackage {
|
2009-07-04 23:33:52 +02:00
|
|
|
name = "twisted-8.2.0";
|
2009-05-24 23:25:29 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-07-04 23:33:52 +02:00
|
|
|
url = http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/Twisted-8.2.0.tar.bz2;
|
|
|
|
sha256 = "1c6zplisjdnjzkfs0ld3a0f7m7xbjgx5rcwsdw5i1xiibsq2nq70";
|
2009-05-24 23:25:29 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pkgs.ZopeInterface ];
|
|
|
|
|
|
|
|
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";
|
2009-07-04 23:33:52 +02:00
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
2009-10-13 11:39:27 +02:00
|
|
|
platforms = python.meta.platforms;
|
2009-05-24 23:25:29 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2009-05-25 00:15:26 +02:00
|
|
|
zbase32 = buildPythonPackage (rec {
|
|
|
|
name = "zbase32-1.1.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zbase32/${name}.tar.gz";
|
|
|
|
sha256 = "0n59l4rs26vrhxpsfrwybjjir68aj23f09k1yjnbxqy5n0khp8gm";
|
|
|
|
};
|
|
|
|
|
|
|
|
# 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";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2009-06-28 15:19:44 +02:00
|
|
|
zfec = buildPythonPackage (rec {
|
|
|
|
name = "zfec-1.4.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zfec/${name}.tar.gz";
|
|
|
|
sha256 = "0rgg7nsvbr4f9xmiclzypc39fnivg23kldv5aa8si0bgsxn6mh6w";
|
|
|
|
};
|
|
|
|
|
|
|
|
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+";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2009-05-24 23:08:39 +02:00
|
|
|
}
|