2011-03-29 16:02:15 +01:00
|
|
|
{ pkgs, python }:
|
2010-04-21 11:51:15 +01:00
|
|
|
|
2011-03-28 10:48:57 +01:00
|
|
|
python.modules // rec {
|
|
|
|
|
2011-03-29 16:02:15 +01:00
|
|
|
inherit python;
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
inherit (pkgs) fetchurl fetchsvn stdenv;
|
|
|
|
|
2011-03-28 10:48:57 +01:00
|
|
|
inherit (python.modules) ssl;
|
2011-03-29 16:02:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
buildPythonPackage = import ../development/python-modules/generic {
|
2011-03-29 16:19:59 +01:00
|
|
|
inherit (pkgs) lib;
|
|
|
|
inherit python wrapPython setuptools;
|
2011-03-29 16:02:15 +01:00
|
|
|
};
|
|
|
|
|
2011-03-28 10:48:57 +01:00
|
|
|
|
2011-03-29 16:02:15 +01:00
|
|
|
setuptools = import ../development/python-modules/setuptools {
|
2011-03-29 16:19:59 +01:00
|
|
|
inherit (pkgs) stdenv fetchurl;
|
|
|
|
inherit python wrapPython;
|
2011-03-29 16:02:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2011-03-29 16:19:59 +01:00
|
|
|
wrapPython = pkgs.makeSetupHook
|
|
|
|
{ deps = pkgs.makeWrapper;
|
|
|
|
substitutions.libPrefix = python.libPrefix;
|
|
|
|
}
|
|
|
|
../development/python-modules/generic/wrap.sh;
|
|
|
|
|
2011-03-28 10:48:57 +01:00
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
argparse = buildPythonPackage (rec {
|
2010-07-28 00:51:42 +01:00
|
|
|
name = "argparse-1.1";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/a/argparse/${name}.zip";
|
2010-07-28 00:51:42 +01:00
|
|
|
sha256 = "ee6da1aaad8b08a74a33eb82264b1a2bf12a7d5aefc7e9d7d40a8f8fa9912e62";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
beautifulsoap = buildPythonPackage (rec {
|
|
|
|
name = "beautifulsoap-3.0.8";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.crummy.com/software/BeautifulSoup/download/3.x/BeautifulSoup-3.0.8.tar.gz";
|
|
|
|
sha256 = "1gasiy5lwbhsxw27g36d88n36xbj52434klisvqhljgckd4xqcy7";
|
|
|
|
};
|
|
|
|
|
|
|
|
# No tests implemented
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.crummy.com/software/BeautifulSoup/;
|
|
|
|
|
|
|
|
license = "bsd";
|
|
|
|
|
|
|
|
description = "Undemanding HTML/XML parser";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
boto = buildPythonPackage (rec {
|
|
|
|
name = "boto-1.9b";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://boto.googlecode.com/files/${name}.tar.gz";
|
|
|
|
sha256 = "0kir3ddm79rxdf7wb5czmxpbnqzgj3j966q4mach29kkb98p48wz";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://code.google.com/p/boto/;
|
|
|
|
|
|
|
|
license = "bsd";
|
|
|
|
|
|
|
|
description = "Python interface to Amazon Web Services";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
The boto module is an integrated interface to current and
|
|
|
|
future infrastructural services offered by Amazon Web
|
|
|
|
Services. This includes S3, SQS, EC2, among others.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2010-09-17 18:34:08 +01:00
|
|
|
cherrypy = buildPythonPackage (rec {
|
|
|
|
name = "cherrypy-3.1.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.cherrypy.org/cherrypy/3.1.2/CherryPy-3.1.2.tar.gz";
|
|
|
|
sha256 = "1xlvanhnxgvwd7vvypbafyl6yqfkpnwa9rs9k3058z84gd86bz8d";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://www.cherrypy.org";
|
|
|
|
description = "A pythonic, object-oriented HTTP framework";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
clientform = buildPythonPackage (rec {
|
|
|
|
name = "clientform-0.2.10";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/C/ClientForm/ClientForm-0.2.10.tar.gz";
|
|
|
|
sha256 = "0dydh3i1sx7rrj6d0gj375wkjpiivm7jjlsimw6hmwv4ck7yf1wm";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://wwwsearch.sourceforge.net/ClientForm/;
|
|
|
|
|
|
|
|
license = "bsd";
|
|
|
|
|
|
|
|
description = "Python module for handling HTML forms on the client side";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
cssutils = buildPythonPackage (rec {
|
2010-05-29 13:33:20 +01:00
|
|
|
name = "cssutils-0.9.7a6";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-05-29 13:33:20 +01:00
|
|
|
url = http://cssutils.googlecode.com/files/cssutils-0.9.7a6.zip;
|
|
|
|
sha256 = "1i5n97l20kn2w9v6x8ybcdnl323vy8lcc5qlxz5l89di36a2skgw";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.unzip ];
|
|
|
|
|
|
|
|
# The tests fail - I don't know why
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Python package to parse and build CSS";
|
|
|
|
|
|
|
|
homepage = http://code.google.com/p/cssutils/;
|
|
|
|
|
|
|
|
license = "LGPLv3+";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
darcsver = buildPythonPackage (rec {
|
2010-07-28 00:51:48 +01:00
|
|
|
name = "darcsver-1.5.1";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/d/darcsver/${name}.tar.gz";
|
2010-07-28 00:51:48 +01:00
|
|
|
sha256 = "e643d607f27e4b8cc96565432ff1abdc2af5e9061c70798e2f33e78c07b66b3a";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# Note: We don't actually need to provide Darcs as a build input.
|
|
|
|
# Darcsver will DTRT when Darcs isn't available. See news.gmane.org
|
|
|
|
# http://thread.gmane.org/gmane.comp.file-systems.tahoe.devel/3200 for a
|
|
|
|
# discussion.
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Darcsver, generate a version number from Darcs history";
|
|
|
|
|
|
|
|
homepage = http://pypi.python.org/pypi/darcsver;
|
|
|
|
|
|
|
|
license = "BSD-style";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
dateutil = buildPythonPackage (rec {
|
|
|
|
name = "dateutil-1.4.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/p/python-dateutil/python-${name}.tar.gz";
|
|
|
|
sha256 = "0mrkh932k8s74h4rpgksvpmwbrrkq8zn78gbgwc22i2vlp31bdkl";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Powerful extensions to the standard datetime module";
|
|
|
|
|
|
|
|
homepage = http://pypi.python.org/pypi/python-dateutil;
|
|
|
|
|
|
|
|
license = "BSD-style";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2011-02-21 17:26:19 +00:00
|
|
|
|
2011-02-21 21:49:20 +00:00
|
|
|
eventlet = buildPythonPackage rec {
|
|
|
|
name = "eventlet-0.9.14";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/e/eventlet/${name}.tar.gz";
|
|
|
|
md5 = "dfc96ed14b27392fdc529abcafeed880";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose httplib2 ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ greenlet ];
|
|
|
|
|
|
|
|
# It tries to scribble in ~/.python-eggs.
|
|
|
|
preConfigure = "export HOME=$(pwd)";
|
|
|
|
|
|
|
|
doCheck = false; # !!! fix; test requires ssl support in Python
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://pypi.python.org/pypi/eventlet/;
|
|
|
|
description = "A concurrent networking library for Python";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2010-10-04 10:49:09 +01:00
|
|
|
flup = buildPythonPackage (rec {
|
|
|
|
name = "flup-1.0.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.saddi.com/software/flup/dist/${name}.tar.gz";
|
|
|
|
sha256 = "1nbx174g40l1z3a8arw72qz05a1qxi3didp9wm7kvkn1bxx33bab";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://trac.saddi.com/flup";
|
|
|
|
description = "FastCGI Python module set";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
foolscap = buildPythonPackage (rec {
|
2010-07-28 00:51:56 +01:00
|
|
|
name = "foolscap-0.5.1";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://foolscap.lothar.com/releases/${name}.tar.gz";
|
2010-07-28 00:51:56 +01:00
|
|
|
sha256 = "c7dfb6f9331e05a8d9553730493b4740c7bf4b4cd68ba834061f0ca0d455492d";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ twisted pkgs.pyopenssl ];
|
|
|
|
|
|
|
|
# For some reason "python setup.py test" doesn't work with Python 2.6.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://foolscap.lothar.com/;
|
|
|
|
|
|
|
|
description = "Foolscap, an RPC protocol for Python that follows the distributed object-capability model";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
"Foolscap" is the name for the next-generation RPC protocol,
|
|
|
|
intended to replace Perspective Broker (part of Twisted).
|
|
|
|
Foolscap is a protocol to implement a distributed
|
|
|
|
object-capabilities model in Python.
|
|
|
|
'';
|
|
|
|
|
|
|
|
# See http://foolscap.lothar.com/trac/browser/LICENSE.
|
|
|
|
license = "MIT";
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
genshi = buildPythonPackage {
|
|
|
|
name = "genshi-0.5.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://ftp.edgewall.com/pub/genshi/Genshi-0.5.1.tar.bz2;
|
|
|
|
sha256 = "1g2xw3zvgz59ilv7mrdlnvfl6ph8lwflwd4jr6zwrca2zhj7d8rs";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches =
|
|
|
|
[ # Fix `make check' (http://bugs.gentoo.org/276299)
|
|
|
|
(fetchurl {
|
|
|
|
url = "http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/dev-python/genshi/files/genshi-0.5.1_test_fix.patch?rev=1.1";
|
|
|
|
sha256 = "019skkas07lc2kjy5br5jhhf9dqfy4fs389m5f4ws3fc62fklwhk";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.setuptools ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Python components for parsing HTML, XML and other textual content";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Python library that provides an integrated set of
|
|
|
|
components for parsing, generating, and processing HTML, XML or other
|
|
|
|
textual content for output generation on the web.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = "BSD";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-02-21 17:09:09 +00:00
|
|
|
|
2011-02-21 16:56:49 +00:00
|
|
|
gflags = buildPythonPackage rec {
|
|
|
|
name = "gflags-1.5.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://python-gflags.googlecode.com/files/python-${name}.tar.gz";
|
|
|
|
sha256 = "1p8blsc3z1wasi9dhbjij7m2czps17dll3cpj37v97fv5ww7al9v";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://code.google.com/p/python-gflags/;
|
|
|
|
description = "A module for command line handling, similar to Google's gflags for C++";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-02-21 17:09:09 +00:00
|
|
|
|
2011-02-21 17:26:19 +00:00
|
|
|
greenlet = buildPythonPackage rec {
|
|
|
|
name = "greenlet-0.3.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/g/greenlet/${name}.tar.gz";
|
|
|
|
md5 = "8d75d7f3f659e915e286e1b0fa0e1c4d";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://pypi.python.org/pypi/greenlet;
|
|
|
|
description = "Module for lightweight in-process concurrent programming";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
httplib2 = buildPythonPackage rec {
|
|
|
|
name = "httplib2-0.6.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://httplib2.googlecode.com/files/${name}.tar.gz";
|
|
|
|
sha256 = "134pldyxayc0x4akzzvkciz2kj1w2dsim1xvd9b1qrpmba70dpjq";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false; # doesn't have a test
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://code.google.com/p/httplib2/;
|
|
|
|
description = "A comprehensive HTTP client library";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2010-04-21 11:51:15 +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/;
|
|
|
|
description = "Stand-alone template engine";
|
|
|
|
license = "BSD";
|
|
|
|
longDescription = ''
|
|
|
|
Jinja2 is a template engine written in pure Python. It provides a
|
|
|
|
Django inspired non-XML syntax but supports inline expressions and
|
|
|
|
an optional sandboxed environment.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2010-08-23 11:17:30 +01:00
|
|
|
libcloud = buildPythonPackage (rec {
|
|
|
|
name = "libcloud-0.3.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://apache/incubator/libcloud/apache-libcloud-incubating-0.3.1.tar.bz2;
|
|
|
|
sha256 = "11qilrs4sd4c1mkd64ikrjsc2vwrshhc54n5mh4xrark9c7ayp0y";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ zopeInterface ];
|
|
|
|
|
|
|
|
preConfigure = "cp test/secrets.py-dist test/secrets.py";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A unified interface to many cloud providers";
|
|
|
|
homepage = http://incubator.apache.org/libcloud/;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
lxml = buildPythonPackage ( rec {
|
|
|
|
name = "lxml-2.2.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://pypi.python.org/packages/source/l/lxml/lxml-2.2.2.tar.gz;
|
|
|
|
sha256 = "0zjpsy67wcs69qhb06ficl3a5z229hmczpr8h84rkk05vaagj8qv";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.libxml2 pkgs.libxslt ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Pythonic binding for the libxml2 and libxslt libraries";
|
|
|
|
homepage = http://codespeak.net/lxml/index.html;
|
|
|
|
license = "BSD";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
matplotlib = buildPythonPackage ( rec {
|
|
|
|
name = "matplotlib-0.99.1.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://downloads.sourceforge.net/matplotlib/${name}.tar.gz";
|
|
|
|
sha256 = "12lhwgkahck795946hb8wp605c912zq9ds8067ybbifqs56q24b9";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
buildInputs = [ dateutil numpy pkgs.freetype pkgs.libpng pkgs.pkgconfig pkgs.tcl pkgs.tk pkgs.xlibs.libX11 ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "python plotting library, making publication quality plots";
|
|
|
|
homepage = "http://matplotlib.sourceforge.net/";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
mechanize = buildPythonPackage (rec {
|
|
|
|
name = "mechanize-0.1.11";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://wwwsearch.sourceforge.net/mechanize/src/${name}.tar.gz";
|
|
|
|
sha256 = "1h62mwy4iz09jqz17nrb9j8y0djd500zdfqwrz9xmdwqzqwixkj2";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ clientform ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Stateful programmatic web browsing in Python";
|
|
|
|
|
|
|
|
homepage = http://wwwsearch.sourceforge.net/;
|
|
|
|
|
|
|
|
license = "BSD-style";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2010-06-20 16:52:28 +01:00
|
|
|
mock = buildPythonPackage (rec {
|
|
|
|
name = "mock-0.1.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/python-mock/pythonmock-0.1.0.zip";
|
|
|
|
sha256 = "0r17f8sjq6pjlfh2sq2x80bd5r6y9sb3n5l05x5sf25iaba7sg9z";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.unzip ];
|
|
|
|
|
|
|
|
phases = "unpackPhase";
|
|
|
|
|
|
|
|
unpackPhase =
|
|
|
|
'' mkdir "${name}"
|
|
|
|
unzip "$src"
|
|
|
|
|
|
|
|
ensureDir "$out/lib/${python.libPrefix}/site-packages"
|
|
|
|
cp -v mock.py "$out/lib/${python.libPrefix}/site-packages"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Mock objects for Python";
|
|
|
|
|
|
|
|
homepage = http://python-mock.sourceforge.net/;
|
|
|
|
|
|
|
|
license = "mBSD";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2010-07-28 14:09:04 +01:00
|
|
|
mock060 = pkgs.lowPrio (buildPythonPackage (rec {
|
|
|
|
# TODO: This appears to be an unofficially hacked version of 'mock'
|
|
|
|
# from above. This could probably replace the previous
|
|
|
|
# package, but I don't have time to test that right now.
|
|
|
|
name = "mock-0.6.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-dep-sdists/${name}.tar.bz2";
|
|
|
|
sha256 = "1vwxzr2sjyl3x5jqgz9swpmp6cyhmwmab65akysfglf6acmn3czf";
|
|
|
|
};
|
|
|
|
doCheck = false; # Package doesn't have any tests.
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Mock objects for Python, provided by tahoe-lafs.org";
|
|
|
|
homepage = "http://python-mock.sourceforge.net/";
|
|
|
|
license = "mBSD";
|
|
|
|
};
|
|
|
|
}));
|
|
|
|
|
2010-09-26 20:40:22 +01:00
|
|
|
mutagen = buildPythonPackage (rec {
|
|
|
|
name = "mutagen-1.20";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://mutagen.googlecode.com/files/${name}.tar.gz";
|
|
|
|
sha256 = "1rz63nh7r6qj3zsidf8d3a7ih647prvvqzi51p8dqkqmvrwc8mky";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Python multimedia tagging library";
|
|
|
|
homepage = http://code.google.com/p/mutagen;
|
|
|
|
license = "LGPLv2";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2010-07-28 14:09:04 +01:00
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
namebench = buildPythonPackage (rec {
|
|
|
|
name = "namebench-1.0.5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://namebench.googlecode.com/files/${name}.tgz";
|
|
|
|
sha256 = "6cbde35ce94d1f31e7d48f5d8eec13238b4dbc505675a33f1e183e600c1482c3";
|
|
|
|
};
|
|
|
|
|
|
|
|
# No support of GUI yet.
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://namebench.googlecode.com/;
|
|
|
|
description = "Find fastest DNS servers available";
|
|
|
|
license = [
|
|
|
|
"Apache-2.0"
|
|
|
|
# third-party program licenses (embedded in the sources)
|
|
|
|
"LGPL" # Crystal_Clear
|
|
|
|
"free" # dns
|
|
|
|
"Apache-2.0" # graphy
|
|
|
|
"BSD" # jinja2
|
|
|
|
];
|
|
|
|
longDescription = ''
|
|
|
|
It hunts down the fastest DNS servers available for your computer to
|
|
|
|
use. namebench runs a fair and thorough benchmark using your web
|
|
|
|
browser history, tcpdump output, or standardized datasets in order
|
|
|
|
to provide an individualized recommendation. namebench is completely
|
|
|
|
free and does not modify your system in any way.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2011-02-21 17:09:09 +00:00
|
|
|
|
|
|
|
netaddr = buildPythonPackage rec {
|
|
|
|
name = "netaddr-0.7.5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/downloads/drkjam/netaddr/${name}.tar.gz";
|
|
|
|
sha256 = "0ssxic389rdc79zkz8dxcjpqdi5qs80h12khkag410cl9cwk11f2";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false; # there is no test command
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/drkjam/netaddr/;
|
|
|
|
description = "A network address manipulation library for Python";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
nevow = buildPythonPackage (rec {
|
2010-07-28 00:52:02 +01:00
|
|
|
name = "nevow-${version}";
|
|
|
|
version = "0.10.0";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-07-28 00:52:02 +01:00
|
|
|
url = "http://divmod.org/trac/attachment/wiki/SoftwareReleases/Nevow-${version}.tar.gz?format=raw";
|
|
|
|
sha256 = "90631f68f626c8934984908d3df15e7c198939d36be7ead1305479dfc67ff6d0";
|
2010-04-21 11:51:15 +01:00
|
|
|
name = "${name}.tar.gz";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ twisted ];
|
|
|
|
|
|
|
|
postInstall = "twistd --help > /dev/null";
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2010-12-22 17:03:30 +00:00
|
|
|
nose = buildPythonPackage {
|
|
|
|
name = "nose-0.11.3";
|
2011-02-11 22:49:27 +00:00
|
|
|
|
2010-12-22 17:03:30 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = http://python-nose.googlecode.com/files/nose-0.11.3.tar.gz;
|
|
|
|
sha256 = "1hl3lbwdfl2a64q3dxc73kbiks4iwx5cixlbavyryd8xdr7iziww";
|
|
|
|
};
|
2011-02-11 22:49:27 +00:00
|
|
|
|
2011-03-28 16:47:50 +01:00
|
|
|
doCheck = false; # see http://code.google.com/p/python-nose/issues/detail?id=340
|
|
|
|
|
2010-12-22 17:03:30 +00:00
|
|
|
meta = {
|
|
|
|
description = "A unittest-based testing framework for python that makes writing and running tests easier";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2010-07-06 15:54:22 +01:00
|
|
|
notify = pkgs.stdenv.mkDerivation (rec {
|
|
|
|
name = "python-notify-0.1.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://www.galago-project.org/files/releases/source/notify-python/notify-python-0.1.1.tar.bz2;
|
|
|
|
sha256 = "1kh4spwgqxm534qlzzf2ijchckvs0pwjxl1irhicjmlg7mybnfvx";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ python pkgs.pkgconfig pkgs.libnotify pkgs.pygobject pkgs.pygtk pkgs.gtkLibs.glib pkgs.gtkLibs.gtk pkgs.dbus_glib ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Python bindings for libnotify";
|
|
|
|
homepage = http://www.galago-project.org/;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
numpy = buildPythonPackage ( rec {
|
2010-05-03 21:06:09 +01:00
|
|
|
name = "numpy-1.4.1";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-05-03 21:06:09 +01:00
|
|
|
url = "mirror://sourceforge/numpy/${name}.tar.gz";
|
|
|
|
sha256 = "01lf3nc2lp1qkrqnnar50vb7i6y07d1zs6f9yc3kw4p5fd2vhyrf";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
2010-07-28 14:05:35 +01:00
|
|
|
# TODO: add ATLAS=${pkgs.atlas}
|
|
|
|
installCommand = ''
|
|
|
|
export BLAS=${pkgs.blas} LAPACK=${pkgs.liblapack}
|
|
|
|
python setup.py build --fcompiler="gnu95"
|
|
|
|
python setup.py install --root="$out"
|
|
|
|
'';
|
2010-04-21 11:51:15 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2010-07-28 14:05:35 +01:00
|
|
|
buildInputs = [ pkgs.gfortran ];
|
|
|
|
propagatedBuildInputs = [ pkgs.liblapack pkgs.blas ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Scientific tools for Python";
|
|
|
|
homepage = "http://numpy.scipy.org/";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2011-03-26 18:23:20 +00:00
|
|
|
optfunc = buildPythonPackage ( rec {
|
|
|
|
name = "optfunc-git";
|
|
|
|
|
|
|
|
src = pkgs.fetchgit {
|
|
|
|
url = "http://github.com/simonw/optfunc.git";
|
|
|
|
rev = "e3fa034a545ed94ac5a039cf5b170c7d0ee21b7b";
|
|
|
|
};
|
|
|
|
|
|
|
|
installCommand = ''
|
|
|
|
dest=$(toPythonPath $out)/optfunc
|
|
|
|
ensureDir $dest
|
|
|
|
cp * $dest/
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A new experimental interface to optparse which works by introspecting a function definition";
|
|
|
|
homepage = "http://simonwillison.net/2009/May/28/optfunc/";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
ply = buildPythonPackage (rec {
|
|
|
|
name = "ply-3.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.dabeaz.com/ply/${name}.tar.gz";
|
|
|
|
sha256 = "10z4xq8lc8c21v4g7z3zpnvpqbc0vidigrck1kqhwgkqi4gh0kfj";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.dabeaz.com/ply/;
|
|
|
|
|
|
|
|
description = "PLY (Python Lex-Yacc), an implementation of the lex and yacc parsing tools for Python";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
PLY is an implementation of lex and yacc parsing tools for Python.
|
|
|
|
In a nutshell, PLY is nothing more than a straightforward lex/yacc
|
|
|
|
implementation. Here is a list of its essential features: It's
|
|
|
|
implemented entirely in Python; It uses LR-parsing which is
|
|
|
|
reasonably efficient and well suited for larger grammars; PLY
|
|
|
|
provides most of the standard lex/yacc features including support for
|
|
|
|
empty productions, precedence rules, error recovery, and support for
|
|
|
|
ambiguous grammars; PLY is straightforward to use and provides very
|
|
|
|
extensive error checking; PLY doesn't try to do anything more or less
|
|
|
|
than provide the basic lex/yacc functionality. In other words, it's
|
|
|
|
not a large parsing framework or a component of some larger system.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = "revised-BSD";
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2010-09-28 10:33:35 +01:00
|
|
|
paramiko = buildPythonPackage {
|
|
|
|
name = "paramiko-1.7.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.lag.net/paramiko/download/paramiko-1.7.6.tar.gz";
|
|
|
|
sha256 = "00jhzl3s9xdkbj32h1kq1swk8wpx9zky7qfda40n8mb204xjcn9h";
|
|
|
|
};
|
|
|
|
|
2010-10-26 02:42:22 +01:00
|
|
|
buildInputs = [ pkgs.pycrypto ];
|
|
|
|
|
2010-09-28 10:33:35 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://www.lag.net/paramiko/";
|
|
|
|
description = "SSH2 protocol for python";
|
|
|
|
license = "LGPL";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
paramiko is a module for python 2.2 (or higher) that implements the
|
|
|
|
SSH2 protocol for secure (encrypted and authenticated) connections to
|
|
|
|
remote machines. unlike SSL (aka TLS), SSH2 protocol does not require
|
|
|
|
heirarchical certificates signed by a powerful central authority. you
|
|
|
|
may know SSH2 as the protocol that replaced telnet and rsh for secure
|
|
|
|
access to remote shells, but the protocol also includes the ability
|
|
|
|
to open arbitrary channels to remote services across the encrypted
|
|
|
|
tunnel -- this is how sftp works, for example. it is written
|
|
|
|
entirely in python (no C or platform-dependent code) and is released
|
|
|
|
under the GNU LGPL (lesser GPL). '';
|
|
|
|
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2010-08-26 13:03:17 +01:00
|
|
|
pexpect = buildPythonPackage {
|
|
|
|
name = "pexpect-2.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pexpect.sourceforge.net/pexpect-2.3.tar.gz";
|
|
|
|
sha256 = "0x8bfjjqygriry1iyygm5048ykl5qpbpzqfp6i8dhkslm3ryf5fk";
|
|
|
|
};
|
|
|
|
|
2010-08-26 13:52:43 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2010-08-26 13:03:17 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "http://www.noah.org/wiki/Pexpect";
|
|
|
|
description = "Automate interactive console applications such as ssh, ftp, etc.";
|
|
|
|
license = "MIT";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Pexpect is similar to the Don Libes "Expect" system, but Pexpect
|
|
|
|
as a different interface that is easier to understand. Pexpect
|
|
|
|
is basically a pattern matching system. It runs programs and
|
|
|
|
watches output. When output matches a given pattern Pexpect can
|
|
|
|
respond as if a human were typing responses. Pexpect can be used
|
|
|
|
for automation, testing, and screen scraping. Pexpect can be
|
|
|
|
used for automating interactive console applications such as
|
|
|
|
ssh, ftp, passwd, telnet, etc. It can also be used to control
|
|
|
|
web applications via "lynx", "w3m", or some other text-based web
|
|
|
|
browser. Pexpect is pure Python. Unlike other Expect-like
|
|
|
|
modules for Python Pexpect does not require TCL or Expect nor
|
|
|
|
does it require C extensions to be compiled. It should work on
|
|
|
|
any platform that supports the standard Python pty module.
|
|
|
|
'';
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
psycopg2 = buildPythonPackage rec {
|
|
|
|
name = "psycopg2-2.0.13";
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://initd.org/pub/software/psycopg/PSYCOPG-2-0/${name}.tar.gz";
|
|
|
|
sha256 = "0arkaa1nbbd3pyn4l1bc75wi7nff3vxxh4s8sj5al5hv20p64pm1";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pkgs.postgresql ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "PostgreSQL database adapter for the Python programming language";
|
|
|
|
license = "GPLv2/ZPL";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2010-06-20 16:52:23 +01:00
|
|
|
pyasn1 = buildPythonPackage ({
|
|
|
|
name = "pyasn1-0.0.11a";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/pyasn1/pyasn1-devel/0.0.11a/pyasn1-0.0.11a.tar.gz";
|
|
|
|
sha256 = "0b7q67ygdk48zn07pyhyg7r0b74gds50652ndpzfw4vs8l3vjg0b";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "ASN.1 tools for Python";
|
|
|
|
|
|
|
|
homepage = http://pyasn1.sourceforge.net/;
|
|
|
|
|
|
|
|
license = "mBSD";
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
pycryptopp = buildPythonPackage (rec {
|
2010-07-28 00:52:08 +01:00
|
|
|
name = "pycryptopp-0.5.19";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pycryptopp/${name}.tar.gz";
|
2010-07-28 00:52:08 +01:00
|
|
|
sha256 = "6b610b3e5742d366d4fbe96b5f20d8459db9aba4fb802e6e5aab547f22ad04b9";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
2010-07-28 14:07:05 +01:00
|
|
|
# Prefer crypto++ library from the Nix store over the one that's included
|
|
|
|
# in the pycryptopp distribution.
|
|
|
|
preConfigure = "export PYCRYPTOPP_DISABLE_EMBEDDED_CRYPTOPP=1";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
2010-07-28 14:07:05 +01:00
|
|
|
buildInputs = [ setuptoolsDarcs darcsver pkgs.cryptopp ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://allmydata.org/trac/pycryptopp;
|
|
|
|
|
|
|
|
description = "Python wrappers for the Crypto++ library";
|
|
|
|
|
|
|
|
license = "GPLv2+";
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2011-03-26 18:23:25 +00:00
|
|
|
|
|
|
|
pycurl =
|
|
|
|
let libcurl = pkgs.stdenv.lib.overrideDerivation pkgs.curl
|
|
|
|
(oldAttrs: {
|
|
|
|
configureFlags =
|
|
|
|
(if oldAttrs ? configureFlags then oldAttrs.configureFlags else "" )
|
|
|
|
+ " --enable-static";
|
|
|
|
});
|
|
|
|
in
|
|
|
|
buildPythonPackage (rec {
|
|
|
|
name = "pycurl-7.19.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pycryptopp/${name}.tar.gz";
|
|
|
|
sha256 = "0hh6icdbp7svcq0p57zf520ifzhn7jw64x07k99j7h57qpy2sy7b";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libcurl ];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
find $out -name easy-install.pth | xargs rm -v
|
|
|
|
find $out -name 'site.py*' | xargs rm -v
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://pycurl.sourceforge.net/;
|
|
|
|
|
|
|
|
description = "Python wrapper for libcurl";
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
|
2011-02-12 13:38:23 +00:00
|
|
|
pymacs = pkgs.stdenv.mkDerivation rec {
|
|
|
|
version = "v0.24-beta2";
|
|
|
|
name = "Pymacs-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/pinard/Pymacs/tarball/${version}";
|
|
|
|
name = "${name}.tar.gz";
|
|
|
|
sha256 = "0nzb3wrxwy0cmmj087pszkwgj2v22x0y5m4vxb6axz94zfl02r8j";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ python ];
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
python p4 -C p4config.py *.in Pymacs contrib tests
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
python setup.py install --prefix=$out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Emacs Lisp to Python interface";
|
|
|
|
homepage = http://pymacs.progiciels-bpi.ca;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
pyopengl =
|
|
|
|
let version = "3.0.0b5";
|
|
|
|
in
|
|
|
|
buildPythonPackage {
|
|
|
|
name = "pyopengl-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/pyopengl/PyOpenGL-${version}.tar.gz";
|
|
|
|
sha256 = "1rjpl2qdcqn4wamkik840mywdycd39q8dn3wqfaiv35jdsbifxx3";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with pkgs; [ mesa freeglut pil ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://pyopengl.sourceforge.net/;
|
|
|
|
description = "PyOpenGL, the Python OpenGL bindings";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
PyOpenGL is the cross platform Python binding to OpenGL and
|
|
|
|
related APIs. The binding is created using the standard (in
|
|
|
|
Python 2.5) ctypes library, and is provided under an extremely
|
|
|
|
liberal BSD-style Open-Source license.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = "BSD-style";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pysqlite = buildPythonPackage (rec {
|
|
|
|
name = "pysqlite-2.5.5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pysqlite.googlecode.com/files/${name}.tar.gz";
|
|
|
|
sha256 = "ef7ca7f44893790e1a7084b10ea083770e138689406fddc7076d12d6bff4d44f";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Since the `.egg' file is zipped, the `NEEDED' of the `.so' files
|
|
|
|
# it contains is not taken into account. Thus, we must explicitly make
|
|
|
|
# it a propagated input.
|
|
|
|
propagatedBuildInputs = [ pkgs.sqlite ];
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace "setup.cfg" \
|
|
|
|
--replace "/usr/local/include" "${pkgs.sqlite}/include" \
|
|
|
|
--replace "/usr/local/lib" "${pkgs.sqlite}/lib"
|
|
|
|
'';
|
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
pyutil = buildPythonPackage (rec {
|
2010-07-28 00:51:36 +01:00
|
|
|
name = "pyutil-1.7.9";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pyutil/${name}.tar.gz";
|
2010-07-28 00:51:36 +01:00
|
|
|
sha256 = "c303bb779f96073820e2eb7c9692fe15a57df491eb356839f3cb3377ed03b844";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
2010-07-28 00:51:36 +01:00
|
|
|
buildInputs = [ setuptoolsDarcs setuptoolsTrial ] ++ (if doCheck then [ simplejson ] else []);
|
|
|
|
propagatedBuildInputs = [ zbase32 argparse twisted ];
|
|
|
|
# Tests fail because they try to write new code into the twisted
|
|
|
|
# package, apparently some kind of plugin.
|
|
|
|
doCheck = false;
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Pyutil, a collection of mature utilities for Python programmers";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
These are a few data structures, classes and functions which
|
|
|
|
we've needed over many years of Python programming and which
|
|
|
|
seem to be of general use to other Python programmers. Many of
|
|
|
|
the modules that have existed in pyutil over the years have
|
|
|
|
subsequently been obsoleted by new features added to the
|
|
|
|
Python language or its standard library, thus showing that
|
|
|
|
we're not alone in wanting tools like these.
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = http://allmydata.org/trac/pyutil;
|
|
|
|
|
|
|
|
license = "GPLv2+";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
pyyaml = buildPythonPackage (rec {
|
|
|
|
name = "PyYAML-3.09";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pyyaml.org/download/pyyaml/PyYAML-3.09.zip";
|
|
|
|
sha256 = "204aca8b42dbe90e460794d743dd16182011da85507bfd4f092f9f76e0688040";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.unzip pkgs.pyrex ];
|
|
|
|
propagatedBuildInputs = [ pkgs.libyaml ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The next generation YAML parser and emitter for Python";
|
|
|
|
homepage = http://pyyaml.org;
|
|
|
|
license = "free"; # !?
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2010-08-27 07:32:49 +01:00
|
|
|
rdflib = buildPythonPackage (rec {
|
|
|
|
name = "rdflib-3.0.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.rdflib.net/${name}.tar.gz";
|
|
|
|
sha256 = "1c7ipk5vwqnln83rmai5jzyxkjdajdzbk5cgy1z83nyr5hbkgkqr";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2010-08-27 07:53:36 +01:00
|
|
|
postInstall = ''
|
|
|
|
find $out -name easy-install.pth | xargs rm -v
|
|
|
|
find $out -name 'site.py*' | xargs rm -v
|
|
|
|
'';
|
2010-08-27 07:32:49 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "RDFLib is a Python library for working with RDF, a simple yet powerful language for representing information.";
|
|
|
|
homepage = http://www.rdflib.net/;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2011-02-12 12:50:02 +00:00
|
|
|
rope = pkgs.stdenv.mkDerivation rec {
|
2011-02-11 23:06:54 +00:00
|
|
|
version = "0.9.3";
|
|
|
|
name = "rope-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/r/rope/${name}.tar.gz";
|
|
|
|
sha256 = "1092rlsfna7rm1jkdanilsmw7rr3hlkgyji02xfd02wfcm8xa2i7";
|
|
|
|
};
|
|
|
|
|
2011-02-12 12:50:02 +00:00
|
|
|
buildInputs = [ python ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
python setup.py install --prefix=$out
|
|
|
|
'';
|
|
|
|
|
2011-02-11 23:06:54 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "python refactoring library";
|
|
|
|
homepage = http://rope.sf.net;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
2011-02-12 12:50:02 +00:00
|
|
|
};
|
2011-02-11 23:06:54 +00:00
|
|
|
|
2011-02-12 12:50:02 +00:00
|
|
|
ropemacs = pkgs.stdenv.mkDerivation rec {
|
2011-02-11 22:49:27 +00:00
|
|
|
version = "0.6";
|
|
|
|
name = "ropemacs-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/rope/${name}.tar.gz";
|
|
|
|
sha256 = "1afqybmjn7fqkwx8y8kx1kfx181ix73cbq3a0d5n7ryjm7k1r0s4";
|
|
|
|
};
|
|
|
|
|
2011-02-12 12:50:02 +00:00
|
|
|
buildInputs = [ python ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
python setup.py install --prefix=$out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "a plugin for performing python refactorings in emacs";
|
|
|
|
homepage = http://rope.sf.net/ropemacs.html;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
};
|
2011-02-11 22:49:27 +00:00
|
|
|
|
2010-10-27 16:00:07 +01:00
|
|
|
pysvn = pkgs.stdenv.mkDerivation {
|
|
|
|
name = "pysvn-1.7.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pysvn.barrys-emacs.org/source_kits/pysvn-1.7.2.tar.gz";
|
|
|
|
sha256 = "2b2980d200515e754e00a12d99dbce25c1ea90fddf8cba2bfa354c9305c5e455";
|
|
|
|
};
|
|
|
|
|
2010-10-29 15:46:24 +01:00
|
|
|
buildInputs = [ python pkgs.subversion pkgs.apr pkgs.aprutil pkgs.expat pkgs.neon pkgs.openssl ]
|
|
|
|
++ (if stdenv.isLinux then [pkgs.e2fsprogs] else []);
|
2010-10-27 16:00:07 +01:00
|
|
|
|
|
|
|
# There seems to be no way to pass that path to configure.
|
|
|
|
NIX_CFLAGS_COMPILE="-I${pkgs.aprutil}/include/apr-1";
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
cd Source
|
|
|
|
python setup.py backport
|
|
|
|
python setup.py configure \
|
|
|
|
--apr-inc-dir=${pkgs.apr}/include/apr-1 \
|
|
|
|
--apr-lib-dir=${pkgs.apr}/lib \
|
|
|
|
--svn-root-dir=${pkgs.subversion}
|
2010-10-29 15:46:32 +01:00
|
|
|
'' + (if !stdenv.isDarwin then "" else ''
|
|
|
|
sed -i -e 's|libpython2.7.dylib|lib/libpython2.7.dylib|' Makefile
|
|
|
|
'');
|
2010-10-27 16:00:07 +01:00
|
|
|
|
|
|
|
# The regression test suite expects locale support, which our glibc
|
|
|
|
# doesn't have by default.
|
|
|
|
doCheck = false;
|
|
|
|
checkPhase = "make -C ../Tests";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
dest=$(toPythonPath $out)/pysvn
|
|
|
|
ensureDir $dest
|
|
|
|
cp pysvn/__init__.py $dest/
|
|
|
|
cp pysvn/_pysvn*.so $dest/
|
|
|
|
ensureDir $out/share/doc
|
|
|
|
mv -v ../Docs $out/share/doc/pysvn-1.7.2
|
|
|
|
rm -v $out/share/doc/pysvn-1.7.2/generate_cpp_docs_from_html_docs.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Python bindings for Subversion";
|
|
|
|
homepage = "http://pysvn.tigris.org/";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2010-12-29 19:19:56 +00:00
|
|
|
magic = pkgs.stdenv.mkDerivation rec {
|
|
|
|
name = "python-${pkgs.file.name}";
|
2010-11-18 16:58:18 +00:00
|
|
|
|
2010-12-29 19:19:56 +00:00
|
|
|
src = pkgs.file.src;
|
2010-11-18 16:58:18 +00:00
|
|
|
|
2010-12-29 19:19:56 +00:00
|
|
|
buildInputs = [ python pkgs.file ];
|
|
|
|
|
|
|
|
configurePhase = "cd python";
|
|
|
|
|
|
|
|
buildPhase = "python setup.py build";
|
|
|
|
|
|
|
|
installPhase = "python setup.py install --prefix=$out";
|
2010-11-18 16:58:18 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Python wrapper around libmagic";
|
2010-12-29 19:19:56 +00:00
|
|
|
homepage = http://www.darwinsys.com/file/;
|
2010-11-18 16:58:18 +00:00
|
|
|
};
|
|
|
|
};
|
2011-02-11 22:49:27 +00:00
|
|
|
|
2010-12-22 17:03:30 +00:00
|
|
|
MySQL_python = buildPythonPackage {
|
|
|
|
name = "MySQL-python-1.2.3";
|
2011-02-11 22:49:27 +00:00
|
|
|
|
2010-12-22 17:03:30 +00:00
|
|
|
doCheck = false;
|
2011-02-11 22:49:27 +00:00
|
|
|
|
2010-12-22 17:03:30 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://sourceforge/mysql-python/MySQL-python-1.2.3.tar.gz;
|
|
|
|
sha256 = "0vkyg9dmj29hzk7fy77f42p7bfj28skyzsjsjry4wqr3z6xnzrkx";
|
|
|
|
};
|
2011-02-11 22:49:27 +00:00
|
|
|
|
2010-12-22 17:03:30 +00:00
|
|
|
propagatedBuildInputs = [ pkgs.mysql pkgs.zlib nose ];
|
2011-02-11 22:49:27 +00:00
|
|
|
|
2010-12-22 17:03:30 +00:00
|
|
|
meta = {
|
|
|
|
description = "MySQL database binding for Python";
|
|
|
|
|
|
|
|
homepage = http://sourceforge.net/projects/mysql-python;
|
|
|
|
};
|
|
|
|
};
|
2010-11-18 16:58:18 +00:00
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
setuptoolsDarcs = buildPythonPackage {
|
2010-07-28 00:51:10 +01:00
|
|
|
name = "setuptools-darcs-1.2.9";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-07-28 00:51:10 +01:00
|
|
|
url = "http://pypi.python.org/packages/source/s/setuptools_darcs/setuptools_darcs-1.2.9.tar.gz";
|
|
|
|
sha256 = "d37ce11030addbd729284c441facd0869cdc6e5c888dc5fa0a6f1edfe3c3e617";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
2010-05-01 21:54:27 +01:00
|
|
|
# In order to break the dependency on darcs -> ghc, we don't add
|
|
|
|
# darcs as a propagated build input.
|
python-setuptools-darcs: the build process seems to depend on 'darcsver'
| source root is setuptools_darcs-1.2.9
| patching sources
| configuring
| no configure script, doing nothing
| building
| running tests
| Download error: [Errno -3] Temporary failure in name resolution -- Some packages may not be found!
| Couldn't find index page for 'darcsver' (maybe misspelled?)
| Download error: [Errno -3] Temporary failure in name resolution -- Some packages may not be found!
| No local packages or download links found for darcsver>=1.2.0
| Traceback (most recent call last):
| File "setup.py", line 79, in <module>
| zip_safe=False, # I prefer unzipped for easier access.
| File "/nix/store/r6xlmlf0amzwhkvkv0v656jgx7r299g7-python-2.6.5/lib/python2.6/distutils/core.py", line 113, in setup
| _setup_distribution = dist = klass(attrs)
| File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 260, in __init__
| File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 284, in fetch_build_eggs
| File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 563, in resolve
| File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 799, in best_match
| File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 811, in obtain
| File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 327, in fetch_build_egg
| File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 434, in easy_install
| File "build/bdist.linux-x86_64/egg/setuptools/package_index.py", line 475, in fetch_distribution
| AttributeError: 'NoneType' object has no attribute 'clone'
| builder for `/nix/store/rkm5fzs0p6hh45mvpzv0qqphmsjnyag8-python-setuptools-darcs-1.2.9.drv' failed with exit code 1
| error: build of `/nix/store/rkm5fzs0p6hh45mvpzv0qqphmsjnyag8-python-setuptools-darcs-1.2.9.drv' failed
svn path=/nixpkgs/trunk/; revision=22780
2010-07-28 10:33:35 +01:00
|
|
|
propagatedBuildInputs = [ darcsver ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "setuptools plugin for the Darcs version control system";
|
|
|
|
|
|
|
|
homepage = http://allmydata.org/trac/setuptools_darcs;
|
|
|
|
|
|
|
|
license = "BSD";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
setuptoolsTrial = buildPythonPackage {
|
2010-07-28 00:51:16 +01:00
|
|
|
name = "setuptools-trial-0.5.9";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-07-28 00:51:16 +01:00
|
|
|
url = "http://pypi.python.org/packages/source/s/setuptools_trial/setuptools_trial-0.5.9.tar.gz";
|
|
|
|
sha256 = "4e3b5a183b9cf6ff637777c9852dfe8eaab156289e7a578525d68b1cfb3c9f29";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ twisted ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "setuptools plug-in that helps run unit tests built with the \"Trial\" framework (from Twisted)";
|
|
|
|
|
|
|
|
homepage = http://allmydata.org/trac/setuptools_trial;
|
|
|
|
|
|
|
|
license = "unspecified"; # !
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
simplejson = buildPythonPackage (rec {
|
2010-07-28 00:51:22 +01:00
|
|
|
name = "simplejson-2.1.1";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
2010-07-28 00:51:22 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/s/simplejson/${name}.tar.gz";
|
|
|
|
sha256 = "8c1c833c5b997bf7b75bf9a02a2d2884b8427816228eac0fb84791be44d2f612";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "simplejson is a simple, fast, extensible JSON encoder/decoder for Python";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
simplejson is compatible with Python 2.4 and later with no
|
|
|
|
external dependencies. It covers the full JSON specification
|
|
|
|
for both encoding and decoding, with unicode support. By
|
|
|
|
default, encoding is done in an encoding neutral fashion (plain
|
|
|
|
ASCII with \uXXXX escapes for unicode characters).
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = http://code.google.com/p/simplejson/;
|
|
|
|
|
|
|
|
license = "MIT";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
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";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ genshi pkgs.setuptools ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Enhanced wiki and issue tracking system for software development projects";
|
|
|
|
|
|
|
|
license = "BSD";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
twisted = buildPythonPackage {
|
2010-07-28 00:51:04 +01:00
|
|
|
name = "twisted-10.1.0";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-07-28 00:51:04 +01:00
|
|
|
url = http://tmrc.mit.edu/mirror/twisted/Twisted/10.1/Twisted-10.1.0.tar.bz2;
|
|
|
|
sha256 = "eda6e0e9e5ef6f6c19ab75bcb094f83a12ee25fe589fbcddf946e8a655c8070b";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ zopeInterface ];
|
|
|
|
|
|
|
|
# Generate Twisted's plug-in cache. Twited users must do it as well. See
|
|
|
|
# http://twistedmatrix.com/documents/current/core/howto/plugin.html#auto3
|
|
|
|
# and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477103 for
|
|
|
|
# details.
|
|
|
|
postInstall = "$out/bin/twistd --help > /dev/null";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://twistedmatrix.com/;
|
|
|
|
|
|
|
|
description = "Twisted, an event-driven networking engine written in Python";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Twisted is an event-driven networking engine written in Python
|
|
|
|
and licensed under the MIT license.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = "MIT";
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
|
|
platforms = python.meta.platforms;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
zbase32 = buildPythonPackage (rec {
|
2010-07-28 00:51:22 +01:00
|
|
|
name = "zbase32-1.1.2";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zbase32/${name}.tar.gz";
|
2010-07-28 00:51:22 +01:00
|
|
|
sha256 = "2f44b338f750bd37b56e7887591bf2f1965bfa79f163b6afcbccf28da642ec56";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# Tests require `pyutil' so disable them to avoid circular references.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
buildInputs = [ setuptoolsDarcs ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "zbase32, a base32 encoder/decoder";
|
|
|
|
|
|
|
|
homepage = http://pypi.python.org/pypi/zbase32;
|
|
|
|
|
|
|
|
license = "BSD";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
zfec = buildPythonPackage (rec {
|
2010-07-28 00:51:29 +01:00
|
|
|
name = "zfec-1.4.7";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zfec/${name}.tar.gz";
|
2010-07-28 00:51:29 +01:00
|
|
|
sha256 = "3335c9054f45e2c59188400e892634b68761b29d06f3cafe525c60484902d379";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ setuptoolsDarcs ];
|
|
|
|
propagatedBuildInputs = [ pyutil argparse ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://allmydata.org/trac/zfec;
|
|
|
|
|
|
|
|
description = "Zfec, a fast erasure codec which can be used with the command-line, C, Python, or Haskell";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Fast, portable, programmable erasure coding a.k.a. "forward
|
|
|
|
error correction": the generation of redundant blocks of
|
|
|
|
information such that if some blocks are lost then the
|
|
|
|
original data can be recovered from the remaining blocks. The
|
|
|
|
zfec package includes command-line tools, C API, Python API,
|
|
|
|
and Haskell API.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = "GPLv2+";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
zopeInterface = buildPythonPackage {
|
2010-07-28 00:50:57 +01:00
|
|
|
name = "zope-interface-3.6.1";
|
2010-04-21 11:51:15 +01:00
|
|
|
src = fetchurl {
|
2010-07-28 00:50:57 +01:00
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.interface/zope.interface-3.6.1.tar.gz";
|
|
|
|
sha256 = "294c3c0529e84169177bce78d616c768fa1c028a2fbc1854f615d32ed88dbc6c";
|
2010-04-21 11:51:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Zope.Interface";
|
|
|
|
homepage = http://zope.org/Products/ZopeInterface;
|
|
|
|
license = "ZPL";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|