2013-04-13 09:02:17 +01:00
|
|
|
|
{ pkgs, python, lowPrio }:
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
2013-01-21 05:42:22 +00:00
|
|
|
|
let
|
|
|
|
|
isPy26 = python.majorVersion == "2.6";
|
|
|
|
|
isPy27 = python.majorVersion == "2.7";
|
|
|
|
|
optional = pkgs.lib.optional;
|
|
|
|
|
optionals = pkgs.lib.optionals;
|
2013-08-14 07:17:03 +01:00
|
|
|
|
modules = python.modules or { readline = null; sqlite3 = null; curses = null; ssl = null; crypt = null; };
|
2013-01-21 05:42:22 +00:00
|
|
|
|
|
2013-08-10 01:40:54 +01:00
|
|
|
|
pythonPackages = modules // import ./python-packages-generated.nix {
|
|
|
|
|
inherit pkgs python;
|
|
|
|
|
inherit (pkgs) stdenv fetchurl;
|
|
|
|
|
self = pythonPackages;
|
|
|
|
|
} // rec {
|
2011-03-28 10:48:57 +01:00
|
|
|
|
|
2011-03-29 16:02:15 +01:00
|
|
|
|
inherit python;
|
2012-04-16 00:48:11 +01:00
|
|
|
|
inherit (pkgs) fetchurl fetchsvn fetchgit stdenv;
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
2013-01-11 14:14:53 +00:00
|
|
|
|
# helpers
|
2012-02-28 00:06:42 +00:00
|
|
|
|
|
2013-07-02 15:57:10 +01:00
|
|
|
|
callPackage = pkgs.lib.callPackageWith (pkgs // pythonPackages);
|
|
|
|
|
|
2011-03-29 16:02:15 +01:00
|
|
|
|
buildPythonPackage = import ../development/python-modules/generic {
|
2012-02-28 00:06:52 +00:00
|
|
|
|
inherit (pkgs) lib;
|
2012-12-14 19:21:18 +00:00
|
|
|
|
inherit python wrapPython setuptools recursivePthLoader offlineDistutils;
|
2011-03-29 16:02:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-01-11 14:14:53 +00:00
|
|
|
|
wrapPython = pkgs.makeSetupHook
|
|
|
|
|
{ deps = pkgs.makeWrapper;
|
|
|
|
|
substitutions.libPrefix = python.libPrefix;
|
2013-07-23 10:23:09 +01:00
|
|
|
|
}
|
2013-04-07 00:52:52 +01:00
|
|
|
|
../development/python-modules/generic/wrap.sh;
|
2013-01-11 14:14:53 +00:00
|
|
|
|
|
|
|
|
|
# specials
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2013-04-07 00:52:52 +01:00
|
|
|
|
offlineDistutils = import ../development/python-modules/offline-distutils {
|
|
|
|
|
inherit (pkgs) stdenv;
|
|
|
|
|
inherit python;
|
|
|
|
|
};
|
|
|
|
|
|
2012-07-22 01:16:59 +01:00
|
|
|
|
recursivePthLoader = import ../development/python-modules/recursive-pth-loader {
|
|
|
|
|
inherit (pkgs) stdenv;
|
|
|
|
|
inherit python;
|
2011-03-29 16:02:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
setuptools = import ../development/python-modules/setuptools {
|
2011-03-29 16:19:59 +01:00
|
|
|
|
inherit (pkgs) stdenv fetchurl;
|
2012-02-28 00:07:48 +00:00
|
|
|
|
inherit python wrapPython;
|
2011-03-29 16:02:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 04:20:04 +00:00
|
|
|
|
setuptoolsSite = import ../development/python-modules/setuptools/site.nix {
|
|
|
|
|
inherit (pkgs) stdenv;
|
|
|
|
|
inherit python setuptools;
|
|
|
|
|
};
|
|
|
|
|
|
2013-01-11 14:14:53 +00:00
|
|
|
|
# packages defined elsewhere
|
|
|
|
|
|
2013-07-02 16:00:39 +01:00
|
|
|
|
blivet = callPackage ../development/python-modules/blivet { };
|
|
|
|
|
|
2011-09-21 21:05:24 +01:00
|
|
|
|
ipython = import ../shells/ipython {
|
2013-03-27 12:35:39 +00:00
|
|
|
|
inherit (pkgs) stdenv fetchurl sip pyqt4;
|
2011-09-21 21:05:24 +01:00
|
|
|
|
inherit buildPythonPackage pythonPackages;
|
|
|
|
|
};
|
|
|
|
|
|
2013-04-13 09:02:17 +01:00
|
|
|
|
ipythonLight = lowPrio (import ../shells/ipython {
|
|
|
|
|
inherit (pkgs) stdenv fetchurl;
|
|
|
|
|
inherit buildPythonPackage pythonPackages;
|
|
|
|
|
qtconsoleSupport = false;
|
|
|
|
|
pylabSupport = false;
|
|
|
|
|
pylabQtSupport = false;
|
|
|
|
|
});
|
|
|
|
|
|
2013-07-02 16:02:14 +01:00
|
|
|
|
nixpart = callPackage ../tools/filesystems/nixpart { };
|
|
|
|
|
|
2013-08-07 09:36:38 +01:00
|
|
|
|
# This is used for NixOps to make sure we won't break it with the next major
|
|
|
|
|
# version of nixpart.
|
|
|
|
|
nixpart0 = nixpart;
|
|
|
|
|
|
2012-12-03 06:11:26 +00:00
|
|
|
|
pil = import ../development/python-modules/pil {
|
2012-12-03 06:36:57 +00:00
|
|
|
|
inherit (pkgs) fetchurl stdenv libjpeg zlib freetype;
|
|
|
|
|
inherit python buildPythonPackage;
|
2012-12-03 06:11:26 +00:00
|
|
|
|
};
|
2011-09-21 21:05:24 +01:00
|
|
|
|
|
2013-03-27 19:18:45 +00:00
|
|
|
|
pitz = import ../applications/misc/pitz {
|
|
|
|
|
inherit (pkgs) stdenv fetchurl;
|
|
|
|
|
inherit buildPythonPackage tempita jinja2 pyyaml clepy mock nose decorator docutils;
|
|
|
|
|
};
|
|
|
|
|
|
2013-01-11 14:23:44 +00:00
|
|
|
|
pycairo = import ../development/python-modules/pycairo {
|
|
|
|
|
inherit (pkgs) stdenv fetchurl pkgconfig cairo x11;
|
|
|
|
|
inherit python;
|
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 06:59:32 +00:00
|
|
|
|
pycrypto = import ../development/python-modules/pycrypto {
|
|
|
|
|
inherit (pkgs) fetchurl stdenv gmp;
|
|
|
|
|
inherit python buildPythonPackage;
|
|
|
|
|
};
|
2011-09-21 21:05:24 +01:00
|
|
|
|
|
2013-03-09 09:24:08 +00:00
|
|
|
|
pycrypto25 = import ../development/python-modules/pycrypto/2.5.nix {
|
|
|
|
|
inherit (pkgs) fetchurl stdenv gmp;
|
|
|
|
|
inherit python buildPythonPackage;
|
|
|
|
|
};
|
|
|
|
|
|
2013-01-11 14:30:56 +00:00
|
|
|
|
pygobject = import ../development/python-modules/pygobject {
|
|
|
|
|
inherit (pkgs) stdenv fetchurl pkgconfig glib;
|
|
|
|
|
inherit python;
|
|
|
|
|
};
|
|
|
|
|
|
2013-05-09 20:11:30 +01:00
|
|
|
|
pygobject3 = import ../development/python-modules/pygobject/3.nix {
|
|
|
|
|
inherit (pkgs) stdenv fetchurl pkgconfig glib gobjectIntrospection cairo;
|
|
|
|
|
inherit python pycairo;
|
|
|
|
|
};
|
|
|
|
|
|
2013-01-11 16:45:26 +00:00
|
|
|
|
pygtk = import ../development/python-modules/pygtk {
|
2013-06-13 11:59:13 +01:00
|
|
|
|
inherit (pkgs) fetchurl stdenv pkgconfig gtk;
|
2013-01-11 16:45:26 +00:00
|
|
|
|
inherit python buildPythonPackage pygobject pycairo;
|
|
|
|
|
};
|
2012-02-28 00:06:42 +00:00
|
|
|
|
|
2013-01-11 16:45:26 +00:00
|
|
|
|
# XXX: how can we get an override here?
|
|
|
|
|
#pyGtkGlade = pygtk.override {
|
|
|
|
|
# inherit (pkgs.gnome) libglade;
|
|
|
|
|
#};
|
|
|
|
|
pyGtkGlade = import ../development/python-modules/pygtk {
|
2013-06-13 12:12:39 +01:00
|
|
|
|
inherit (pkgs) fetchurl stdenv pkgconfig gtk;
|
2013-01-11 16:45:26 +00:00
|
|
|
|
inherit (pkgs.gnome) libglade;
|
|
|
|
|
inherit python buildPythonPackage pygobject pycairo;
|
|
|
|
|
};
|
2012-02-28 00:06:42 +00:00
|
|
|
|
|
2013-08-27 23:26:06 +01:00
|
|
|
|
# A patched version of buildout, useful for buildout based development on Nix
|
|
|
|
|
zc_buildout_nix = callPackage ../development/python-modules/buildout-nix { };
|
|
|
|
|
|
2013-01-11 14:14:53 +00:00
|
|
|
|
# packages defined here
|
2012-02-28 00:06:42 +00:00
|
|
|
|
|
2012-04-30 15:34:57 +01:00
|
|
|
|
afew = buildPythonPackage rec {
|
2012-09-28 16:06:07 +01:00
|
|
|
|
rev = "6bb3915636aaf86f046a017ffffd9a4ef395e199";
|
|
|
|
|
name = "afew-1.0_${rev}";
|
|
|
|
|
|
2012-04-30 15:34:57 +01:00
|
|
|
|
src = fetchurl {
|
2012-09-28 16:06:07 +01:00
|
|
|
|
url = "https://github.com/teythoon/afew/tarball/${rev}";
|
2012-04-30 15:34:57 +01:00
|
|
|
|
name = "${name}.tar.bz";
|
2012-09-28 16:06:07 +01:00
|
|
|
|
sha256 = "74926d9ddfa69534cfbd08a82f0acccab2c649558062654d5d2ff2999d201384";
|
2012-04-30 15:34:57 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-04-13 08:52:50 +01:00
|
|
|
|
propagatedBuildInputs = [ pythonPackages.notmuch pkgs.dbacl ];
|
2012-04-30 15:34:57 +01:00
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-04-30 15:34:57 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
|
wrapProgram $out/bin/afew \
|
|
|
|
|
--prefix LD_LIBRARY_PATH : ${pkgs.notmuch}/lib
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = https://github.com/teythoon/afew;
|
|
|
|
|
description = "afew is an initial tagging script for notmuch mail.";
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-03-27 01:24:55 +00:00
|
|
|
|
almir = buildPythonPackage rec {
|
2013-05-16 19:17:47 +01:00
|
|
|
|
name = "almir-0.1.8";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/a/almir/${name}.zip";
|
2013-05-16 19:17:47 +01:00
|
|
|
|
md5 = "9a1f3c72a039622ca72b74be7a1cd37e";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
|
pkgs.which
|
|
|
|
|
pkgs.unzip
|
2013-04-13 08:52:50 +01:00
|
|
|
|
pythonPackages.coverage
|
|
|
|
|
pythonPackages.mock
|
|
|
|
|
pythonPackages.tissue
|
|
|
|
|
pythonPackages.unittest2
|
|
|
|
|
pythonPackages.webtest
|
2013-03-27 01:24:55 +00:00
|
|
|
|
];
|
|
|
|
|
|
2013-07-23 10:23:09 +01:00
|
|
|
|
propagatedBuildInputs = [
|
2013-03-27 01:24:55 +00:00
|
|
|
|
pkgs.makeWrapper
|
|
|
|
|
pkgs.bacula
|
2013-04-13 08:52:50 +01:00
|
|
|
|
pythonPackages.colander
|
|
|
|
|
pythonPackages.deform
|
|
|
|
|
pythonPackages.deform_bootstrap
|
|
|
|
|
pythonPackages.docutils
|
|
|
|
|
pythonPackages.nose
|
|
|
|
|
pythonPackages.mysql_connector_repackaged
|
|
|
|
|
pythonPackages.pg8000
|
|
|
|
|
pythonPackages.pyramid
|
|
|
|
|
pythonPackages.pyramid_beaker
|
|
|
|
|
pythonPackages.pyramid_exclog
|
|
|
|
|
pythonPackages.pyramid_jinja2
|
|
|
|
|
pythonPackages.pyramid_tm
|
|
|
|
|
pythonPackages.pytz
|
|
|
|
|
pythonPackages.sqlalchemy
|
|
|
|
|
pythonPackages.transaction
|
|
|
|
|
pythonPackages.waitress
|
|
|
|
|
pythonPackages.webhelpers
|
|
|
|
|
pythonPackages.zope_sqlalchemy
|
2013-03-27 01:24:55 +00:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
|
ln -s ${pyramid}/bin/pserve $out/bin
|
2013-03-27 08:21:59 +00:00
|
|
|
|
ln -s ${pkgs.bacula}/bin/bconsole $out/bin
|
2013-03-27 01:24:55 +00:00
|
|
|
|
wrapProgram "$out/bin/pserve" \
|
|
|
|
|
--suffix PYTHONPATH : "$out/lib/python2.7/site-packages"
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2012-04-30 15:34:57 +01:00
|
|
|
|
alot = buildPythonPackage rec {
|
2013-07-07 23:47:03 +01:00
|
|
|
|
rev = "0711cf8efaf1a4cca24617c3406210a415006457";
|
2013-03-17 14:15:56 +00:00
|
|
|
|
name = "alot-0.3.4_${rev}";
|
2012-04-30 15:34:57 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2012-09-28 16:06:07 +01:00
|
|
|
|
url = "https://github.com/pazz/alot/tarball/${rev}";
|
2012-04-30 15:34:57 +01:00
|
|
|
|
name = "${name}.tar.bz";
|
2013-07-07 23:47:03 +01:00
|
|
|
|
sha256 = "1rxkx9cjajsv9x1dl4xp1r3vr0kb66sglxaqzjiwaknqzahmmji5";
|
2012-04-30 15:34:57 +01:00
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-04-30 15:34:57 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
2013-04-13 08:52:50 +01:00
|
|
|
|
propagatedBuildInputs =
|
|
|
|
|
[ pythonPackages.notmuch
|
|
|
|
|
pythonPackages.urwid
|
|
|
|
|
pythonPackages.twisted
|
|
|
|
|
pythonPackages.magic
|
|
|
|
|
pythonPackages.configobj
|
|
|
|
|
pythonPackages.pygpgme
|
|
|
|
|
];
|
2012-04-30 15:34:57 +01:00
|
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
|
wrapProgram $out/bin/alot \
|
2012-11-21 15:20:36 +00:00
|
|
|
|
--prefix LD_LIBRARY_PATH : ${pkgs.notmuch}/lib:${pkgs.file}/lib:${pkgs.gpgme}/lib
|
2012-04-30 15:34:57 +01:00
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = https://github.com/pazz/alot;
|
|
|
|
|
description = "Terminal MUA using notmuch mail";
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2011-03-29 17:15:08 +01:00
|
|
|
|
anyjson = buildPythonPackage rec {
|
|
|
|
|
name = "anyjson-0.3.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/a/anyjson/${name}.tar.gz";
|
|
|
|
|
md5 = "2b53b5d53fc40af4da7268d3c3e35a50";
|
|
|
|
|
};
|
|
|
|
|
|
2013-04-13 08:52:50 +01:00
|
|
|
|
buildInputs = [ pythonPackages.nose ];
|
2011-03-29 17:15:08 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://pypi.python.org/pypi/anyjson/;
|
|
|
|
|
description = "Wrapper that selects the best available JSON implementation";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
amqplib = buildPythonPackage rec {
|
|
|
|
|
name = "amqplib-0.6.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://py-amqplib.googlecode.com/files/${name}.tgz";
|
|
|
|
|
sha1 = "f124e5e4a6644bf6d1734032a01ac44db1b25a29";
|
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-02-28 00:06:42 +00:00
|
|
|
|
doCheck = false;
|
2011-03-29 17:15:08 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://code.google.com/p/py-amqplib/;
|
|
|
|
|
description = "Python client for the Advanced Message Queuing Procotol (AMQP)";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2011-05-03 16:43:51 +01:00
|
|
|
|
apsw = buildPythonPackage rec {
|
|
|
|
|
name = "apsw-3.7.6.2-r1";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2011-05-03 16:43:51 +01:00
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://apsw.googlecode.com/files/${name}.zip";
|
|
|
|
|
sha1 = "fa4aec08e59fa5964197f59ba42408d64031675b";
|
|
|
|
|
};
|
|
|
|
|
|
2012-02-28 00:06:52 +00:00
|
|
|
|
buildInputs = [ pkgs.unzip pkgs.sqlite ];
|
2011-05-03 16:43:51 +01:00
|
|
|
|
|
2012-12-03 07:30:17 +00:00
|
|
|
|
# python: double free or corruption (fasttop): 0x0000000002fd4660 ***
|
2011-05-03 16:43:51 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A Python wrapper for the SQLite embedded relational database engine";
|
|
|
|
|
homepage = http://code.google.com/p/apsw/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2012-08-31 11:25:53 +01:00
|
|
|
|
area53 = buildPythonPackage (rec {
|
|
|
|
|
name = "area53-b2c9cdcabd";
|
|
|
|
|
|
|
|
|
|
src = fetchgit {
|
2013-07-19 05:45:45 +01:00
|
|
|
|
url = git://github.com/bigmlcom/Area53.git;
|
2012-08-31 11:25:53 +01:00
|
|
|
|
rev = "b2c9cdcabd";
|
|
|
|
|
sha256 = "b0c12b8c48ed9180c7475fab18de50d63e1b517cfb46da4d2c66fc406fe902bc";
|
|
|
|
|
};
|
2012-12-03 05:38:11 +00:00
|
|
|
|
|
|
|
|
|
# error: invalid command 'test'
|
2012-08-31 11:25:53 +01:00
|
|
|
|
doCheck = false;
|
2012-12-03 05:38:11 +00:00
|
|
|
|
|
2013-04-13 08:52:50 +01:00
|
|
|
|
propagatedBuildInputs = [ pythonPackages.boto ];
|
2012-12-03 05:38:11 +00:00
|
|
|
|
|
2012-08-31 11:25:53 +01:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
argparse = buildPythonPackage (rec {
|
2013-04-21 14:55:15 +01:00
|
|
|
|
name = "argparse-1.2.1";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-04-21 14:55:15 +01:00
|
|
|
|
url = "http://argparse.googlecode.com/files/${name}.tar.gz";
|
|
|
|
|
sha256 = "192174mys40m0bwk6l5jlfnzps0xi81sxm34cqms6dc3c454pbyx";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
2012-02-28 00:06:52 +00:00
|
|
|
|
buildInputs = [ pkgs.unzip ];
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-02-28 00:06:42 +00:00
|
|
|
|
doCheck = false;
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://code.google.com/p/argparse/;
|
|
|
|
|
|
|
|
|
|
license = "Apache License 2.0";
|
|
|
|
|
|
|
|
|
|
description = "argparse: Python command line parser";
|
|
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
|
The argparse module makes writing command line tools in Python
|
|
|
|
|
easy. Just briefly describe your command line interface and
|
|
|
|
|
argparse will take care of the rest, including: parsing the
|
|
|
|
|
arguments and flags from sys.argv, converting arg strings into
|
|
|
|
|
objects for your program, formatting and printing any help
|
|
|
|
|
messages, and much more.
|
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2012-09-13 10:59:48 +01:00
|
|
|
|
beautifulsoup = buildPythonPackage (rec {
|
2013-02-18 10:33:24 +00:00
|
|
|
|
name = "beautifulsoup-3.2.1";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-02-18 10:33:24 +00:00
|
|
|
|
url = "http://www.crummy.com/software/BeautifulSoup/download/3.x/BeautifulSoup-3.2.1.tar.gz";
|
|
|
|
|
sha256 = "1nshbcpdn0jpcj51x0spzjp519pkmqz0n0748j7dgpz70zlqbfpm";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-02-28 00:06:42 +00:00
|
|
|
|
doCheck = false;
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://www.crummy.com/software/BeautifulSoup/;
|
|
|
|
|
license = "bsd";
|
|
|
|
|
description = "Undemanding HTML/XML parser";
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2013-02-18 15:12:43 +00:00
|
|
|
|
beautifulsoup4 = buildPythonPackage (rec {
|
2013-02-18 10:33:24 +00:00
|
|
|
|
name = "beautifulsoup4-4.1.3";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/b/beautifulsoup4/${name}.tar.gz";
|
|
|
|
|
md5 = "c012adc06217b8532c446d181cc56586";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# invalid command 'test'
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://crummy.com/software/BeautifulSoup/bs4/;
|
|
|
|
|
description = "HTML and XML parser";
|
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2013-04-07 00:52:52 +01:00
|
|
|
|
|
|
|
|
|
beaker = buildPythonPackage rec {
|
|
|
|
|
name = "Beaker-1.6.4";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/B/Beaker/${name}.tar.gz";
|
|
|
|
|
md5 = "c2e102870ed4c53104dec48ceadf8e9d";
|
|
|
|
|
};
|
|
|
|
|
|
2013-04-13 08:52:50 +01:00
|
|
|
|
buildInputs =
|
|
|
|
|
[ pythonPackages.sqlalchemy
|
|
|
|
|
pythonPackages.pycryptopp
|
|
|
|
|
pythonPackages.nose
|
|
|
|
|
pythonPackages.mock
|
|
|
|
|
pythonPackages.webtest
|
|
|
|
|
];
|
2013-04-07 00:52:52 +01:00
|
|
|
|
|
|
|
|
|
# http://hydra.nixos.org/build/4511591/log/raw
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [
|
|
|
|
|
stdenv.lib.maintainers.garbas
|
|
|
|
|
stdenv.lib.maintainers.iElectric
|
|
|
|
|
];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
beets = buildPythonPackage rec {
|
|
|
|
|
name = "beets-1.0.0";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/b/beets/${name}.tar.gz";
|
|
|
|
|
md5 = "88ad09a93aa0d69ce813205cf23b2a6c";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# tests depend on $HOME setting
|
|
|
|
|
configurePhase = "export HOME=$TMPDIR";
|
|
|
|
|
|
2013-04-13 08:52:50 +01:00
|
|
|
|
propagatedBuildInputs =
|
|
|
|
|
[ pythonPackages.pyyaml
|
|
|
|
|
pythonPackages.unidecode
|
|
|
|
|
pythonPackages.mutagen
|
|
|
|
|
pythonPackages.munkres
|
|
|
|
|
pythonPackages.musicbrainzngs
|
2013-07-27 19:51:54 +01:00
|
|
|
|
modules.sqlite3
|
|
|
|
|
modules.readline
|
2013-04-13 08:52:50 +01:00
|
|
|
|
];
|
2013-04-07 00:52:52 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://beets.radbox.org;
|
|
|
|
|
description = "Music tagger and library organizer";
|
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-07-17 21:19:29 +01:00
|
|
|
|
bitbucket_api = buildPythonPackage rec {
|
|
|
|
|
name = "bitbucket-api-0.4.4";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/b/bitbucket-api/${name}.tar.gz";
|
|
|
|
|
md5 = "6f3cee3586c4aad9c0b2e04fce9704fb";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests_oauth2 nose sh ];
|
|
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = https://github.com/Sheeprider/BitBucket-api;
|
|
|
|
|
description = "Python library to interact with BitBucket REST API";
|
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-07-07 18:39:36 +01:00
|
|
|
|
bitstring = buildPythonPackage rec {
|
|
|
|
|
name = "bitstring-3.1.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://python-bitstring.googlecode.com/files/${name}.zip";
|
|
|
|
|
sha256 = "1i1p3rkj4ad108f23xyib34r4rcy571gy65paml6fk77knh0k66p";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.unzip ];
|
|
|
|
|
|
|
|
|
|
# error: invalid command 'test'
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
description = "Module for binary data manipulation";
|
|
|
|
|
homepage = https://code.google.com/p/python-bitstring/;
|
|
|
|
|
license = licenses.mit;
|
|
|
|
|
platforms = platforms.linux;
|
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-07-08 12:58:31 +01:00
|
|
|
|
bpython = buildPythonPackage rec {
|
2013-07-29 13:52:19 +01:00
|
|
|
|
name = "bpython-0.12";
|
2013-07-08 12:58:31 +01:00
|
|
|
|
src = fetchurl {
|
2013-07-29 13:52:19 +01:00
|
|
|
|
url = "http://www.bpython-interpreter.org/releases/bpython-0.12.tar.gz";
|
|
|
|
|
sha256 = "1ilf58qq7sazmcgg4f1wswbhcn2gb8qbbrpgm6gf0j2lbm60gabl";
|
2013-07-08 12:58:31 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-07-27 19:51:54 +01:00
|
|
|
|
propagatedBuildInputs = [ modules.curses pygments ];
|
2013-07-08 12:58:31 +01:00
|
|
|
|
doCheck = false;
|
2013-07-23 10:23:09 +01:00
|
|
|
|
|
2013-07-08 12:58:31 +01:00
|
|
|
|
meta = {
|
|
|
|
|
description = "UNKNOWN";
|
|
|
|
|
homepage = "UNKNOWN";
|
|
|
|
|
maintainers = [
|
|
|
|
|
stdenv.lib.maintainers.iElectric
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-07-07 18:39:36 +01:00
|
|
|
|
|
2011-03-30 15:42:20 +01:00
|
|
|
|
# euca2ools (and maybe Nova) needs boto 1.9, 2.0 doesn't work.
|
|
|
|
|
boto_1_9 = buildPythonPackage (rec {
|
|
|
|
|
name = "boto-1.9b";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://boto.googlecode.com/files/${name}.tar.gz";
|
|
|
|
|
sha1 = "00a033b0a593c3ca82927867950f73d88b831155";
|
|
|
|
|
};
|
|
|
|
|
|
2011-10-21 16:01:40 +01:00
|
|
|
|
patches = [ ../development/python-modules/boto-1.9-python-2.7.patch ];
|
|
|
|
|
|
2011-03-30 15:42:20 +01:00
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://code.google.com/p/boto/;
|
|
|
|
|
|
|
|
|
|
license = "bsd";
|
|
|
|
|
|
|
|
|
|
description = "Python interface to Amazon Web Services";
|
|
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
|
The boto module is an integrated interface to current and
|
|
|
|
|
future infrastructural services offered by Amazon Web
|
|
|
|
|
Services. This includes S3, SQS, EC2, among others.
|
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
2012-03-27 11:48:45 +01:00
|
|
|
|
boto = buildPythonPackage rec {
|
2013-08-15 15:01:36 +01:00
|
|
|
|
name = "boto-${version}";
|
|
|
|
|
version = "2.9.9";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-08-15 15:01:36 +01:00
|
|
|
|
url = "https://github.com/boto/boto/archive/${version}.tar.gz";
|
|
|
|
|
sha256 = "18wqpzd1zf8nivcn2rl1wnladf7hhyy5p75b5l6kafynm4l9j6jq";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
2012-03-27 11:48:45 +01:00
|
|
|
|
# The tests seem to require AWS credentials.
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
meta = {
|
2012-03-27 11:48:45 +01:00
|
|
|
|
homepage = https://github.com/boto/boto;
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
license = "bsd";
|
|
|
|
|
|
|
|
|
|
description = "Python interface to Amazon Web Services";
|
|
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
|
The boto module is an integrated interface to current and
|
|
|
|
|
future infrastructural services offered by Amazon Web
|
|
|
|
|
Services. This includes S3, SQS, EC2, among others.
|
|
|
|
|
'';
|
|
|
|
|
};
|
2012-03-27 11:48:45 +01:00
|
|
|
|
};
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
2011-03-29 17:15:08 +01:00
|
|
|
|
|
2013-01-30 14:42:40 +00:00
|
|
|
|
botocore = buildPythonPackage rec {
|
2013-07-31 12:32:25 +01:00
|
|
|
|
version = "0.13.1";
|
|
|
|
|
name = "botocore-${version}";
|
2013-01-30 14:42:40 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-31 12:32:25 +01:00
|
|
|
|
url = "https://pypi.python.org/packages/source/b/botocore/${name}.tar.gz";
|
|
|
|
|
sha256 = "192kxgw76b22zmk5mxjkij5rskibb9jfaggvpznzy3ggsgja7yy8";
|
2013-01-30 14:42:40 +00:00
|
|
|
|
};
|
|
|
|
|
|
2013-04-13 08:52:50 +01:00
|
|
|
|
propagatedBuildInputs =
|
|
|
|
|
[ pythonPackages.dateutil
|
|
|
|
|
pythonPackages.requests
|
|
|
|
|
pythonPackages.jmespath
|
|
|
|
|
];
|
2013-01-30 14:42:40 +00:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = https://github.com/boto/botocore;
|
|
|
|
|
|
|
|
|
|
license = "bsd";
|
|
|
|
|
|
|
|
|
|
description = "A low-level interface to a growing number of Amazon Web Services";
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2012-07-21 20:43:39 +01:00
|
|
|
|
# bugz = buildPythonPackage (rec {
|
|
|
|
|
# name = "bugz-0.9.3";
|
2012-12-03 03:41:19 +00:00
|
|
|
|
#
|
2012-07-21 20:43:39 +01:00
|
|
|
|
# src = fetchgit {
|
|
|
|
|
# url = "https://github.com/williamh/pybugz.git";
|
|
|
|
|
# rev = "refs/tags/0.9.3";
|
|
|
|
|
# };
|
2012-12-03 03:41:19 +00:00
|
|
|
|
#
|
2013-07-27 19:51:54 +01:00
|
|
|
|
# propagatedBuildInputs = [ pythonPackages.argparse modules.ssl ];
|
2012-12-03 03:41:19 +00:00
|
|
|
|
#
|
2012-07-21 20:43:39 +01:00
|
|
|
|
# doCheck = false;
|
2012-12-03 03:41:19 +00:00
|
|
|
|
#
|
2012-07-21 20:43:39 +01:00
|
|
|
|
# meta = {
|
|
|
|
|
# homepage = http://www.liquidx.net/pybugz/;
|
|
|
|
|
# description = "Command line interface for Bugzilla";
|
|
|
|
|
# };
|
|
|
|
|
# });
|
2012-04-16 00:48:11 +01:00
|
|
|
|
|
|
|
|
|
|
2013-04-17 00:25:45 +01:00
|
|
|
|
buildout = zc_buildout;
|
|
|
|
|
buildout152 = zc_buildout152;
|
|
|
|
|
|
|
|
|
|
zc_buildout = zc_buildout171;
|
|
|
|
|
zc_buildout171 = buildPythonPackage rec {
|
|
|
|
|
name = "zc.buildout-1.7.1";
|
2013-01-17 23:45:13 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-04-17 00:25:45 +01:00
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zc.buildout/${name}.tar.gz";
|
|
|
|
|
md5 = "8834a21586bf2be53dc412002241a996";
|
2013-01-17 23:45:13 +00:00
|
|
|
|
};
|
|
|
|
|
|
2013-03-09 09:41:14 +00:00
|
|
|
|
meta = {
|
2013-04-17 00:25:45 +01:00
|
|
|
|
homepage = "http://www.buildout.org";
|
2013-03-09 09:41:14 +00:00
|
|
|
|
description = "A software build and configuration system";
|
2013-04-17 00:25:45 +01:00
|
|
|
|
license = pkgs.lib.licenses.zpt21;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
2013-03-09 09:41:14 +00:00
|
|
|
|
};
|
|
|
|
|
};
|
2013-04-17 00:25:45 +01:00
|
|
|
|
zc_buildout152 = buildPythonPackage rec {
|
|
|
|
|
name = "zc.buildout-1.5.2";
|
2013-03-09 09:41:14 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-04-17 00:25:45 +01:00
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zc.buildout/${name}.tar.gz";
|
2013-03-09 09:41:14 +00:00
|
|
|
|
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
|
2013-02-05 23:35:17 +00:00
|
|
|
|
patchPhase = ''
|
|
|
|
|
sed -i "s/return (stdlib, site_paths)/return (stdlib, sys.path)/g" src/zc/buildout/easy_install.py
|
2013-02-18 15:12:43 +00:00
|
|
|
|
'';
|
2013-02-05 23:35:17 +00:00
|
|
|
|
|
2013-01-17 23:45:13 +00:00
|
|
|
|
meta = {
|
2013-04-17 00:25:45 +01:00
|
|
|
|
homepage = "http://www.buildout.org";
|
2013-01-17 23:45:13 +00:00
|
|
|
|
description = "A software build and configuration system";
|
2013-04-17 00:25:45 +01:00
|
|
|
|
license = pkgs.lib.licenses.zpt21;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
2013-01-17 23:45:13 +00:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2011-03-29 17:15:08 +01:00
|
|
|
|
carrot = buildPythonPackage rec {
|
|
|
|
|
name = "carrot-0.10.7";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/c/carrot/${name}.tar.gz";
|
|
|
|
|
md5 = "530a0614de3a669314c3acd4995c54d5";
|
|
|
|
|
};
|
|
|
|
|
|
2013-04-13 08:52:50 +01:00
|
|
|
|
buildInputs = [ pythonPackages.nose ];
|
2012-02-28 00:06:42 +00:00
|
|
|
|
|
2013-04-13 08:52:50 +01:00
|
|
|
|
propagatedBuildInputs =
|
|
|
|
|
[ pythonPackages.amqplib
|
|
|
|
|
pythonPackages.anyjson
|
|
|
|
|
];
|
2011-03-29 17:15:08 +01:00
|
|
|
|
|
|
|
|
|
doCheck = false; # depends on the network
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://pypi.python.org/pypi/carrot;
|
|
|
|
|
description = "AMQP Messaging Framework for Python";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2011-03-30 18:03:49 +01:00
|
|
|
|
cheetah = buildPythonPackage rec {
|
|
|
|
|
version = "2.4.4";
|
|
|
|
|
name = "cheetah-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/C/Cheetah/Cheetah-${version}.tar.gz";
|
|
|
|
|
md5 = "853917116e731afbc8c8a43c37e6ddba";
|
|
|
|
|
};
|
|
|
|
|
|
2013-04-13 08:52:50 +01:00
|
|
|
|
propagatedBuildInputs = [ pythonPackages.markdown ];
|
2011-03-30 18:03:49 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://www.cheetahtemplate.org/;
|
|
|
|
|
description = "A template engine and code generation tool";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2010-09-17 18:34:08 +01:00
|
|
|
|
cherrypy = buildPythonPackage (rec {
|
2013-05-06 11:14:34 +01:00
|
|
|
|
name = "cherrypy-${version}";
|
|
|
|
|
version = "3.2.2";
|
2010-09-17 18:34:08 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-05-06 11:14:34 +01:00
|
|
|
|
url = "http://download.cherrypy.org/cherrypy/${version}/CherryPy-${version}.tar.gz";
|
|
|
|
|
sha256 = "14dn129h69wj0h8yr0bjwbrk8kygl6mkfnxc5m3fxhlm4xb8hnnw";
|
2010-09-17 18:34:08 +01:00
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2010-09-17 18:34:08 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = "http://www.cherrypy.org";
|
|
|
|
|
description = "A pythonic, object-oriented HTTP framework";
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2013-03-27 19:18:45 +00:00
|
|
|
|
|
|
|
|
|
clepy = buildPythonPackage rec {
|
|
|
|
|
name = "clepy-0.3.20";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://pypi.python.org/packages/source/c/clepy/${name}.tar.gz";
|
|
|
|
|
sha256 = "16vibfxms5z4ld8gbkra6dkhqm2cc3jnn0fwp7mw70nlwxnmm51c";
|
|
|
|
|
};
|
|
|
|
|
|
2013-04-13 08:52:50 +01:00
|
|
|
|
buildInputs = [ pythonPackages.mock pythonPackages.nose pythonPackages.decorator ];
|
2013-03-27 19:18:45 +00:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://code.google.com/p/clepy/;
|
|
|
|
|
description = "Utilities created by the Cleveland Python users group";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
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";
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2013-04-07 14:34:35 +01:00
|
|
|
|
|
2013-07-07 09:19:39 +01:00
|
|
|
|
cogapp = buildPythonPackage rec {
|
|
|
|
|
version = "2.3";
|
|
|
|
|
name = "cogapp-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://pypi.python.org/packages/source/c/cogapp/${name}.tar.gz";
|
|
|
|
|
sha256 = "0gzmzbsk54r1qa6wd0yg4zzdxvn2f19ciprr2acldxaknzrpllnn";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# there are no tests
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
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;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-04-07 14:34:35 +01:00
|
|
|
|
colorama = buildPythonPackage rec {
|
2013-07-13 21:29:40 +01:00
|
|
|
|
name = "colorama-0.2.5";
|
2013-04-07 14:34:35 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://pypi.python.org/packages/source/c/colorama/colorama-0.2.5.tar.gz";
|
|
|
|
|
md5 = "308c6e38917bdbfc4d3b0783c614897d";
|
|
|
|
|
};
|
|
|
|
|
|
2013-04-13 08:52:50 +01:00
|
|
|
|
propagatedBuildInputs = [ pythonPackages.clientform ];
|
2013-04-07 14:34:35 +01:00
|
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://code.google.com/p/colorama/;
|
|
|
|
|
license = "bsd";
|
|
|
|
|
description = "Cross-platform colored terminal text";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2012-06-12 21:16:04 +01:00
|
|
|
|
coilmq = buildPythonPackage (rec {
|
|
|
|
|
name = "coilmq-0.6.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/C/CoilMQ/CoilMQ-0.6.1.tar.gz";
|
|
|
|
|
md5 = "5f39727415b837abd02651eeb2721749";
|
|
|
|
|
};
|
|
|
|
|
|
2013-04-13 08:52:50 +01:00
|
|
|
|
propagatedBuildInputs = [ pythonPackages.stompclient pythonPackages.distribute ];
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2013-04-13 08:52:50 +01:00
|
|
|
|
buildInputs = [ pythonPackages.coverage pythonPackages.sqlalchemy ];
|
2012-12-06 07:24:38 +00:00
|
|
|
|
|
|
|
|
|
# ValueError: Could not parse auth file:
|
|
|
|
|
# /tmp/nix-build-.../CoilMQ-0.6.1/coilmq/tests/resources/auth.ini
|
2012-12-21 23:25:37 +00:00
|
|
|
|
doCheck = false;
|
2012-06-12 21:16:04 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Simple, lightweight, and easily extensible STOMP message broker";
|
|
|
|
|
homepage = http://code.google.com/p/coilmq/;
|
|
|
|
|
license = pkgs.lib.licenses.asl20;
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
|
|
|
|
colander = buildPythonPackage rec {
|
2013-08-11 13:29:40 +01:00
|
|
|
|
name = "colander-1.0a5";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/c/colander/${name}.tar.gz";
|
2013-08-11 13:29:40 +01:00
|
|
|
|
md5 = "569dea523561f5d94338ef9d9a98d249";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
};
|
|
|
|
|
|
2013-04-13 08:52:50 +01:00
|
|
|
|
propagatedBuildInputs = [ pythonPackages.translationstring ];
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [
|
|
|
|
|
stdenv.lib.maintainers.garbas
|
|
|
|
|
stdenv.lib.maintainers.iElectric
|
|
|
|
|
];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-04-30 15:34:57 +01:00
|
|
|
|
configobj = buildPythonPackage (rec {
|
|
|
|
|
name = "configobj-4.7.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/c/configobj/${name}.tar.gz";
|
|
|
|
|
md5 = "201dbaa732a9049c839f9bb6c27fc7b5";
|
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-04-30 15:34:57 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Config file reading, writing and validation.";
|
|
|
|
|
homepage = http://pypi.python.org/pypi/configobj;
|
2012-04-30 16:24:21 +01:00
|
|
|
|
license = pkgs.lib.licenses.bsd3;
|
2012-04-30 15:34:57 +01:00
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2013-07-07 18:23:10 +01:00
|
|
|
|
|
|
|
|
|
construct = buildPythonPackage rec {
|
|
|
|
|
name = "construct-2.5.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://pypi.python.org/packages/source/c/construct/${name}.tar.gz";
|
|
|
|
|
sha256 = "08qksl87vr6g2wjxwsyrjh4w6v8bfmcgrcgln7irqvw5vv7qgqss";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
description = "Powerful declarative parser (and builder) for binary data";
|
|
|
|
|
homepage = http://construct.readthedocs.org/;
|
|
|
|
|
license = licenses.mit;
|
|
|
|
|
platforms = platforms.linux;
|
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2012-12-05 11:22:01 +00:00
|
|
|
|
coverage = buildPythonPackage rec {
|
2013-01-21 07:37:07 +00:00
|
|
|
|
name = "coverage-3.6";
|
2012-12-05 11:22:01 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/c/coverage/${name}.tar.gz";
|
2013-01-21 07:37:07 +00:00
|
|
|
|
md5 = "67d4e393f4c6a5ffc18605409d2aa1ac";
|
2012-12-05 11:22:01 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Code coverage measurement for python";
|
|
|
|
|
homepage = http://nedbatchelder.com/code/coverage/;
|
|
|
|
|
license = pkgs.lib.licenses.bsd3;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.shlevy ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-01-20 15:45:02 +00:00
|
|
|
|
covCore = buildPythonPackage rec {
|
|
|
|
|
name = "cov-core-1.7";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/c/cov-core/cov-core-1.7.tar.gz";
|
|
|
|
|
md5 = "59c1e22e636633e10120beacbf45b28c";
|
|
|
|
|
};
|
|
|
|
|
meta = {
|
|
|
|
|
description = "plugin core for use by pytest-cov, nose-cov and nose2-cov";
|
|
|
|
|
};
|
2013-04-13 08:52:50 +01:00
|
|
|
|
propagatedBuildInputs = [ pythonPackages.coverage ];
|
2013-01-20 15:45:02 +00:00
|
|
|
|
};
|
|
|
|
|
|
2013-08-13 10:13:59 +01:00
|
|
|
|
cryptacular = buildPythonPackage rec {
|
|
|
|
|
name = "cryptacular-1.4.1";
|
|
|
|
|
|
|
|
|
|
buildInputs = [ coverage nose ];
|
|
|
|
|
propagatedBuildInputs = [ pbkdf2 modules.crypt ];
|
|
|
|
|
|
|
|
|
|
src = 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 = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
pbkdf2 = buildPythonPackage rec {
|
|
|
|
|
name = "pbkdf2-1.3";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pbkdf2/${name}.tar.gz";
|
|
|
|
|
md5 = "40cda566f61420490206597243dd869f";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# ImportError: No module named test
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
bcrypt = buildPythonPackage rec {
|
|
|
|
|
name = "bcrypt-1.0.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/b/bcrypt/${name}.tar.gz";
|
|
|
|
|
md5 = "c5df008669d17dd6eeb5e2042d5e136f";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ cffi pycparser mock pytest py ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
cffi = buildPythonPackage rec {
|
|
|
|
|
name = "cffi-0.7.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/c/cffi/${name}.tar.gz";
|
|
|
|
|
md5 = "d329f5cb2053fd31dafc02e2c9ef0299";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.libffi pycparser ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
pycparser = buildPythonPackage rec {
|
|
|
|
|
name = "pycparser-2.10";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pycparser/${name}.tar.gz";
|
|
|
|
|
md5 = "d87aed98c8a9f386aa56d365fe4d515f";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# ImportError: No module named test
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
pytest = buildPythonPackage rec {
|
|
|
|
|
name = "pytest-2.3.5";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pytest/${name}.tar.gz";
|
|
|
|
|
md5 = "18f150e7be96b5fe3c388b0e817b8087";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ py ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-01-15 18:04:41 +00:00
|
|
|
|
cssselect = buildPythonPackage rec {
|
|
|
|
|
name = "cssselect-0.7.1";
|
|
|
|
|
src = 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;
|
|
|
|
|
};
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
cssutils = buildPythonPackage (rec {
|
2012-05-08 12:36:04 +01:00
|
|
|
|
name = "cssutils-0.9.9";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2012-05-08 12:36:04 +01:00
|
|
|
|
url = http://pypi.python.org/packages/source/c/cssutils/cssutils-0.9.9.zip;
|
|
|
|
|
sha256 = "139yfm9yz9k33kgqw4khsljs10rkhhxyywbq9i82bh2r31cil1pp";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-04-13 08:52:50 +01:00
|
|
|
|
buildInputs = [ pkgs.unzip pythonPackages.mock ];
|
2012-02-28 00:06:52 +00:00
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# couple of failing tests
|
2010-04-21 11:51:15 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A Python package to parse and build CSS";
|
|
|
|
|
|
|
|
|
|
homepage = http://code.google.com/p/cssutils/;
|
|
|
|
|
|
|
|
|
|
license = "LGPLv3+";
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
darcsver = buildPythonPackage (rec {
|
2012-02-28 00:06:42 +00:00
|
|
|
|
name = "darcsver-1.7.2";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/d/darcsver/${name}.tar.gz";
|
2012-02-28 00:06:42 +00:00
|
|
|
|
md5 = "94ca7e8c9ea0f69c0f3fc6f9fc88f65a";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-04-13 08:52:50 +01:00
|
|
|
|
buildInputs = [ pythonPackages.mock ];
|
2011-04-04 15:38:53 +01:00
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
# Note: We don't actually need to provide Darcs as a build input.
|
|
|
|
|
# Darcsver will DTRT when Darcs isn't available. See news.gmane.org
|
|
|
|
|
# http://thread.gmane.org/gmane.comp.file-systems.tahoe.devel/3200 for a
|
|
|
|
|
# discussion.
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# AttributeError: 'module' object has no attribute 'test_darcsver'
|
2011-04-04 15:38:53 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
meta = {
|
|
|
|
|
description = "Darcsver, generate a version number from Darcs history";
|
|
|
|
|
|
|
|
|
|
homepage = http://pypi.python.org/pypi/darcsver;
|
|
|
|
|
|
|
|
|
|
license = "BSD-style";
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
dateutil = buildPythonPackage (rec {
|
2013-01-30 14:42:40 +00:00
|
|
|
|
name = "dateutil-2.1";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/python-dateutil/python-${name}.tar.gz";
|
2013-01-30 14:42:40 +00:00
|
|
|
|
sha256 = "1vlx0lpsxjxz64pz87csx800cwfqznjyr2y7nk3vhmzhkwzyqi2c";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-04-13 08:52:50 +01:00
|
|
|
|
propagatedBuildInputs = [ pythonPackages.six ];
|
2013-01-30 14:42:40 +00:00
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
meta = {
|
|
|
|
|
description = "Powerful extensions to the standard datetime module";
|
|
|
|
|
homepage = http://pypi.python.org/pypi/python-dateutil;
|
|
|
|
|
license = "BSD-style";
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2013-05-05 20:53:06 +01:00
|
|
|
|
# Buildbot 0.8.7p1 needs dateutil==1.5
|
|
|
|
|
dateutil_1_5 = buildPythonPackage (rec {
|
|
|
|
|
name = "dateutil-1.5";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/python-dateutil/python-${name}.tar.gz";
|
|
|
|
|
sha256 = "02dhw57jf5kjcp7ng1if7vdrbnlpb9yjmz7wygwwvf3gni4766bg";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pythonPackages.six ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Powerful extensions to the standard datetime module";
|
|
|
|
|
homepage = http://pypi.python.org/pypi/python-dateutil;
|
|
|
|
|
license = "BSD-style";
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2011-02-21 17:26:19 +00:00
|
|
|
|
|
2011-03-30 13:27:54 +01:00
|
|
|
|
decorator = buildPythonPackage rec {
|
2011-05-11 15:29:35 +01:00
|
|
|
|
name = "decorator-3.3.1";
|
2011-03-30 13:27:54 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/d/decorator/${name}.tar.gz";
|
2011-05-11 15:29:35 +01:00
|
|
|
|
md5 = "a8fc62acd705f487a71bc406e19e0cc6";
|
2011-03-30 13:27:54 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://pypi.python.org/pypi/decorator;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
|
|
|
|
deform = buildPythonPackage rec {
|
2013-08-11 13:29:40 +01:00
|
|
|
|
name = "deform-0.9.7";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/d/deform/${name}.tar.gz";
|
2013-08-11 13:29:40 +01:00
|
|
|
|
md5 = "d450eef05432d473257da5621c72c8b7";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
};
|
|
|
|
|
|
2013-04-22 21:57:58 +01:00
|
|
|
|
buildInputs = [] ++ optional isPy26 unittest2;
|
|
|
|
|
|
2013-04-13 08:52:50 +01:00
|
|
|
|
propagatedBuildInputs =
|
|
|
|
|
[ pythonPackages.beautifulsoup4
|
|
|
|
|
pythonPackages.peppercorn
|
|
|
|
|
pythonPackages.colander
|
|
|
|
|
pythonPackages.translationstring
|
|
|
|
|
pythonPackages.chameleon
|
2013-08-11 13:29:40 +01:00
|
|
|
|
pythonPackages.zope_deprecation
|
|
|
|
|
pythonPackages.coverage
|
|
|
|
|
pythonPackages.nose
|
2013-04-13 08:52:50 +01:00
|
|
|
|
];
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [
|
|
|
|
|
stdenv.lib.maintainers.garbas
|
|
|
|
|
stdenv.lib.maintainers.iElectric
|
|
|
|
|
];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deform_bootstrap = buildPythonPackage rec {
|
|
|
|
|
name = "deform_bootstrap-0.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/d/deform_bootstrap/${name}.tar.gz";
|
|
|
|
|
md5 = "57812251f327367761f32d49a8286aa4";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ deform ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-06-29 19:07:21 +01:00
|
|
|
|
demjson = buildPythonPackage rec {
|
|
|
|
|
name = "demjson-1.6";
|
|
|
|
|
|
|
|
|
|
src = 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/;
|
2013-06-29 19:32:04 +01:00
|
|
|
|
license = stdenv.lib.licenses.lgpl3Plus;
|
2013-06-29 19:07:21 +01:00
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ bjornfor ];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-04-07 01:14:18 +01:00
|
|
|
|
evdev = buildPythonPackage rec {
|
|
|
|
|
version = "0.3.2";
|
|
|
|
|
name = "evdev-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://pypi.python.org/packages/source/e/evdev/${name}.tar.gz";
|
|
|
|
|
sha256 = "07gmynz764sln2sq18aafx13yawkv5nkqrkk06rj71sq71fsr9h9";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.linuxHeaders ];
|
|
|
|
|
|
|
|
|
|
patchPhase = "sed -e 's#/usr/include/linux/input.h#${pkgs.linuxHeaders}/include/linux/input.h#' -i setup.py";
|
|
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
description = "Provides bindings to the generic input event interface in Linux";
|
|
|
|
|
homepage = http://pythonhosted.org/evdev;
|
|
|
|
|
license = licenses.bsd3;
|
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-07-07 09:19:39 +01:00
|
|
|
|
|
|
|
|
|
eyeD3 = buildPythonPackage rec {
|
|
|
|
|
version = "0.7.2";
|
|
|
|
|
name = "eyeD3-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = http://eyed3.nicfit.net/releases/eyeD3-0.7.2.tgz;
|
|
|
|
|
sha256 = "1r0vxdflrj83s8jc5f2qg4p00k37pskn3djym0w73bvq167vkxar";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ paver ];
|
|
|
|
|
|
|
|
|
|
postInstall = ''
|
2013-07-23 10:23:09 +01:00
|
|
|
|
for prog in "$out/bin/"*; do
|
2013-07-07 09:19:39 +01:00
|
|
|
|
wrapProgram "$prog" --prefix PYTHONPATH : "$PYTHONPATH"
|
|
|
|
|
done
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
description = "A Python module and command line program for processing ID3 tags";
|
|
|
|
|
homepage = http://eyed3.nicfit.net/;
|
|
|
|
|
license = licenses.gpl2;
|
|
|
|
|
maintainers = with maintainers; [ lovek323 ];
|
|
|
|
|
platforms = platforms.unix;
|
|
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
|
eyeD3 is a Python module and command line program for processing ID3
|
|
|
|
|
tags. Information about mp3 files (i.e bit rate, sample frequency, play
|
|
|
|
|
time, etc.) is also provided. The formats supported are ID3 v1.0/v1.1
|
|
|
|
|
and v2.3/v2.4.
|
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-06-10 23:23:35 +01:00
|
|
|
|
fabric = buildPythonPackage rec {
|
|
|
|
|
name = "fabric-1.6.1";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = https://pypi.python.org/packages/source/F/Fabric/Fabric-1.6.1.tar.gz;
|
|
|
|
|
sha256 = "058psbhqbfm3n214wkyfpgm069yqmdqw1hql9bac1yv9pza3bzx1";
|
|
|
|
|
};
|
|
|
|
|
propagatedBuildInputs = [ paramiko pycrypto ];
|
|
|
|
|
buildInputs = [ fudge nose ];
|
2013-07-23 10:23:09 +01:00
|
|
|
|
};
|
2013-06-10 23:23:35 +01:00
|
|
|
|
|
|
|
|
|
fudge = buildPythonPackage rec {
|
|
|
|
|
name = "fudge-0.9.4";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = https://pypi.python.org/packages/source/f/fudge/fudge-0.9.4.tar.gz;
|
|
|
|
|
sha256 = "03sj2x6mpzm48swpa4hnn1gi6yilgniyjfg1ylz95wm1ijggi33w";
|
|
|
|
|
};
|
|
|
|
|
buildInputs = [ nose nosejs ];
|
|
|
|
|
propagatedBuildInputs = [ sphinx ];
|
|
|
|
|
};
|
2013-04-07 01:14:18 +01:00
|
|
|
|
|
2013-08-03 01:42:11 +01:00
|
|
|
|
|
|
|
|
|
googlecl = buildPythonPackage rec {
|
|
|
|
|
version = "0.9.14";
|
|
|
|
|
name = "googlecl-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://googlecl.googlecode.com/files/${name}.tar.gz";
|
|
|
|
|
sha256 = "0nnf7xkr780wivr5xnchfcrahlzy9bi2dxcs1w1bh1014jql0iha";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
description = "Brings Google services to the command line.";
|
|
|
|
|
homepage = "https://code.google.com/p/googlecl/";
|
|
|
|
|
license = licenses.asl20;
|
|
|
|
|
maintainers = with maintainers; [ lovek323 ];
|
|
|
|
|
platforms = platforms.unix;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ gdata ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-04-07 00:52:52 +01:00
|
|
|
|
logilab_astng = buildPythonPackage rec {
|
|
|
|
|
name = "logilab-astng-0.24.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://download.logilab.org/pub/astng/${name}.tar.gz";
|
|
|
|
|
sha256 = "00qxaxsax80sknwv25xl1r49lc4gbhkxs1kjywji4ad8y1npax0s";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ logilab_common ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-07-07 09:19:39 +01:00
|
|
|
|
paver = buildPythonPackage rec {
|
|
|
|
|
version = "1.2.1";
|
|
|
|
|
name = "Paver-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://pypi.python.org/packages/source/P/Paver/Paver-${version}.tar.gz";
|
|
|
|
|
sha256 = "1b1023jks1gi1rwphdy3y2zx7dh4bvwk2050kclp95j7xym1ya0y";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ cogapp mock virtualenv ];
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ nose ];
|
|
|
|
|
|
|
|
|
|
# the tests do not pass
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
description = "A Python-based build/distribution/deployment scripting tool";
|
|
|
|
|
homepage = http://github.com/paver/paver;
|
|
|
|
|
matinainers = with maintainers; [ lovek323 ];
|
|
|
|
|
platforms = platforms.unix;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-03-27 01:24:55 +00:00
|
|
|
|
peppercorn = buildPythonPackage rec {
|
|
|
|
|
name = "peppercorn-0.4";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/peppercorn/${name}.tar.gz";
|
|
|
|
|
md5 = "464d6f2342eaf704dfb52046c1f5c320";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [
|
|
|
|
|
stdenv.lib.maintainers.garbas
|
|
|
|
|
stdenv.lib.maintainers.iElectric
|
|
|
|
|
];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-05-16 19:15:04 +01:00
|
|
|
|
pudb = buildPythonPackage rec {
|
|
|
|
|
name = "pudb-2013.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pudb/${name}.tar.gz";
|
|
|
|
|
md5 = "f94922aba7f862f13886457dc3fadc6a";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pythonPackages.pygments pythonPackages.urwid ];
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
description = "A full-screen, console-based Python debugger";
|
|
|
|
|
license = licenses.mit;
|
|
|
|
|
platforms = platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-03-27 01:24:55 +00:00
|
|
|
|
pyramid = buildPythonPackage rec {
|
2013-08-13 10:13:59 +01:00
|
|
|
|
name = "pyramid-1.4.3";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pyramid/${name}.tar.gz";
|
2013-08-13 10:13:59 +01:00
|
|
|
|
md5 = "28fabf42cf585ecec7a57b5acc1174e3";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
};
|
|
|
|
|
|
2013-07-23 10:23:09 +01:00
|
|
|
|
buildInputs = [
|
|
|
|
|
docutils
|
|
|
|
|
virtualenv
|
|
|
|
|
webtest
|
|
|
|
|
zope_component
|
|
|
|
|
zope_interface
|
2013-04-22 10:17:23 +01:00
|
|
|
|
] ++ optional isPy26 unittest2;
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
|
chameleon
|
|
|
|
|
Mako
|
|
|
|
|
paste_deploy
|
|
|
|
|
repoze_lru
|
|
|
|
|
repoze_sphinx_autointerface
|
|
|
|
|
translationstring
|
|
|
|
|
venusian
|
|
|
|
|
webob
|
|
|
|
|
zope_deprecation
|
|
|
|
|
zope_interface
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [
|
|
|
|
|
stdenv.lib.maintainers.garbas
|
|
|
|
|
stdenv.lib.maintainers.iElectric
|
|
|
|
|
];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pyramid_beaker = buildPythonPackage rec {
|
|
|
|
|
name = "pyramid_beaker-0.7";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pyramid_beaker/${name}.tar.gz";
|
|
|
|
|
md5 = "acb863517a98b90b5f29648ce55dd563";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ beaker pyramid ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-04-07 00:52:52 +01:00
|
|
|
|
pyramid_jinja2 = buildPythonPackage rec {
|
|
|
|
|
name = "pyramid_jinja2-1.6";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-04-07 00:52:52 +01:00
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pyramid_jinja2/${name}.zip";
|
|
|
|
|
md5 = "b7df1ab97f90f39529d27ba6da1f6b1c";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
};
|
|
|
|
|
|
2013-04-07 00:52:52 +01:00
|
|
|
|
buildInputs = [ pkgs.unzip webtest ];
|
|
|
|
|
propagatedBuildInputs = [ jinja2 pyramid ];
|
|
|
|
|
|
2013-03-27 01:24:55 +00:00
|
|
|
|
meta = {
|
2013-04-07 00:52:52 +01:00
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
2013-03-27 01:24:55 +00:00
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pyramid_exclog = buildPythonPackage rec {
|
|
|
|
|
name = "pyramid_exclog-0.6";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pyramid_exclog/${name}.tar.gz";
|
|
|
|
|
md5 = "5c18706f5500605416afff311120c933";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyramid ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [
|
|
|
|
|
stdenv.lib.maintainers.garbas
|
|
|
|
|
stdenv.lib.maintainers.iElectric
|
|
|
|
|
];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-04-07 00:52:52 +01:00
|
|
|
|
pyramid_tm = buildPythonPackage rec {
|
|
|
|
|
name = "pyramid_tm-0.7";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-04-07 00:52:52 +01:00
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pyramid_tm/${name}.tar.gz";
|
|
|
|
|
md5 = "6dc917d262c69366630c542bd21859a3";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
};
|
|
|
|
|
|
2013-04-07 00:52:52 +01:00
|
|
|
|
propagatedBuildInputs = [ transaction pyramid ];
|
2013-03-27 01:24:55 +00:00
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [
|
|
|
|
|
stdenv.lib.maintainers.garbas
|
|
|
|
|
stdenv.lib.maintainers.iElectric
|
|
|
|
|
];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-08-13 10:13:59 +01:00
|
|
|
|
raven = buildPythonPackage rec {
|
|
|
|
|
name = "raven-3.4.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/r/raven/${name}.tar.gz";
|
|
|
|
|
md5 = "6a9264133bf646149ffb9118d81445be";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# way too many dependencies to run tests
|
|
|
|
|
# see https://github.com/getsentry/raven-python/blob/master/setup.py
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
hypatia = buildPythonPackage rec {
|
|
|
|
|
name = "hypatia-0.1a6";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/h/hypatia/${name}.tar.gz";
|
|
|
|
|
md5 = "3a67683c578754cd8f23317db6d28ffd";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ zope_interface zodb3 ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zope_copy = buildPythonPackage rec {
|
|
|
|
|
name = "zope.copy-4.0.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.copy/${name}.zip";
|
|
|
|
|
md5 = "36aa2c96dec4cfeea57f54da2b733eb9";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.unzip zope_interface zope_location zope_schema ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
statsd = buildPythonPackage rec {
|
|
|
|
|
name = "statsd-2.0.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/s/statsd/${name}.tar.gz";
|
|
|
|
|
md5 = "476ef5b9004f6e2cb25c7da440bb53d0";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pyramid_zodbconn = buildPythonPackage rec {
|
|
|
|
|
name = "pyramid_zodbconn-0.4";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pyramid_zodbconn/${name}.tar.gz";
|
|
|
|
|
md5 = "22e88cc82cafbbe00274e7378434e5fe";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pyramid mock ];
|
|
|
|
|
propagatedBuildInputs = [ zodb3 zodburi ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pyramid_mailer = buildPythonPackage rec {
|
|
|
|
|
name = "pyramid_mailer-0.13";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pyramid_mailer/${name}.tar.gz";
|
|
|
|
|
md5 = "43800c7c894097a23140da58e3638c93";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pyramid transaction ];
|
|
|
|
|
propagatedBuildInputs = [ repoze_sendmail ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
repoze_sendmail = buildPythonPackage rec {
|
|
|
|
|
name = "repoze.sendmail-4.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/r/repoze.sendmail/${name}.tar.gz";
|
|
|
|
|
md5 = "81d15f1f03cc67d6f56f2091c594ef57";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ transaction ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zodburi = buildPythonPackage rec {
|
|
|
|
|
name = "zodburi-2.0b1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zodburi/${name}.tar.gz";
|
|
|
|
|
md5 = "52cc13c32ffe4ee7b5f5abc79f70f3c2";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ zodb3 mock ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
substanced = buildPythonPackage rec {
|
|
|
|
|
# no release yet
|
2013-08-14 09:52:20 +01:00
|
|
|
|
rev = "bd8822be62f0f356e4e44d5c614fe14d3fa08f45";
|
2013-08-13 10:13:59 +01:00
|
|
|
|
name = "substanced-${rev}";
|
|
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
|
inherit rev;
|
|
|
|
|
url = "https://github.com/Pylons/substanced.git";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ mock ];
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
|
pyramid
|
|
|
|
|
pytz
|
|
|
|
|
zodb3
|
|
|
|
|
venusian
|
|
|
|
|
colander
|
|
|
|
|
deform
|
|
|
|
|
deform_bootstrap
|
2013-08-13 13:49:42 +01:00
|
|
|
|
python_magic
|
2013-08-13 10:13:59 +01:00
|
|
|
|
pyyaml
|
|
|
|
|
cryptacular
|
|
|
|
|
hypatia
|
|
|
|
|
zope_copy
|
|
|
|
|
zope_component
|
|
|
|
|
zope_deprecation
|
|
|
|
|
statsd
|
|
|
|
|
pyramid_zodbconn
|
|
|
|
|
pyramid_mailer
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
maintainers = [ maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-04-07 00:52:52 +01:00
|
|
|
|
repoze_lru = buildPythonPackage rec {
|
|
|
|
|
name = "repoze.lru-0.4";
|
2013-04-07 00:02:14 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-04-07 00:52:52 +01:00
|
|
|
|
url = "http://pypi.python.org/packages/source/r/repoze.lru/${name}.tar.gz";
|
|
|
|
|
md5 = "9f6ab7a4ff871ba795cadf56c20fb0f0";
|
2013-04-07 00:02:14 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-04-07 00:52:52 +01:00
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [
|
|
|
|
|
stdenv.lib.maintainers.garbas
|
|
|
|
|
stdenv.lib.maintainers.iElectric
|
|
|
|
|
];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2013-04-07 00:02:14 +01:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-03-27 01:24:55 +00:00
|
|
|
|
repoze_sphinx_autointerface = buildPythonPackage rec {
|
|
|
|
|
name = "repoze.sphinx.autointerface-0.7.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/r/repoze.sphinx.autointerface/${name}.tar.gz";
|
|
|
|
|
md5 = "f2fee996ae28dc16eb48f1a3e8f64801";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ zope_interface sphinx ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-04-07 00:52:52 +01:00
|
|
|
|
rtmidi = buildPythonPackage rec {
|
|
|
|
|
version = "0.3a";
|
|
|
|
|
name = "rtmidi-${version}";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-04-07 00:52:52 +01:00
|
|
|
|
url = "http://chrisarndt.de/projects/python-rtmidi/download/python-${name}.tar.bz2";
|
|
|
|
|
sha256 = "0d2if633m3kbiricd5hgn1csccd8xab6lnab1bq9prdr9ks9i8h6";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
};
|
|
|
|
|
|
2013-04-07 00:52:52 +01:00
|
|
|
|
buildInputs = [ pkgs.alsaLib pkgs.jackaudio ];
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
description = "A Python wrapper for the RtMidi C++ library written with Cython";
|
|
|
|
|
homepage = http://trac.chrisarndt.de/code/wiki/python-rtmidi;
|
|
|
|
|
license = licenses.mit;
|
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2013-03-27 01:24:55 +00:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-08-11 13:29:40 +01:00
|
|
|
|
|
|
|
|
|
|
2013-03-27 01:24:55 +00:00
|
|
|
|
zope_deprecation = buildPythonPackage rec {
|
|
|
|
|
name = "zope.deprecation-3.5.0";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.deprecation/${name}.tar.gz";
|
|
|
|
|
md5 = "1e7db82583013127aab3e7e790b1f2b6";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ zope_testing ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [
|
|
|
|
|
stdenv.lib.maintainers.garbas
|
|
|
|
|
stdenv.lib.maintainers.iElectric
|
|
|
|
|
];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
venusian = buildPythonPackage rec {
|
|
|
|
|
name = "venusian-1.0a7";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/v/venusian/${name}.tar.gz";
|
|
|
|
|
md5 = "6f67506dd3cf77116f1c01682a6c3f27";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# TODO: https://github.com/Pylons/venusian/issues/23
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [
|
|
|
|
|
stdenv.lib.maintainers.garbas
|
|
|
|
|
stdenv.lib.maintainers.iElectric
|
|
|
|
|
];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
chameleon = buildPythonPackage rec {
|
|
|
|
|
name = "Chameleon-2.11";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/C/Chameleon/${name}.tar.gz";
|
|
|
|
|
md5 = "df72458bf3dd26a744dcff5ad555c34b";
|
|
|
|
|
};
|
|
|
|
|
|
2013-04-22 10:17:23 +01:00
|
|
|
|
buildInputs = [] ++ optionals isPy26 [ ordereddict unittest2 ];
|
|
|
|
|
|
2013-03-27 01:24:55 +00:00
|
|
|
|
# TODO: https://github.com/malthe/chameleon/issues/139
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [
|
|
|
|
|
stdenv.lib.maintainers.garbas
|
|
|
|
|
stdenv.lib.maintainers.iElectric
|
|
|
|
|
];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-01-21 14:52:49 +00:00
|
|
|
|
distribute = stdenv.mkDerivation rec {
|
|
|
|
|
name = "distribute-0.6.34";
|
2012-06-12 21:16:04 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-01-21 14:52:49 +00:00
|
|
|
|
url = "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.34.tar.gz";
|
|
|
|
|
md5 = "4576ab843a6db5100fb22a72deadf56d";
|
2012-06-12 21:16:04 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-01-21 14:52:49 +00:00
|
|
|
|
buildInputs = [ python wrapPython offlineDistutils ];
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2013-01-21 14:52:49 +00:00
|
|
|
|
pythonPath = [ recursivePthLoader ];
|
2012-12-03 05:38:11 +00:00
|
|
|
|
|
2013-01-21 14:52:49 +00:00
|
|
|
|
installPhase=''
|
|
|
|
|
dst="$out/lib/${python.libPrefix}/site-packages"
|
|
|
|
|
mkdir -p $dst
|
|
|
|
|
PYTHONPATH="${offlineDistutils}/lib/${python.libPrefix}/site-packages:$PYTHONPATH"
|
|
|
|
|
export PYTHONPATH="$dst:$PYTHONPATH"
|
|
|
|
|
|
2013-07-29 13:52:19 +01:00
|
|
|
|
${python}/bin/${python.executable} setup.py install --prefix="$out"
|
2013-01-21 14:52:49 +00:00
|
|
|
|
|
|
|
|
|
eapth="$out/lib/${python.libPrefix}"/site-packages/easy-install.pth
|
|
|
|
|
if [ -e "$eapth" ]; then
|
|
|
|
|
# move colliding easy_install.pth to specifically named one
|
|
|
|
|
mv "$eapth" $(dirname "$eapth")/${name}.pth
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
rm -f "$out/lib/${python.libPrefix}"/site-packages/site.py*
|
|
|
|
|
|
|
|
|
|
wrapPythonPrograms
|
|
|
|
|
'';
|
2012-06-12 21:16:04 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Easily download, build, install, upgrade, and uninstall Python packages";
|
|
|
|
|
homepage = http://packages.python.org/distribute;
|
|
|
|
|
license = "PSF or ZPL";
|
|
|
|
|
};
|
2013-01-21 14:52:49 +00:00
|
|
|
|
};
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2011-03-30 13:27:54 +01:00
|
|
|
|
|
2011-03-30 13:51:01 +01:00
|
|
|
|
distutils_extra = buildPythonPackage rec {
|
|
|
|
|
name = "distutils-extra-2.26";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://launchpad.net/python-distutils-extra/trunk/2.26/+download/python-${name}.tar.gz";
|
|
|
|
|
md5 = "7caded30a45907b5cdb10ac4182846eb";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = https://launchpad.net/python-distutils-extra;
|
|
|
|
|
description = "Enhancements to Python's distutils";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-02-17 22:39:00 +00:00
|
|
|
|
deluge = buildPythonPackage rec {
|
2013-03-12 00:11:28 +00:00
|
|
|
|
name = "deluge-1.3.6";
|
2013-02-17 22:39:00 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://download.deluge-torrent.org/source/${name}.tar.gz";
|
2013-03-12 00:11:28 +00:00
|
|
|
|
md5 = "33557678bf2f320de670ddaefaea009d";
|
2013-02-17 22:39:00 +00:00
|
|
|
|
};
|
|
|
|
|
|
2013-03-26 21:13:16 +00:00
|
|
|
|
propagatedBuildInputs = with pkgs; [
|
|
|
|
|
pyGtkGlade libtorrentRasterbar twisted Mako chardet pyxdg pyopenssl
|
|
|
|
|
];
|
2013-07-23 10:23:09 +01:00
|
|
|
|
|
2013-05-10 18:17:14 +01:00
|
|
|
|
postInstall = ''
|
|
|
|
|
cp -R deluge/data/share $out/share
|
|
|
|
|
cp -R deluge/data/pixmaps $out/share/
|
|
|
|
|
cp -R deluge/data/icons $out/share/
|
|
|
|
|
'';
|
2013-02-17 22:39:00 +00:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://deluge-torrent.org;
|
|
|
|
|
description = "Torrent client";
|
2013-03-26 21:13:16 +00:00
|
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2013-02-17 22:39:00 +00:00
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
2013-03-12 00:11:28 +00:00
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2013-02-17 22:39:00 +00:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
pyxdg = buildPythonPackage rec {
|
|
|
|
|
name = "pyxdg-0.25";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pyxdg/${name}.tar.gz";
|
|
|
|
|
md5 = "bedcdb3a0ed85986d40044c87f23477c";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# error: invalid command 'test'
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://freedesktop.org/wiki/Software/pyxdg;
|
|
|
|
|
description = "Contains implementations of freedesktop.org standards";
|
|
|
|
|
license = "LGPLv2";
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
chardet = buildPythonPackage rec {
|
|
|
|
|
name = "chardet-2.1.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/c/chardet/${name}.tar.gz";
|
|
|
|
|
md5 = "295367fd210d20f3febda615a88e1ef0";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = https://github.com/erikrose/chardet;
|
|
|
|
|
description = "Universal encoding detector";
|
|
|
|
|
license = "LGPLv2";
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2012-05-30 22:12:40 +01:00
|
|
|
|
django = buildPythonPackage rec {
|
2012-06-11 08:15:12 +01:00
|
|
|
|
name = "Django-${version}";
|
2012-07-31 23:24:17 +01:00
|
|
|
|
version = "1.4.1";
|
2012-05-30 22:12:40 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2012-08-06 13:17:41 +01:00
|
|
|
|
url = "http://www.djangoproject.com/m/releases/1.4/${name}.tar.gz";
|
2012-07-31 23:24:17 +01:00
|
|
|
|
sha256 = "16s0anvpaccbqmdrhl71z73k0dy2sl166nnc2fbd5lshlgmj13ad";
|
2012-05-30 22:12:40 +01:00
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-05-30 22:12:40 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A high-level Python Web framework";
|
|
|
|
|
homepage = https://www.djangoproject.com/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2012-08-01 09:59:44 +01:00
|
|
|
|
django_1_3 = buildPythonPackage rec {
|
2013-05-22 16:03:20 +01:00
|
|
|
|
name = "Django-1.3.7";
|
2012-05-30 22:12:40 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2012-07-04 01:13:44 +01:00
|
|
|
|
url = "http://www.djangoproject.com/m/releases/1.3/${name}.tar.gz";
|
2013-05-22 16:03:20 +01:00
|
|
|
|
sha256 = "12pv8y2x3fhrcrjayfm6z40r57iwchfi5r19ajs8q8z78i3z8l7f";
|
2012-05-30 22:12:40 +01:00
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-05-30 22:12:40 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A high-level Python Web framework";
|
|
|
|
|
homepage = https://www.djangoproject.com/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2012-05-30 22:12:40 +01:00
|
|
|
|
django_evolution = buildPythonPackage rec {
|
2013-05-22 16:03:20 +01:00
|
|
|
|
name = "django_evolution-0.6.9";
|
2012-05-30 22:12:40 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/d/django_evolution/${name}.tar.gz";
|
2013-05-22 16:03:20 +01:00
|
|
|
|
md5 = "c0d7d10bc41898c88b14d434c48766ff";
|
2012-05-30 22:12:40 +01:00
|
|
|
|
};
|
|
|
|
|
|
2012-08-01 09:59:44 +01:00
|
|
|
|
propagatedBuildInputs = [ django_1_3 ];
|
2012-05-30 22:12:40 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A database schema evolution tool for the Django web framework";
|
|
|
|
|
homepage = http://code.google.com/p/django-evolution/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2013-08-11 11:05:02 +01:00
|
|
|
|
django_tagging = buildPythonPackage rec {
|
|
|
|
|
name = "django-tagging-0.3.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/d/django-tagging/${name}.tar.gz";
|
|
|
|
|
md5 = "a0855f2b044db15f3f8a025fa1016ddf";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# error: invalid command 'test'
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ django_1_3 ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A generic tagging application for Django projects";
|
|
|
|
|
homepage = http://code.google.com/p/django-tagging/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2012-05-30 22:12:40 +01:00
|
|
|
|
djblets = buildPythonPackage rec {
|
2013-05-22 16:03:20 +01:00
|
|
|
|
name = "Djblets-0.6.28";
|
2012-05-30 22:12:40 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2012-07-04 01:13:44 +01:00
|
|
|
|
url = "http://downloads.reviewboard.org/releases/Djblets/0.6/${name}.tar.gz";
|
2013-05-22 16:03:20 +01:00
|
|
|
|
sha256 = "11fsi911cqkjgv9j7646ljc2fgxsdfyq44kzmv01xhysm50fn6xx";
|
2012-05-30 22:12:40 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-05-22 16:03:20 +01:00
|
|
|
|
propagatedBuildInputs = [ pil django_1_3 feedparser ];
|
2012-05-30 22:12:40 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A collection of useful extensions for Django";
|
|
|
|
|
homepage = https://github.com/djblets/djblets;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2012-04-16 00:48:11 +01:00
|
|
|
|
dulwich = buildPythonPackage rec {
|
|
|
|
|
name = "dulwich-0.8.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://samba.org/~jelmer/dulwich/${name}.tar.gz";
|
|
|
|
|
sha256 = "1a1619e9c7e63fe9bdc93356ee893be1016b7ea12ad953f4e1f1f5c0c5056ee8";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildPhase = "make build";
|
|
|
|
|
installCommand = ''
|
2013-07-29 13:52:19 +01:00
|
|
|
|
${python}/bin/${python.executable} setup.py install --prefix="$out" --root=/ --record="$out/lib/${python.libPrefix}/site-packages/dulwich/list.txt" --single-version-externally-managed
|
2012-04-16 00:48:11 +01:00
|
|
|
|
'';
|
2012-12-03 05:38:11 +00:00
|
|
|
|
|
|
|
|
|
# For some reason "python setup.py test" doesn't work with Python 2.6.
|
2012-12-03 07:30:17 +00:00
|
|
|
|
# pretty sure that is about import behaviour.
|
2012-12-03 06:37:04 +00:00
|
|
|
|
doCheck = python.majorVersion != "2.6";
|
2012-04-16 00:48:11 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Simple Python implementation of the Git file formats and protocols.";
|
|
|
|
|
homepage = http://samba.org/~jelmer/dulwich/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2012-04-16 00:48:11 +01:00
|
|
|
|
hggit = buildPythonPackage rec {
|
|
|
|
|
name = "hg-git-0.3.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/h/hg-git/${name}.tar.gz";
|
|
|
|
|
md5 = "4b15867a07abb0be985177581ce64cee";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ dulwich ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Push and pull from a Git server using Mercurial.";
|
|
|
|
|
homepage = http://hg-git.github.com/;
|
|
|
|
|
};
|
|
|
|
|
};
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2011-09-19 22:00:37 +01:00
|
|
|
|
docutils = buildPythonPackage rec {
|
|
|
|
|
name = "docutils-0.8.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "mirror://sourceforge/docutils/${name}.tar.gz";
|
|
|
|
|
sha256 = "0wfz4nxl95jcr2f2mc5gijgighavcghg33plzbz5jyi531jpffss";
|
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-02-28 00:06:42 +00:00
|
|
|
|
doCheck = false;
|
2011-09-19 22:00:37 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://docutils.sourceforge.net/;
|
|
|
|
|
description = "Docutils is an open-source text processing system for processing plaintext documentation into useful formats, such as HTML or LaTeX.";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-04-29 19:25:25 +01:00
|
|
|
|
doxypy = buildPythonPackage rec {
|
|
|
|
|
name = "doxypy-0.4.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://code.foosel.org/files/${name}.tar.gz";
|
|
|
|
|
sha256 = "1afmb30zmy7942b53qa5vd3js883wwqqls35n8xfb3rnj0qnll8g";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://code.foosel.org/doxypy;
|
|
|
|
|
description = "An input filter for Doxygen";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
};
|
|
|
|
|
|
2011-09-19 22:00:37 +01:00
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
|
dtopt = buildPythonPackage rec {
|
|
|
|
|
name = "dtopt-0.1";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/d/dtopt/${name}.tar.gz";
|
|
|
|
|
md5 = "9a41317149e926fcc408086aedee6bab";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Add options to doctest examples while they are running";
|
|
|
|
|
homepage = http://pypi.python.org/pypi/dtopt;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2013-05-07 11:27:10 +01:00
|
|
|
|
elpy = buildPythonPackage rec {
|
|
|
|
|
name = "elpy-1.0.1";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/e/elpy/elpy-1.0.1.tar.gz";
|
|
|
|
|
md5 = "5453f085f7871ed8fc11d51f0b68c785";
|
|
|
|
|
};
|
|
|
|
|
buildInputs = [ ];
|
|
|
|
|
propagatedBuildInputs = [ flake8 ];
|
|
|
|
|
|
|
|
|
|
doCheck = false; # there are no tests
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Backend for the elpy Emacs mode";
|
|
|
|
|
homepage = "https://github.com/jorgenschaefer/elpy";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2011-08-30 20:50:36 +01:00
|
|
|
|
enum = buildPythonPackage rec {
|
|
|
|
|
name = "enum-0.4.4";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/e/enum/${name}.tar.gz";
|
|
|
|
|
md5 = "ce75c7c3c86741175a84456cc5bd531e";
|
|
|
|
|
};
|
|
|
|
|
|
2012-02-28 00:06:42 +00:00
|
|
|
|
buildInputs = [ ];
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ];
|
|
|
|
|
|
2011-08-30 20:50:36 +01:00
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://pypi.python.org/pypi/enum/;
|
|
|
|
|
description = "Robust enumerated type support in Python.";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-04-21 15:04:12 +01:00
|
|
|
|
epc = buildPythonPackage rec {
|
|
|
|
|
name = "epc-0.0.3";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/e/epc/${name}.tar.gz";
|
|
|
|
|
md5 = "04a93c0cd32b496969ead09f414dac74";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ sexpdata ];
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "EPC (RPC stack for Emacs Lisp) implementation in Python";
|
|
|
|
|
homepage = "https://github.com/tkf/python-epc";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2011-02-21 21:49:20 +00:00
|
|
|
|
eventlet = buildPythonPackage rec {
|
2011-06-09 18:10:59 +01:00
|
|
|
|
name = "eventlet-0.9.16";
|
2011-02-21 21:49:20 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/e/eventlet/${name}.tar.gz";
|
2011-06-09 18:10:59 +01:00
|
|
|
|
md5 = "4728e3bd7f72763c1e5dccac0296f8ea";
|
2011-02-21 21:49:20 +00:00
|
|
|
|
};
|
|
|
|
|
|
2012-02-28 00:06:42 +00:00
|
|
|
|
buildInputs = [ nose httplib2 ];
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ greenlet ];
|
2011-02-21 21:49:20 +00:00
|
|
|
|
|
2011-03-30 18:03:49 +01:00
|
|
|
|
PYTHON_EGG_CACHE = "`pwd`/.egg-cache";
|
2011-02-21 21:49:20 +00:00
|
|
|
|
|
2011-03-29 17:15:08 +01:00
|
|
|
|
doCheck = false; # !!! fix; tests access the network
|
2011-02-21 21:49:20 +00:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://pypi.python.org/pypi/eventlet/;
|
|
|
|
|
description = "A concurrent networking library for Python";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2013-02-18 15:12:43 +00:00
|
|
|
|
feedparser = buildPythonPackage (rec {
|
2013-02-18 10:33:24 +00:00
|
|
|
|
name = "feedparser-5.1.3";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/f/feedparser/${name}.tar.gz";
|
|
|
|
|
md5 = "f2253de78085a1d5738f626fcc1d8f71";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://code.google.com/p/feedparser/;
|
|
|
|
|
description = "Universal feed parser";
|
|
|
|
|
license = stdenv.lib.licenses.bsd2;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
2012-09-28 16:06:07 +01:00
|
|
|
|
flake8 = buildPythonPackage (rec {
|
2013-03-17 14:23:56 +00:00
|
|
|
|
name = "flake8-2.0";
|
2012-09-28 16:06:07 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/f/flake8/${name}.tar.gz";
|
2013-03-17 14:23:56 +00:00
|
|
|
|
md5 = "176c6b3613777122721db181560aa1e3";
|
2012-09-28 16:06:07 +01:00
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 07:30:17 +00:00
|
|
|
|
buildInputs = [ nose ];
|
2013-03-17 14:23:56 +00:00
|
|
|
|
propagatedBuildInputs = [ pyflakes pep8 mccabe ];
|
2012-12-03 07:30:17 +00:00
|
|
|
|
|
|
|
|
|
# 3 failing tests
|
2013-03-17 14:23:56 +00:00
|
|
|
|
#doCheck = false;
|
2012-09-28 16:06:07 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "code checking using pep8 and pyflakes.";
|
|
|
|
|
homepage = http://pypi.python.org/pypi/flake8;
|
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
2012-07-16 12:20:24 +01:00
|
|
|
|
flask = buildPythonPackage {
|
|
|
|
|
name = "flask-0.9";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/F/Flask/Flask-0.9.tar.gz";
|
|
|
|
|
md5 = "4a89ef2b3ab0f151f781182bd0cc8933";
|
|
|
|
|
};
|
|
|
|
|
|
2012-07-16 16:54:45 +01:00
|
|
|
|
propagatedBuildInputs = [ werkzeug jinja2 ];
|
2012-07-16 12:20:24 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://flask.pocoo.org/;
|
|
|
|
|
description = "A microframework based on Werkzeug, Jinja 2, and good intentions";
|
|
|
|
|
license = "BSD";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-02-18 15:12:43 +00:00
|
|
|
|
flexget = buildPythonPackage (rec {
|
2013-02-18 10:33:24 +00:00
|
|
|
|
name = "FlexGet-1.0.3353";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://download.flexget.com/archive/${name}.tar.gz";
|
|
|
|
|
md5 = "cffc4e51b5c5efddb339d265524e46b8";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
2013-04-01 21:55:16 +01:00
|
|
|
|
propagatedBuildInputs = [ beautifulsoup4 pyrss2gen feedparser pynzb html5lib dateutil beautifulsoup flask jinja2 requests sqlalchemy pyyaml cherrypy progressbar deluge ];
|
2013-02-18 10:33:24 +00:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://flexget.com/;
|
|
|
|
|
description = "Multipurpose automation tool for content like torrents, ...";
|
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
2010-10-04 10:49:09 +01:00
|
|
|
|
flup = buildPythonPackage (rec {
|
|
|
|
|
name = "flup-1.0.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://www.saddi.com/software/flup/dist/${name}.tar.gz";
|
|
|
|
|
sha256 = "1nbx174g40l1z3a8arw72qz05a1qxi3didp9wm7kvkn1bxx33bab";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = "http://trac.saddi.com/flup";
|
|
|
|
|
description = "FastCGI Python module set";
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
foolscap = buildPythonPackage (rec {
|
2013-04-24 19:40:19 +01:00
|
|
|
|
name = "foolscap-0.6.4";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://foolscap.lothar.com/releases/${name}.tar.gz";
|
2013-04-24 19:40:19 +01:00
|
|
|
|
sha256 = "16cddyk5is0gjfn0ia5n2l4lhdzvbjzlx6sfpy7ddjd3d3fq7ckl";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
2012-02-28 00:06:42 +00:00
|
|
|
|
propagatedBuildInputs = [ twisted pkgs.pyopenssl ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://foolscap.lothar.com/;
|
|
|
|
|
|
|
|
|
|
description = "Foolscap, an RPC protocol for Python that follows the distributed object-capability model";
|
|
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
|
"Foolscap" is the name for the next-generation RPC protocol,
|
|
|
|
|
intended to replace Perspective Broker (part of Twisted).
|
|
|
|
|
Foolscap is a protocol to implement a distributed
|
|
|
|
|
object-capabilities model in Python.
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
# See http://foolscap.lothar.com/trac/browser/LICENSE.
|
|
|
|
|
license = "MIT";
|
|
|
|
|
|
2013-08-16 22:44:33 +01:00
|
|
|
|
maintainers = [ ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2012-08-05 12:50:56 +01:00
|
|
|
|
fuse = buildPythonPackage (rec {
|
|
|
|
|
baseName = "fuse";
|
|
|
|
|
version = "0.2.1";
|
|
|
|
|
name = "${baseName}-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-14 02:17:07 +01:00
|
|
|
|
url = "mirror://sourceforge/fuse/fuse-python-${version}.tar.gz";
|
2012-08-05 12:50:56 +01:00
|
|
|
|
sha256 = "06rmp1ap6flh64m81j0n3a357ij2vj9zwcvvw0p31y6hz1id9shi";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.pkgconfig pkgs.fuse ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Python bindings for FUSE.";
|
|
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2013-02-05 15:04:09 +00:00
|
|
|
|
gcovr = buildPythonPackage rec {
|
|
|
|
|
name = "gcovr-2.4";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/g/gcovr/${name}.tar.gz";
|
|
|
|
|
md5 = "672db629469882b93c40016aebff50ac";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A Python script for summarizing gcov data";
|
|
|
|
|
license = "BSD";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
genshi = buildPythonPackage {
|
2013-07-03 03:26:02 +01:00
|
|
|
|
name = "genshi-0.7";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-03 03:26:02 +01:00
|
|
|
|
url = http://ftp.edgewall.com/pub/genshi/Genshi-0.7.tar.gz;
|
|
|
|
|
sha256 = "0lkkbp6fbwzv0zda5iqc21rr7rdldkwh3hfabfjl9i4bwq14858x";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# FAIL: test_sanitize_remove_script_elem (genshi.filters.tests.html.HTMLSanitizerTestCase)
|
|
|
|
|
# FAIL: test_sanitize_remove_src_javascript (genshi.filters.tests.html.HTMLSanitizerTestCase)
|
2012-06-27 21:07:09 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
buildInputs = [ pkgs.setuptools ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Python components for parsing HTML, XML and other textual content";
|
|
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
|
Python library that provides an integrated set of
|
|
|
|
|
components for parsing, generating, and processing HTML, XML or other
|
|
|
|
|
textual content for output generation on the web.
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
license = "BSD";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-07-07 14:32:29 +01:00
|
|
|
|
gevent = buildPythonPackage rec {
|
|
|
|
|
name = "gevent-0.13.8";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://pypi.python.org/packages/source/g/gevent/${name}.tar.gz";
|
|
|
|
|
sha256 = "0plmxnb53qbxxf6macq84dvclsiyrpv3xrm32q4qqh6f01ix5f2l";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.libevent ];
|
|
|
|
|
propagatedBuildInputs = [ greenlet ];
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
description = "Coroutine-based networking library";
|
|
|
|
|
homepage = http://www.gevent.org/;
|
|
|
|
|
license = licenses.mit;
|
|
|
|
|
platforms = platforms.linux;
|
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2011-07-20 16:30:35 +01:00
|
|
|
|
genzshcomp = buildPythonPackage {
|
2013-07-24 08:58:00 +01:00
|
|
|
|
name = "genzshcomp-0.5.1";
|
2011-07-20 16:30:35 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-24 08:58:00 +01:00
|
|
|
|
url = "http://pypi.python.org/packages/source/g/genzshcomp/genzshcomp-0.5.1.tar.gz";
|
|
|
|
|
md5 = "7a954f1835875002e9044fe55ed1b488";
|
2011-07-20 16:30:35 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-01-21 05:42:22 +00:00
|
|
|
|
buildInputs = [ pkgs.setuptools ] ++ (optional isPy26 argparse);
|
2011-07-20 16:30:35 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "automatically generated zsh completion function for Python's option parser modules";
|
|
|
|
|
license = "BSD";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2011-02-21 16:56:49 +00:00
|
|
|
|
gflags = buildPythonPackage rec {
|
|
|
|
|
name = "gflags-1.5.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://python-gflags.googlecode.com/files/python-${name}.tar.gz";
|
|
|
|
|
sha256 = "1p8blsc3z1wasi9dhbjij7m2czps17dll3cpj37v97fv5ww7al9v";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://code.google.com/p/python-gflags/;
|
|
|
|
|
description = "A module for command line handling, similar to Google's gflags for C++";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2011-03-30 18:03:49 +01:00
|
|
|
|
glance = buildPythonPackage rec {
|
|
|
|
|
name = "glance-0.1.7";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/g/glance/${name}.tar.gz";
|
|
|
|
|
md5 = "e733713ccd23e4a6253386a47971cfb5";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ nose mox ];
|
|
|
|
|
|
2012-12-03 06:37:04 +00:00
|
|
|
|
# tests fail for python2.6
|
|
|
|
|
doCheck = python.majorVersion != "2.6";
|
|
|
|
|
|
2012-02-21 23:35:35 +00:00
|
|
|
|
propagatedBuildInputs = [ gflags sqlalchemy webob routes eventlet ];
|
2011-03-30 18:03:49 +01:00
|
|
|
|
|
|
|
|
|
PYTHON_EGG_CACHE = "`pwd`/.egg-cache";
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = https://launchpad.net/glance;
|
|
|
|
|
description = "Services for discovering, registering, and retrieving virtual machine images";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2011-02-21 17:26:19 +00:00
|
|
|
|
greenlet = buildPythonPackage rec {
|
|
|
|
|
name = "greenlet-0.3.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/g/greenlet/${name}.tar.gz";
|
|
|
|
|
md5 = "8d75d7f3f659e915e286e1b0fa0e1c4d";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://pypi.python.org/pypi/greenlet;
|
|
|
|
|
description = "Module for lightweight in-process concurrent programming";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2012-07-25 15:55:49 +01:00
|
|
|
|
gyp = buildPythonPackage rec {
|
2013-05-28 22:27:28 +01:00
|
|
|
|
rev = "1635";
|
2012-07-25 15:55:49 +01:00
|
|
|
|
name = "gyp-r${rev}";
|
|
|
|
|
|
|
|
|
|
src = fetchsvn {
|
|
|
|
|
url = "http://gyp.googlecode.com/svn/trunk";
|
|
|
|
|
inherit rev;
|
2013-05-28 22:27:28 +01:00
|
|
|
|
sha256 = "1hn5gxgj2z399f71kz11m61ifds7mx4zkymnd1c87k1wyp7bs5k5";
|
2012-07-25 15:55:49 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-05-28 22:27:28 +01:00
|
|
|
|
patches = if pkgs.stdenv.isDarwin then [ ../development/python-modules/gyp/no-xcode.patch ../development/python-modules/gyp/no-darwin-cflags.patch ] else null;
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-07-25 15:55:49 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
postUnpack = "find . -print0 | xargs -0 touch";
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://code.google.com/p/gyp;
|
|
|
|
|
description = "Generate Your Projects";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-07-09 10:28:39 +01:00
|
|
|
|
|
|
|
|
|
hetzner = buildPythonPackage rec {
|
|
|
|
|
name = "hetzner-${version}";
|
2013-07-25 16:38:10 +01:00
|
|
|
|
version = "0.5.0";
|
2013-07-09 10:28:39 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://github.com/RedMoonStudios/hetzner/archive/"
|
|
|
|
|
+ "v${version}.tar.gz";
|
2013-07-25 16:38:10 +01:00
|
|
|
|
sha256 = "0i8b2nx4mf87qn4zz7kz321cl1bxlvjdwm7yh8md5hrhqbya4jw5";
|
2013-07-09 10:28:39 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# not there yet, but coming soon.
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = "https://github.com/RedMoonStudios/hetzner";
|
|
|
|
|
description = "High-level Python API for accessing the Hetzner robot";
|
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.aszlig ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-02-18 15:12:43 +00:00
|
|
|
|
html5lib = buildPythonPackage (rec {
|
2013-02-18 10:33:24 +00:00
|
|
|
|
name = "html5lib-0.95";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/h/html5lib/${name}.tar.gz";
|
|
|
|
|
md5 = "fe607f9917d81763e842f818f23464ee";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://code.google.com/p/html5lib/;
|
|
|
|
|
description = "HTML parser based on WHAT-WG HTML5 specification";
|
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
});
|
2012-07-25 15:55:49 +01:00
|
|
|
|
|
2013-03-31 21:58:48 +01:00
|
|
|
|
http_signature = buildPythonPackage (rec {
|
|
|
|
|
name = "http_signature-0.1.4";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/h/http_signature/${name}.tar.gz";
|
|
|
|
|
md5 = "015061846254bd5d8c5dbc2913985153";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [pycrypto];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = https://github.com/atl/py-http-signature;
|
|
|
|
|
description = "";
|
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2011-02-21 17:26:19 +00:00
|
|
|
|
httplib2 = buildPythonPackage rec {
|
2013-03-17 14:17:20 +00:00
|
|
|
|
name = "httplib2-0.8";
|
2011-02-21 17:26:19 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://httplib2.googlecode.com/files/${name}.tar.gz";
|
2013-03-17 14:17:20 +00:00
|
|
|
|
sha256 = "0gww8axb4j1vysbk9kfsk5vrws9a403gh30dxchmga8hrg1rns5g";
|
2011-02-21 17:26:19 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
2013-06-02 22:32:59 +01:00
|
|
|
|
homepage = http://code.google.com/p/httplib2;
|
2011-02-21 17:26:19 +00:00
|
|
|
|
description = "A comprehensive HTTP client library";
|
2012-10-01 12:05:57 +01:00
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
2011-02-21 17:26:19 +00:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-01-21 05:42:22 +00:00
|
|
|
|
importlib = if isPy26 then (buildPythonPackage {
|
|
|
|
|
name = "importlib-1.0.2";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/i/importlib/importlib-1.0.2.tar.gz";
|
|
|
|
|
md5 = "4aa23397da8bd7c7426864e88e4db7e1";
|
|
|
|
|
};
|
|
|
|
|
doCheck = false;
|
|
|
|
|
}) else null;
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2012-02-28 11:53:34 +00:00
|
|
|
|
iptools = buildPythonPackage rec {
|
|
|
|
|
version = "0.4.0";
|
|
|
|
|
name = "iptools-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/i/iptools/iptools-${version}.tar.gz";
|
|
|
|
|
md5 = "de60e5fab861f29dbf5f4446f8576532";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Utilities for manipulating IP addresses including a class that can be used to include CIDR network blocks in Django's INTERNAL_IPS setting.";
|
|
|
|
|
homepage = http://pypi.python.org/pypi/iptools;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
|
ipy = buildPythonPackage rec {
|
|
|
|
|
version = "0.74";
|
|
|
|
|
name = "ipy-${version}";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/I/IPy/IPy-${version}.tar.gz";
|
|
|
|
|
md5 = "f4f7ddc7c5e55a47222a5cc6c0a87b6d";
|
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2011-03-30 12:54:17 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Class and tools for handling of IPv4 and IPv6 addresses and networks";
|
|
|
|
|
homepage = http://pypi.python.org/pypi/IPy;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-01-21 05:50:10 +00:00
|
|
|
|
ipdb = buildPythonPackage {
|
|
|
|
|
name = "ipdb-0.7";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/i/ipdb/ipdb-0.7.tar.gz";
|
|
|
|
|
md5 = "d879f9b2b0f26e0e999809585dcaec61";
|
|
|
|
|
};
|
2013-04-13 08:52:50 +01:00
|
|
|
|
propagatedBuildInputs = [ pythonPackages.ipython ];
|
2013-01-21 05:50:10 +00:00
|
|
|
|
};
|
|
|
|
|
|
2013-03-19 17:56:55 +00:00
|
|
|
|
ipdbplugin = buildPythonPackage {
|
|
|
|
|
name = "ipdbplugin-1.2";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://pypi.python.org/packages/source/i/ipdbplugin/ipdbplugin-1.2.tar.gz";
|
|
|
|
|
md5 = "39169b00a2186b99469249c5b0613753";
|
|
|
|
|
};
|
2013-04-13 08:52:50 +01:00
|
|
|
|
propagatedBuildInputs = [ pythonPackages.nose pythonPackages.ipython ];
|
2013-03-19 17:56:55 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-01-03 18:28:12 +00:00
|
|
|
|
jedi = buildPythonPackage (rec {
|
2013-05-21 13:52:26 +01:00
|
|
|
|
name = "jedi-0.6.0";
|
2013-01-03 18:28:12 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/j/jedi/${name}.tar.gz";
|
2013-05-21 13:52:26 +01:00
|
|
|
|
sha256 = "0k27nai69ypi9whipg45s1myqr477wj7jaryqv37bqqij4jc85hg";
|
2013-01-03 18:28:12 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = "https://github.com/davidhalter/jedi";
|
|
|
|
|
description = "An autocompletion tool for Python that can be used for text editors.";
|
|
|
|
|
license = pkgs.lib.licenses.lgpl3Plus;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
|
};
|
|
|
|
|
});
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2013-07-28 10:12:13 +01:00
|
|
|
|
jinja2 = buildPythonPackage rec {
|
|
|
|
|
name = "Jinja2-2.7";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-28 10:12:13 +01:00
|
|
|
|
url = "http://pypi.python.org/packages/source/J/Jinja2/${name}.tar.gz";
|
|
|
|
|
sha256 = "0kgsd7h27jl2jpqa1ks88h93z50bsg0yr7qkicqpxbl9s4c1aks7";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-07-28 10:12:13 +01:00
|
|
|
|
propagatedBuildInputs = [ pythonPackages.markupsafe ];
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://jinja.pocoo.org/;
|
|
|
|
|
description = "Stand-alone template engine";
|
|
|
|
|
license = "BSD";
|
|
|
|
|
longDescription = ''
|
|
|
|
|
Jinja2 is a template engine written in pure Python. It provides a
|
|
|
|
|
Django inspired non-XML syntax but supports inline expressions and
|
|
|
|
|
an optional sandboxed environment.
|
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2013-04-07 14:34:35 +01:00
|
|
|
|
jmespath = buildPythonPackage rec {
|
2013-07-31 12:32:25 +01:00
|
|
|
|
name = "jmespath-0.0.2";
|
2013-04-07 14:34:35 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-31 12:32:25 +01:00
|
|
|
|
url = "https://github.com/boto/jmespath/archive/0.0.2.tar.gz";
|
|
|
|
|
sha256 = "0wr1gq3gdyn3n21pvj62csdm095512zxd10gkg5ai1vvxh0mbn3r";
|
2013-04-07 14:34:35 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ply ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = "https://github.com/boto/jmespath";
|
|
|
|
|
description = "JMESPath allows you to declaratively specify how to extract elements from a JSON document";
|
|
|
|
|
license = "BSD";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2012-08-31 13:47:47 +01:00
|
|
|
|
pylast = buildPythonPackage rec {
|
|
|
|
|
name = "pylast-${version}";
|
|
|
|
|
version = "0.5.11";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pylast/${name}.tar.gz";
|
|
|
|
|
md5 = "506cf1b13020b3ed2f3c845ea0c9830e";
|
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-08-31 13:47:47 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://code.google.com/p/pylast/;
|
|
|
|
|
description = "A python interface to last.fm (and compatibles)";
|
|
|
|
|
license = pkgs.lib.licenses.asl20;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2010-08-23 11:17:30 +01:00
|
|
|
|
libcloud = buildPythonPackage (rec {
|
2012-02-28 00:06:42 +00:00
|
|
|
|
name = "libcloud-0.3.1";
|
2010-08-23 11:17:30 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2012-02-28 00:06:42 +00:00
|
|
|
|
url = mirror://apache/incubator/libcloud/apache-libcloud-incubating-0.3.1.tar.bz2;
|
|
|
|
|
sha256 = "11qilrs4sd4c1mkd64ikrjsc2vwrshhc54n5mh4xrark9c7ayp0y";
|
2010-08-23 11:17:30 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-01-21 20:35:49 +00:00
|
|
|
|
buildInputs = [ zope_interface mock ];
|
2010-08-23 11:17:30 +01:00
|
|
|
|
|
|
|
|
|
preConfigure = "cp test/secrets.py-dist test/secrets.py";
|
|
|
|
|
|
2012-12-03 08:03:29 +00:00
|
|
|
|
# failing tests for 26 and 27
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
2010-08-23 11:17:30 +01:00
|
|
|
|
meta = {
|
|
|
|
|
description = "A unified interface to many cloud providers";
|
|
|
|
|
homepage = http://incubator.apache.org/libcloud/;
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2013-04-24 00:41:31 +01:00
|
|
|
|
limnoria = buildPythonPackage (rec {
|
|
|
|
|
name = "limnoria-20130327";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-30 08:35:36 +01:00
|
|
|
|
url = https://pypi.python.org/packages/source/l/limnoria/limnoria-2013-06-01T10:32:51+0200.tar.gz;
|
|
|
|
|
name = "limnoria-2013-06-01.tar.gz";
|
|
|
|
|
sha256 = "1i8q9zzf43sr3n1q4h6h1z8nz31g4aa8dq94ywvfbh7hklmchq6n";
|
2013-04-24 00:41:31 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-07-30 08:26:35 +01:00
|
|
|
|
buildInputs = [ pkgs.git ];
|
2013-07-27 19:51:54 +01:00
|
|
|
|
propagatedBuildInputs = [ modules.sqlite3 ];
|
2013-04-24 00:41:31 +01:00
|
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
description = "A modified version of Supybot, an IRC bot";
|
|
|
|
|
homepage = http://supybot.fr.cr;
|
|
|
|
|
license = licenses.bsd3;
|
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
2011-06-09 16:02:39 +01:00
|
|
|
|
lockfile = buildPythonPackage rec {
|
|
|
|
|
name = "lockfile-0.9.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pylockfile.googlecode.com/files/${name}.tar.gz";
|
|
|
|
|
sha1 = "1eebaee375641c9f29aeb21768f917dd2b985752";
|
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
|
|
|
|
doCheck = false;
|
2011-06-09 16:02:39 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://code.google.com/p/pylockfile/;
|
|
|
|
|
description = "Platform-independent advisory file locking capability for Python applications";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-10-11 16:05:33 +01:00
|
|
|
|
logilab_common = buildPythonPackage rec {
|
|
|
|
|
name = "logilab-common-0.58.2";
|
2011-07-19 17:02:37 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2012-10-11 16:05:33 +01:00
|
|
|
|
url = "http://download.logilab.org/pub/common/${name}.tar.gz";
|
|
|
|
|
sha256 = "0qfdyj2is0scpnkgpnqm12lh4yl27617l0irlilhk25cpgbbfbf9";
|
2011-07-19 17:02:37 +01:00
|
|
|
|
};
|
2012-10-11 16:05:33 +01:00
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ unittest2 ];
|
2011-07-19 17:02:37 +01:00
|
|
|
|
};
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2013-06-10 20:01:24 +01:00
|
|
|
|
"lxml-2.3.6" = buildPythonPackage rec {
|
|
|
|
|
name = "lxml-2.3.6";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/l/lxml/lxml-2.3.6.tar.gz";
|
|
|
|
|
md5 = "d5d886088e78b1bdbfd66d328fc2d0bc";
|
|
|
|
|
};
|
|
|
|
|
buildInputs = [ pkgs.libxml2 pkgs.libxslt ];
|
|
|
|
|
propagatedBuildInputs = [ ];
|
|
|
|
|
doCheck = false;
|
|
|
|
|
installCommand = ''
|
|
|
|
|
easy_install --always-unzip --no-deps --prefix="$out" .
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Pythonic binding for the libxml2 and libxslt libraries";
|
|
|
|
|
homepage = http://codespeak.net/lxml/index.html;
|
|
|
|
|
license = "BSD";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
lxml = buildPythonPackage ( rec {
|
2013-02-05 23:54:17 +00:00
|
|
|
|
name = "lxml-3.0.2";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-02-05 23:54:17 +00:00
|
|
|
|
url = "http://pypi.python.org/packages/source/l/lxml/${name}.tar.gz";
|
|
|
|
|
md5 = "38b15b0dd5e9292cf98be800e84a3ce4";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.libxml2 pkgs.libxslt ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Pythonic binding for the libxml2 and libxslt libraries";
|
|
|
|
|
homepage = http://codespeak.net/lxml/index.html;
|
|
|
|
|
license = "BSD";
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2011-03-30 11:02:23 +01:00
|
|
|
|
|
2013-08-13 13:49:42 +01:00
|
|
|
|
python_magic = buildPythonPackage rec {
|
2013-08-13 14:13:56 +01:00
|
|
|
|
name = "python-magic-0.4.3";
|
2011-03-30 11:02:23 +01:00
|
|
|
|
|
2013-08-13 14:13:56 +01:00
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/python-magic/${name}.tar.gz";
|
|
|
|
|
md5 = "eec9e2b1bcaf43308b7dacb3f2ecd8c1";
|
2013-08-13 10:13:59 +01:00
|
|
|
|
};
|
2011-03-30 11:02:23 +01:00
|
|
|
|
|
2013-08-13 10:13:59 +01:00
|
|
|
|
propagatedBuildInputs = [ pkgs.file ];
|
2011-03-30 11:02:23 +01:00
|
|
|
|
|
2013-08-13 10:13:59 +01:00
|
|
|
|
patchPhase = ''
|
|
|
|
|
substituteInPlace magic.py --replace "ctypes.CDLL(dll)" "ctypes.CDLL('${pkgs.file}/lib/libmagic.so')"
|
2012-04-30 15:34:57 +01:00
|
|
|
|
'';
|
2011-03-30 11:02:23 +01:00
|
|
|
|
|
2013-08-13 10:13:59 +01:00
|
|
|
|
# TODO: tests are failing
|
|
|
|
|
#checkPhase = ''
|
|
|
|
|
# ${python}/bin/${python.executable} ./test.py
|
|
|
|
|
#'';
|
|
|
|
|
|
2011-03-30 11:02:23 +01:00
|
|
|
|
meta = {
|
2013-08-13 10:13:59 +01:00
|
|
|
|
description = "python-magic is a python interface to the libmagic file type identification library";
|
|
|
|
|
homepage = https://github.com/ahupp/python-magic;
|
2011-03-30 11:02:23 +01:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-08-13 13:49:42 +01:00
|
|
|
|
magic = pkgs.stdenv.mkDerivation rec {
|
|
|
|
|
name = "python-${pkgs.file.name}";
|
|
|
|
|
|
|
|
|
|
src = pkgs.file.src;
|
|
|
|
|
|
|
|
|
|
patches = [ ../tools/misc/file/python.patch ];
|
|
|
|
|
buildInputs = [ python pkgs.file ];
|
|
|
|
|
|
|
|
|
|
configurePhase = "cd python";
|
|
|
|
|
|
|
|
|
|
buildPhase = "${python}/bin/${python.executable} setup.py build";
|
|
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
|
${python}/bin/${python.executable} setup.py install --prefix=$out
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A Python wrapper around libmagic";
|
|
|
|
|
homepage = http://www.darwinsys.com/file/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
|
m2crypto = buildPythonPackage rec {
|
|
|
|
|
version = "0.21.1";
|
|
|
|
|
name = "m2crypto-${version}";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-${version}.tar.gz";
|
|
|
|
|
md5 = "f93d8462ff7646397a9f77a2fe602d17";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.swig pkgs.openssl ];
|
|
|
|
|
|
2013-07-29 13:52:19 +01:00
|
|
|
|
buildPhase = "${python}/bin/${python.executable} setup.py build_ext --openssl=${pkgs.openssl}";
|
2011-03-30 12:54:17 +01:00
|
|
|
|
|
|
|
|
|
doCheck = false; # another test that depends on the network.
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A Python crypto and SSL toolkit";
|
|
|
|
|
homepage = http://chandlerproject.org/Projects/MeTooCrypto;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-02-17 22:39:00 +00:00
|
|
|
|
|
|
|
|
|
Mako = buildPythonPackage rec {
|
2013-08-14 09:42:35 +01:00
|
|
|
|
name = "Mako-0.8.1";
|
2013-02-17 22:39:00 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/M/Mako/${name}.tar.gz";
|
2013-08-14 09:42:35 +01:00
|
|
|
|
md5 = "96d962464ce6316004af0cc48495d73e";
|
2013-02-17 22:39:00 +00:00
|
|
|
|
};
|
|
|
|
|
|
2013-07-28 10:12:13 +01:00
|
|
|
|
buildInputs = [ markupsafe nose ];
|
|
|
|
|
propagatedBuildInputs = [ markupsafe ];
|
2013-02-17 22:39:00 +00:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Super-fast templating language.";
|
|
|
|
|
homepage = http://www.makotemplates.org;
|
|
|
|
|
license = "MIT";
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-07-28 10:12:13 +01:00
|
|
|
|
markupsafe = buildPythonPackage rec {
|
|
|
|
|
name = "markupsafe-0.15";
|
2013-02-17 22:39:00 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/M/MarkupSafe/${name}.tar.gz";
|
|
|
|
|
md5 = "4e7c4d965fe5e033fa2d7bb7746bb186";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Implements a XML/HTML/XHTML Markup safe string";
|
|
|
|
|
homepage = http://dev.pocoo.org;
|
|
|
|
|
license = "BSD";
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-01-18 01:21:24 +00:00
|
|
|
|
manuel = buildPythonPackage rec {
|
|
|
|
|
name = "manuel-${version}";
|
|
|
|
|
version = "1.6.0";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/m/manuel/${name}.tar.gz";
|
|
|
|
|
md5 = "53d6a6905301a20f6095e41d11968fff";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six zope_testing ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A documentation builder";
|
|
|
|
|
homepage = http://pypi.python.org/pypi/manuel;
|
|
|
|
|
license = "ZPL";
|
|
|
|
|
};
|
|
|
|
|
};
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2011-03-30 18:03:49 +01:00
|
|
|
|
markdown = buildPythonPackage rec {
|
2013-07-29 15:38:29 +01:00
|
|
|
|
version = "2.3.1";
|
2011-03-30 18:03:49 +01:00
|
|
|
|
name = "markdown-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-29 15:38:29 +01:00
|
|
|
|
url = "http://pypi.python.org/packages/source/M/Markdown/Markdown-${version}.tar.gz";
|
|
|
|
|
sha256 = "147j9hznv2r187a86d28glmg3pckfrdp0nz9yh7s1aqpawwdkszz";
|
2011-03-30 18:03:49 +01:00
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2011-03-30 18:03:49 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://www.freewisdom.org/projects/python-markdown;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2013-07-14 04:41:56 +01:00
|
|
|
|
# not sure if this is the best way to accomplish this -- needed to provide
|
|
|
|
|
# objective-c compiler on darwin
|
|
|
|
|
matplotlibStdenv = if stdenv.isDarwin
|
|
|
|
|
then pkgs.clangStdenv
|
|
|
|
|
else pkgs.stdenv;
|
|
|
|
|
|
|
|
|
|
matplotlib = matplotlibStdenv.mkDerivation (rec {
|
|
|
|
|
name = "matplotlib-1.2.1";
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
src = fetchurl {
|
2013-07-14 04:41:56 +01:00
|
|
|
|
url = "http://downloads.sourceforge.net/matplotlib/${name}.tar.gz";
|
|
|
|
|
sha256 = "16x2ksdxx5p92v98qngh29hdz1bnqy77fhggbjq30pyqmrr8kqaj";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2010-04-21 11:51:15 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
2013-07-14 04:41:56 +01:00
|
|
|
|
buildInputs = [ python pkgs.which pkgs.ghostscript ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
2013-07-14 04:41:56 +01:00
|
|
|
|
propagatedBuildInputs =
|
|
|
|
|
[ dateutil numpy pkgs.freetype pkgs.libpng pkgs.pkgconfig pkgs.tcl
|
|
|
|
|
pkgs.tk pkgs.xlibs.libX11 ];
|
|
|
|
|
|
|
|
|
|
buildPhase = "python setup.py build";
|
|
|
|
|
|
|
|
|
|
installPhase = "python setup.py install --prefix=$out";
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2010-04-21 11:51:15 +01:00
|
|
|
|
description = "python plotting library, making publication quality plots";
|
2013-07-14 04:41:56 +01:00
|
|
|
|
homepage = "http://matplotlib.sourceforge.net/";
|
2013-07-30 10:39:51 +01:00
|
|
|
|
maintainers = with maintainers; [ lovek323 ];
|
2013-07-14 04:41:56 +01:00
|
|
|
|
platforms = platforms.unix;
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2013-03-17 14:23:56 +00:00
|
|
|
|
mccabe = buildPythonPackage (rec {
|
2013-07-18 07:21:41 +01:00
|
|
|
|
name = "mccabe-0.2.1";
|
2013-03-17 14:23:56 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/m/mccabe/${name}.tar.gz";
|
2013-07-18 07:21:41 +01:00
|
|
|
|
md5 = "5a3f3fa6a4bad126c88aaaa7dab682f5";
|
2013-03-17 14:23:56 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "McCabe checker, plugin for flake8";
|
|
|
|
|
homepage = "https://github.com/flintwork/mccabe";
|
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
mechanize = buildPythonPackage (rec {
|
|
|
|
|
name = "mechanize-0.1.11";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://wwwsearch.sourceforge.net/mechanize/src/${name}.tar.gz";
|
|
|
|
|
sha256 = "1h62mwy4iz09jqz17nrb9j8y0djd500zdfqwrz9xmdwqzqwixkj2";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ clientform ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Stateful programmatic web browsing in Python";
|
|
|
|
|
|
|
|
|
|
homepage = http://wwwsearch.sourceforge.net/;
|
|
|
|
|
|
|
|
|
|
license = "BSD-style";
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2013-06-22 13:10:10 +01:00
|
|
|
|
meld3 = buildPythonPackage rec {
|
|
|
|
|
name = "meld3-0.6.10";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = https://pypi.python.org/packages/source/m/meld3/meld3-0.6.10.tar.gz;
|
|
|
|
|
md5 = "42e58624e9d427be7659d7a28e2b0b6f";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "An HTML/XML templating engine used by supervisor";
|
|
|
|
|
homepage = https://github.com/supervisor/meld3;
|
|
|
|
|
license = "ZPL";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2012-05-30 22:12:40 +01:00
|
|
|
|
memcached = buildPythonPackage rec {
|
|
|
|
|
name = "memcached-1.48";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "ftp://ftp.tummy.com/pub/python-memcached/old-releases/python-memcached-1.48.tar.gz";
|
|
|
|
|
sha256 = "1i0h05z9j0zl65rgvw86p4f54pigkxynhzppn4qxby8rjlnwdfv6";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Python API for communicating with the memcached distributed memory object cache daemon";
|
|
|
|
|
homepage = http://www.tummy.com/Community/software/python-memcached/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-06-04 16:12:07 +01:00
|
|
|
|
mitmproxy = buildPythonPackage rec {
|
|
|
|
|
baseName = "mitmproxy";
|
|
|
|
|
name = "${baseName}-${meta.version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "${meta.homepage}/download/${name}.tar.gz";
|
|
|
|
|
sha256 = "1ddqni6d4kc8ypl6yig4nc00izvbk359sz6hykb9g0lfcpfqlngj";
|
|
|
|
|
};
|
2013-07-23 10:23:09 +01:00
|
|
|
|
|
2013-06-04 16:12:07 +01:00
|
|
|
|
buildInputs = [
|
|
|
|
|
pkgs.pyopenssl pyasn1 urwid pil lxml flask protobuf netlib
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
postInstall = ''
|
2013-07-23 10:23:09 +01:00
|
|
|
|
for prog in "$out/bin/"*; do
|
2013-06-04 16:12:07 +01:00
|
|
|
|
wrapProgram "$prog" \
|
|
|
|
|
--prefix PYTHONPATH : "$PYTHONPATH"
|
|
|
|
|
done
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
version = "0.9";
|
|
|
|
|
description = ''Man-in-the-middle proxy'';
|
|
|
|
|
homepage = "http://mitmproxy.org/";
|
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
|
};
|
|
|
|
|
};
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2010-06-20 16:52:28 +01:00
|
|
|
|
mock = buildPythonPackage (rec {
|
2013-03-27 01:24:55 +00:00
|
|
|
|
name = "mock-1.0.1";
|
2010-06-20 16:52:28 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2011-04-04 15:38:53 +01:00
|
|
|
|
url = "http://pypi.python.org/packages/source/m/mock/${name}.tar.gz";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
md5 = "c3971991738caa55ec7c356bbc154ee2";
|
2010-06-20 16:52:28 +01:00
|
|
|
|
};
|
|
|
|
|
|
2011-04-04 15:38:53 +01:00
|
|
|
|
buildInputs = [ unittest2 ];
|
2010-06-20 16:52:28 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Mock objects for Python";
|
|
|
|
|
|
|
|
|
|
homepage = http://python-mock.sourceforge.net/;
|
|
|
|
|
|
|
|
|
|
license = "mBSD";
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2011-03-30 18:03:49 +01:00
|
|
|
|
|
|
|
|
|
mox = buildPythonPackage rec {
|
|
|
|
|
name = "mox-0.5.3";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pymox.googlecode.com/files/${name}.tar.gz";
|
|
|
|
|
sha1 = "b71aeaacf31898c3b38d8b9ca5bcc0664499c0de";
|
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2011-03-30 18:03:49 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://code.google.com/p/pymox/;
|
|
|
|
|
description = "A mock object framework for Python.";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2013-01-17 23:20:45 +00:00
|
|
|
|
mrbob = buildPythonPackage rec {
|
|
|
|
|
name = "mrbob-${version}";
|
2013-06-26 23:36:28 +01:00
|
|
|
|
version = "0.1a9";
|
2013-01-17 23:20:45 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/m/mr.bob/mr.bob-${version}.zip";
|
2013-06-26 23:36:28 +01:00
|
|
|
|
md5 = "2d27d9bd1fc6269a3ecfd1a1ae47cd8a";
|
2013-01-17 23:20:45 +00:00
|
|
|
|
};
|
|
|
|
|
|
2013-06-26 23:36:28 +01:00
|
|
|
|
buildInputs = [ pkgs.unzip ];
|
2013-01-17 23:20:45 +00:00
|
|
|
|
|
2013-07-27 19:51:54 +01:00
|
|
|
|
propagatedBuildInputs = [ argparse jinja2 six modules.readline ] ++
|
2013-06-26 23:36:28 +01:00
|
|
|
|
(optionals isPy26 [ importlib ordereddict ]);
|
2013-01-17 23:20:45 +00:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = https://github.com/iElectric/mr.bob.git;
|
|
|
|
|
description = "A tool to generate code skeletons from templates";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-02-18 13:08:48 +00:00
|
|
|
|
munkres = buildPythonPackage rec {
|
|
|
|
|
name = "munkres-1.0.5.4";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/m/munkres/${name}.tar.gz";
|
|
|
|
|
md5 = "cb9d114fb523428bab4742e88bc83696";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# error: invalid command 'test'
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://bmc.github.com/munkres/;
|
|
|
|
|
description = "Munkres algorithm for the Assignment Problem";
|
|
|
|
|
license = pkgs.lib.licenses.bsd3;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
musicbrainzngs = buildPythonPackage rec {
|
|
|
|
|
name = "musicbrainzngs-0.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/m/musicbrainzngs/${name}.tar.gz";
|
|
|
|
|
md5 = "bc32aa1cf121f29c3ca1c06e9668865f";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://alastair/python-musicbrainz-ngs;
|
|
|
|
|
description = "Python bindings for musicbrainz NGS webservice";
|
|
|
|
|
license = pkgs.lib.licenses.bsd2;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2013-08-23 08:57:12 +01:00
|
|
|
|
muttils = buildPythonPackage (rec {
|
|
|
|
|
name = "muttils-1.3";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = http://www.blacktrash.org/hg/muttils/archive/8bb26094df06.tar.bz2;
|
|
|
|
|
sha256 = "1a4kxa0fpgg6rdj5p4kggfn8xpniqh8v5kbiaqc6wids02m7kag6";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Tests don't work
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Utilities for use with console mail clients, like mutt";
|
|
|
|
|
homepage = http://www.blacktrash.org/hg/muttils;
|
|
|
|
|
license = "GPLv2+";
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
2011-03-30 11:02:23 +01:00
|
|
|
|
MySQL_python = buildPythonPackage {
|
|
|
|
|
name = "MySQL-python-1.2.3";
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# plenty of failing tests
|
2011-03-30 11:02:23 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = mirror://sourceforge/mysql-python/MySQL-python-1.2.3.tar.gz;
|
|
|
|
|
sha256 = "0vkyg9dmj29hzk7fy77f42p7bfj28skyzsjsjry4wqr3z6xnzrkx";
|
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pkgs.mysql pkgs.zlib ];
|
2011-03-30 11:02:23 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "MySQL database binding for Python";
|
|
|
|
|
|
|
|
|
|
homepage = http://sourceforge.net/projects/mysql-python;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-03-27 01:24:55 +00:00
|
|
|
|
mysql_connector_repackaged = buildPythonPackage rec {
|
|
|
|
|
name = "mysql-connector-repackaged-0.3.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/m/mysql-connector-repackaged/${name}.tar.gz";
|
|
|
|
|
md5 = "0b17ad1cb3fe763fd44487cb97cf45b2";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [
|
|
|
|
|
stdenv.lib.maintainers.garbas
|
|
|
|
|
stdenv.lib.maintainers.iElectric
|
|
|
|
|
];
|
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
namebench = buildPythonPackage (rec {
|
|
|
|
|
name = "namebench-1.0.5";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://namebench.googlecode.com/files/${name}.tgz";
|
|
|
|
|
sha256 = "6cbde35ce94d1f31e7d48f5d8eec13238b4dbc505675a33f1e183e600c1482c3";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# No support of GUI yet.
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2010-04-21 11:51:15 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://namebench.googlecode.com/;
|
|
|
|
|
description = "Find fastest DNS servers available";
|
|
|
|
|
license = [
|
|
|
|
|
"Apache-2.0"
|
|
|
|
|
# third-party program licenses (embedded in the sources)
|
|
|
|
|
"LGPL" # Crystal_Clear
|
|
|
|
|
"free" # dns
|
|
|
|
|
"Apache-2.0" # graphy
|
|
|
|
|
"BSD" # jinja2
|
|
|
|
|
];
|
|
|
|
|
longDescription = ''
|
|
|
|
|
It hunts down the fastest DNS servers available for your computer to
|
|
|
|
|
use. namebench runs a fair and thorough benchmark using your web
|
|
|
|
|
browser history, tcpdump output, or standardized datasets in order
|
|
|
|
|
to provide an individualized recommendation. namebench is completely
|
|
|
|
|
free and does not modify your system in any way.
|
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2011-02-21 17:09:09 +00:00
|
|
|
|
netaddr = buildPythonPackage rec {
|
|
|
|
|
name = "netaddr-0.7.5";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://github.com/downloads/drkjam/netaddr/${name}.tar.gz";
|
|
|
|
|
sha256 = "0ssxic389rdc79zkz8dxcjpqdi5qs80h12khkag410cl9cwk11f2";
|
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
|
|
|
|
doCheck = false;
|
2011-02-21 17:09:09 +00:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = https://github.com/drkjam/netaddr/;
|
|
|
|
|
description = "A network address manipulation library for Python";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-07-26 12:18:08 +01:00
|
|
|
|
netifaces = buildPythonPackage rec {
|
|
|
|
|
version = "0.8";
|
|
|
|
|
name = "netifaces-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://alastairs-place.net/projects/netifaces/${name}.tar.gz";
|
|
|
|
|
sha256 = "1v5i39kx4yz1pwgjfbzi63w55l2z318zgmi9f77ybmmkil1i39sk";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://alastairs-place.net/projects/netifaces/;
|
|
|
|
|
description = "Portable access to network interfaces from Python";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-06-04 16:12:07 +01:00
|
|
|
|
netlib = buildPythonPackage rec {
|
|
|
|
|
baseName = "netlib";
|
|
|
|
|
name = "${baseName}-${meta.version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://github.com/cortesi/netlib/archive/v${meta.version}.tar.gz";
|
|
|
|
|
name = "${name}.tar.gz";
|
|
|
|
|
sha256 = "1y8lx2j1jrr93mqfb06zg1x5jm9lllw744sb61ib8dagw43nnq3v";
|
|
|
|
|
};
|
2013-07-23 10:23:09 +01:00
|
|
|
|
|
2013-06-04 16:12:07 +01:00
|
|
|
|
buildInputs = [
|
|
|
|
|
pkgs.pyopenssl pyasn1
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
version = "0.9";
|
|
|
|
|
description = ''Man-in-the-middle proxy'';
|
|
|
|
|
homepage = "https://github.com/cortesi/netlib";
|
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
|
};
|
|
|
|
|
};
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
nevow = buildPythonPackage (rec {
|
2010-07-28 00:52:02 +01:00
|
|
|
|
name = "nevow-${version}";
|
|
|
|
|
version = "0.10.0";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2012-12-03 05:54:13 +00:00
|
|
|
|
url = "http://pypi.python.org/packages/source/N/Nevow/Nevow-${version}.tar.gz";
|
2010-07-28 00:52:02 +01:00
|
|
|
|
sha256 = "90631f68f626c8934984908d3df15e7c198939d36be7ead1305479dfc67ff6d0";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
name = "${name}.tar.gz";
|
|
|
|
|
};
|
|
|
|
|
|
2013-06-27 19:04:36 +01:00
|
|
|
|
propagatedBuildInputs = [ twisted ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
2013-06-27 19:04:36 +01:00
|
|
|
|
postInstall = "twistd --help > /dev/null";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
2013-06-27 19:04:36 +01: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";
|
|
|
|
|
};
|
|
|
|
|
});
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
2011-11-18 17:07:40 +00:00
|
|
|
|
nose = buildPythonPackage rec {
|
2013-07-28 10:31:41 +01:00
|
|
|
|
name = "nose-1.3.0";
|
2011-02-11 22:49:27 +00:00
|
|
|
|
|
2010-12-22 17:03:30 +00:00
|
|
|
|
src = fetchurl {
|
2011-11-18 17:07:40 +00:00
|
|
|
|
url = "http://pypi.python.org/packages/source/n/nose/${name}.tar.gz";
|
2013-07-28 10:31:41 +01:00
|
|
|
|
sha256 = "0q2j9zz39h3liwbp6lb94kl3sxb9z9rbwh5dzyccyxfy4lrwqqsf";
|
2010-12-22 17:03:30 +00:00
|
|
|
|
};
|
2011-02-11 22:49:27 +00:00
|
|
|
|
|
2010-12-22 17:03:30 +00:00
|
|
|
|
meta = {
|
|
|
|
|
description = "A unittest-based testing framework for python that makes writing and running tests easier";
|
|
|
|
|
};
|
2012-12-05 11:22:43 +00:00
|
|
|
|
|
2012-12-06 07:24:38 +00:00
|
|
|
|
buildInputs = [ coverage ];
|
2013-02-04 12:19:31 +00:00
|
|
|
|
|
|
|
|
|
doCheck = ! stdenv.isDarwin;
|
2013-07-30 08:51:43 +01:00
|
|
|
|
checkPhase = if python.is_py3k or false then ''
|
|
|
|
|
${python}/bin/${python.executable} setup.py build_tests
|
|
|
|
|
'' else "" + ''
|
|
|
|
|
${python}/bin/${python.executable} selftest.py
|
|
|
|
|
'';
|
2010-12-22 17:03:30 +00:00
|
|
|
|
};
|
|
|
|
|
|
2013-01-21 05:42:22 +00:00
|
|
|
|
nose2 = if isPy26 then null else (buildPythonPackage rec {
|
2013-01-20 15:45:02 +00:00
|
|
|
|
name = "nose2-0.4.5";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/n/nose2/${name}.tar.gz";
|
|
|
|
|
md5 = "d7e51c848227488e3cc0424faf5511cd";
|
|
|
|
|
};
|
|
|
|
|
meta = {
|
|
|
|
|
description = "nose2 is the next generation of nicer testing for Python";
|
|
|
|
|
};
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
# AttributeError: 'module' object has no attribute 'collector'
|
|
|
|
|
doCheck = false;
|
2013-01-21 05:42:22 +00:00
|
|
|
|
});
|
2013-01-20 15:45:02 +00:00
|
|
|
|
|
2013-01-21 05:42:22 +00:00
|
|
|
|
nose2Cov = if isPy26 then null else (buildPythonPackage rec {
|
2013-01-20 15:45:02 +00:00
|
|
|
|
name = "nose2-cov-1.0a4";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/n/nose2-cov/nose2-cov-1.0a4.tar.gz";
|
|
|
|
|
md5 = "6442f03e2ea732b0e38eb5b00fbe0b31";
|
|
|
|
|
};
|
|
|
|
|
meta = {
|
|
|
|
|
description = "nose2 plugin for coverage reporting, including subprocesses and multiprocessing";
|
|
|
|
|
};
|
2013-01-21 07:37:28 +00:00
|
|
|
|
propagatedBuildInputs = [ covCore nose2 ];
|
2013-01-21 05:42:22 +00:00
|
|
|
|
});
|
2013-01-20 15:45:02 +00:00
|
|
|
|
|
2013-06-10 23:23:35 +01:00
|
|
|
|
nosejs = buildPythonPackage {
|
|
|
|
|
name = "nosejs-0.9.4";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = https://pypi.python.org/packages/source/N/NoseJS/NoseJS-0.9.4.tar.gz;
|
|
|
|
|
sha256 = "0qrhkd3sga56qf6k0sqyhwfcladwi05gl6aqmr0xriiq1sgva5dy";
|
|
|
|
|
};
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
};
|
|
|
|
|
|
2013-06-10 12:52:45 +01:00
|
|
|
|
nose-cprof = buildPythonPackage rec {
|
|
|
|
|
name = "nose-cprof-0.1-0";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://pypi.python.org/packages/source/n/nose-cprof/${name}.tar.gz";
|
|
|
|
|
md5 = "5db27c3b8f01915335ae6fc5fd3afd44";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A python nose plugin to profile using cProfile rather than the default Hotshot profiler.";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
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";
|
|
|
|
|
};
|
|
|
|
|
|
2013-05-27 09:05:15 +01:00
|
|
|
|
patches = pkgs.lib.singleton (fetchurl {
|
|
|
|
|
name = "libnotify07.patch";
|
|
|
|
|
url = "http://pkgs.fedoraproject.org/cgit/notify-python.git/plain/"
|
|
|
|
|
+ "libnotify07.patch?id2=289573d50ae4838a1658d573d2c9f4c75e86db0c";
|
|
|
|
|
sha256 = "1lqdli13mfb59xxbq4rbq1f0znh6xr17ljjhwmzqb79jl3dig12z";
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
|
sed -i -e '/^PYGTK_CODEGEN/s|=.*|="${pygtk}/bin/pygtk-codegen-2.0"|' \
|
|
|
|
|
configure
|
|
|
|
|
'';
|
|
|
|
|
|
2013-01-20 01:28:09 +00:00
|
|
|
|
buildInputs = [ python pkgs.pkgconfig pkgs.libnotify pygobject pygtk pkgs.glib pkgs.gtk pkgs.dbus_glib ];
|
2010-07-06 15:54:22 +01:00
|
|
|
|
|
2011-07-21 23:18:41 +01:00
|
|
|
|
postInstall = "cd $out/lib/python*/site-packages && ln -s gtk-*/pynotify .";
|
2011-09-13 21:10:37 +01:00
|
|
|
|
|
2010-07-06 15:54:22 +01:00
|
|
|
|
meta = {
|
|
|
|
|
description = "Python bindings for libnotify";
|
|
|
|
|
homepage = http://www.galago-project.org/;
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2012-04-30 15:34:57 +01:00
|
|
|
|
notmuch = pkgs.stdenv.mkDerivation rec {
|
|
|
|
|
name = "python-${pkgs.notmuch.name}";
|
|
|
|
|
|
|
|
|
|
src = pkgs.notmuch.src;
|
|
|
|
|
|
|
|
|
|
buildInputs = [ python pkgs.notmuch ];
|
|
|
|
|
#propagatedBuildInputs = [ python pkgs.notmuch ];
|
|
|
|
|
|
|
|
|
|
configurePhase = "cd bindings/python";
|
|
|
|
|
|
|
|
|
|
buildPhase = "python setup.py build";
|
|
|
|
|
|
|
|
|
|
installPhase = "python setup.py install --prefix=$out";
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A Python wrapper around notmuch";
|
|
|
|
|
homepage = http://notmuchmail.org/;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
numpy = buildPythonPackage ( rec {
|
2013-07-29 16:10:40 +01:00
|
|
|
|
name = "numpy-1.7.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";
|
2013-07-29 16:10:40 +01:00
|
|
|
|
sha256 = "0jh832j439jj2b7m1z5a4rv5cpdn1yiw1r6gwrhdihw562d029am";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-07-14 04:42:33 +01:00
|
|
|
|
preConfigure = ''
|
|
|
|
|
sed -i 's/-faltivec//' numpy/distutils/system_info.py
|
|
|
|
|
'';
|
|
|
|
|
|
2012-05-09 08:22:18 +01:00
|
|
|
|
# TODO: add ATLAS=${pkgs.atlas}
|
2010-07-28 14:05:35 +01:00
|
|
|
|
installCommand = ''
|
2012-05-09 08:22:18 +01:00
|
|
|
|
export BLAS=${pkgs.blas} LAPACK=${pkgs.liblapack}
|
2013-07-29 13:52:19 +01:00
|
|
|
|
${python}/bin/${python.executable} setup.py build --fcompiler="gnu95"
|
|
|
|
|
${python}/bin/${python.executable} setup.py install --prefix=$out
|
2010-07-28 14:05:35 +01:00
|
|
|
|
'';
|
2012-12-03 05:38:11 +00:00
|
|
|
|
|
|
|
|
|
# error: invalid command 'test'
|
2010-04-21 11:51:15 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
2010-07-28 14:05:35 +01:00
|
|
|
|
buildInputs = [ pkgs.gfortran ];
|
|
|
|
|
propagatedBuildInputs = [ pkgs.liblapack pkgs.blas ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Scientific tools for Python";
|
|
|
|
|
homepage = "http://numpy.scipy.org/";
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2012-10-01 12:05:57 +01:00
|
|
|
|
oauth2 = buildPythonPackage (rec {
|
2012-12-03 05:38:11 +00:00
|
|
|
|
name = "oauth2-1.5.211";
|
2012-10-01 12:05:57 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/o/oauth2/oauth2-1.5.211.tar.gz";
|
|
|
|
|
sha256 = "82a38f674da1fa496c0fc4df714cbb058540bed72a30c50a2e344b0d984c4d21";
|
|
|
|
|
};
|
|
|
|
|
|
2012-11-06 23:53:19 +00:00
|
|
|
|
propagatedBuildInputs = [ httplib2 ];
|
2012-12-03 05:38:11 +00:00
|
|
|
|
|
2012-12-06 07:24:38 +00:00
|
|
|
|
buildInputs = [ mock coverage ];
|
|
|
|
|
|
|
|
|
|
# ServerNotFoundError: Unable to find the server at oauth-sandbox.sevengoslings.net
|
2012-12-14 19:24:12 +00:00
|
|
|
|
doCheck = false;
|
2012-10-01 12:05:57 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = "https://github.com/simplegeo/python-oauth2";
|
|
|
|
|
description = "library for OAuth version 1.0";
|
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2013-07-17 21:19:29 +01:00
|
|
|
|
|
|
|
|
|
oauthlib = buildPythonPackage rec {
|
|
|
|
|
name = "oauthlib-0.5.0";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/o/oauthlib/${name}.tar.gz";
|
|
|
|
|
md5 = "d12c507de33403ebdf290fbffdb98213";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ mock nose unittest2 ];
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pycrypto ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = https://github.com/idan/oauthlib;
|
|
|
|
|
description = "A generic, spec-compliant, thorough implementation of the OAuth request-signing logic";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-06-04 10:35:59 +01:00
|
|
|
|
obfsproxy = buildPythonPackage ( rec {
|
|
|
|
|
name = "obfsproxy-0.2.2";
|
|
|
|
|
src = fetchgit {
|
|
|
|
|
url = https://git.torproject.org/pluggable-transports/obfsproxy.git;
|
|
|
|
|
rev = "3c4e843a30c430aec1de03e0e09ef654072efc03";
|
2013-06-19 00:02:57 +01:00
|
|
|
|
sha256 = "8fd1e63a37bc42add7609d97d50ecd81da81881bcf7015a9e2958531dbf39018";
|
2013-06-04 10:35:59 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyptlib argparse twisted pycrypto ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "a pluggable transport proxy";
|
|
|
|
|
homepage = https://www.torproject.org/projects/obfsproxy;
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2012-07-21 20:43:39 +01:00
|
|
|
|
# optfunc = buildPythonPackage ( rec {
|
|
|
|
|
# name = "optfunc-git";
|
|
|
|
|
#
|
|
|
|
|
# src = pkgs.fetchgit {
|
|
|
|
|
# url = "https://github.com/simonw/optfunc.git";
|
|
|
|
|
# rev = "e3fa034a545ed94ac5a039cf5b170c7d0ee21b7b";
|
|
|
|
|
# };
|
|
|
|
|
#
|
|
|
|
|
# installCommand = ''
|
|
|
|
|
# dest=$(toPythonPath $out)/optfunc
|
|
|
|
|
# mkdir -p $dest
|
|
|
|
|
# cp * $dest/
|
|
|
|
|
# '';
|
|
|
|
|
#
|
|
|
|
|
# doCheck = false;
|
|
|
|
|
#
|
|
|
|
|
# meta = {
|
|
|
|
|
# description = "A new experimental interface to optparse which works by introspecting a function definition";
|
|
|
|
|
# homepage = "http://simonwillison.net/2009/May/28/optfunc/";
|
|
|
|
|
# };
|
|
|
|
|
# });
|
2011-03-26 18:23:20 +00:00
|
|
|
|
|
2013-01-21 05:42:22 +00:00
|
|
|
|
ordereddict = if isPy26 then (buildPythonPackage {
|
|
|
|
|
name = "ordereddict-1.1";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/o/ordereddict/ordereddict-1.1.tar.gz";
|
|
|
|
|
md5 = "a0ed854ee442051b249bfad0f638bbec";
|
|
|
|
|
};
|
|
|
|
|
doCheck = false;
|
|
|
|
|
}) else null;
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
ply = buildPythonPackage (rec {
|
2013-04-07 14:34:35 +01:00
|
|
|
|
name = "ply-3.4";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://www.dabeaz.com/ply/${name}.tar.gz";
|
2013-04-07 14:34:35 +01:00
|
|
|
|
sha256 = "0sslnbpws847r1j1f41fjpn76w0asywfqgxwzyjrvmmxnw8myhxg";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
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";
|
|
|
|
|
|
2013-08-16 22:44:33 +01:00
|
|
|
|
maintainers = [ ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2013-06-18 08:51:35 +01:00
|
|
|
|
pandas = buildPythonPackage rec {
|
|
|
|
|
name = "pandas-0.11.0";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://pypi.python.org/packages/source/p/pandas/${name}.tar.gz";
|
|
|
|
|
sha256 = "1mwh783hcch6lywgjayj8aqmbfv6n8fd2qbf1xlwqk2913ad8x2d";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
2013-07-27 19:51:54 +01:00
|
|
|
|
propagatedBuildInputs = [ dateutil numpy pytz modules.sqlite3 ];
|
2013-06-18 08:51:35 +01:00
|
|
|
|
|
|
|
|
|
# Tests require networking to pass
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = "http://pandas.pydata.org/";
|
|
|
|
|
description = "Python Data Analysis Library";
|
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
|
};
|
|
|
|
|
};
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2012-05-30 22:12:40 +01:00
|
|
|
|
paramiko = buildPythonPackage rec {
|
2013-08-03 06:27:12 +01:00
|
|
|
|
name = "paramiko-1.11.0";
|
2010-09-28 10:33:35 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-08-03 06:27:12 +01:00
|
|
|
|
url = "http://pypi.python.org/packages/source/p/paramiko/${name}.tar.gz";
|
|
|
|
|
md5 = "a2c55dc04904bd08d984533703177084";
|
2010-09-28 10:33:35 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-08-03 06:28:05 +01:00
|
|
|
|
propagatedBuildInputs = [ pycrypto ];
|
2010-10-26 02:42:22 +01:00
|
|
|
|
|
2013-08-14 17:50:47 +01:00
|
|
|
|
checkPhase = "python test.py";
|
|
|
|
|
|
2010-09-28 10:33:35 +01:00
|
|
|
|
meta = {
|
|
|
|
|
homepage = "http://www.lag.net/paramiko/";
|
|
|
|
|
description = "SSH2 protocol for python";
|
|
|
|
|
license = "LGPL";
|
|
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
|
paramiko is a module for python 2.2 (or higher) that implements the
|
|
|
|
|
SSH2 protocol for secure (encrypted and authenticated) connections to
|
|
|
|
|
remote machines. unlike SSL (aka TLS), SSH2 protocol does not require
|
|
|
|
|
heirarchical certificates signed by a powerful central authority. you
|
|
|
|
|
may know SSH2 as the protocol that replaced telnet and rsh for secure
|
|
|
|
|
access to remote shells, but the protocol also includes the ability
|
|
|
|
|
to open arbitrary channels to remote services across the encrypted
|
|
|
|
|
tunnel -- this is how sftp works, for example. it is written
|
|
|
|
|
entirely in python (no C or platform-dependent code) and is released
|
|
|
|
|
under the GNU LGPL (lesser GPL). '';
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
|
|
|
|
|
|
paste = buildPythonPackage rec {
|
|
|
|
|
name = "paste-1.7.5.1";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = http://pypi.python.org/packages/source/P/Paste/Paste-1.7.5.1.tar.gz;
|
|
|
|
|
md5 = "7ea5fabed7dca48eb46dc613c4b6c4ed";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
|
|
|
|
|
doCheck = false; # some files required by the test seem to be missing
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Tools for using a Web Server Gateway Interface stack";
|
|
|
|
|
homepage = http://pythonpaste.org/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
|
paste_deploy = buildPythonPackage rec {
|
2013-03-27 01:24:55 +00:00
|
|
|
|
version = "1.5.0";
|
2011-03-30 12:54:17 +01:00
|
|
|
|
name = "paste-deploy-${version}";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/P/PasteDeploy/PasteDeploy-${version}.tar.gz";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
md5 = "f1a068a0b680493b6eaff3dd7690690f";
|
2011-03-30 12:54:17 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Load, configure, and compose WSGI applications and servers";
|
|
|
|
|
homepage = http://pythonpaste.org/deploy/;
|
2013-03-27 01:24:55 +00:00
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2011-03-30 12:54:17 +01:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2012-08-31 14:03:27 +01:00
|
|
|
|
pep8 = buildPythonPackage rec {
|
|
|
|
|
name = "pep8-${version}";
|
2013-07-18 07:21:41 +01:00
|
|
|
|
version = "1.4.6";
|
2012-08-31 14:03:27 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pep8/${name}.tar.gz";
|
2013-07-18 07:21:41 +01:00
|
|
|
|
md5 = "a03bb494859e87b42601b61b1b043a0c";
|
2013-03-17 14:23:56 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#======================================================================
|
|
|
|
|
#FAIL: test_check_simple (testsuite.test_shell.ShellTestCase)
|
|
|
|
|
#----------------------------------------------------------------------
|
|
|
|
|
#Traceback (most recent call last):
|
|
|
|
|
# File "/tmp/nix-build-python-pep8-1.4.5.drv-0/pep8-1.4.5/testsuite/test_shell.py", line 84, in test_check_simple
|
|
|
|
|
# self.assertTrue(config_filename.endswith('tox.ini'))
|
|
|
|
|
#AssertionError: False is not true
|
|
|
|
|
#
|
|
|
|
|
#----------------------------------------------------------------------
|
|
|
|
|
#Ran 21 tests in 0.711s
|
|
|
|
|
#
|
|
|
|
|
#FAILED (failures=1)
|
|
|
|
|
doCheck = false;
|
2012-08-31 14:03:27 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
2013-03-17 14:23:56 +00:00
|
|
|
|
homepage = "http://pep8.readthedocs.org/";
|
2012-08-31 14:03:27 +01:00
|
|
|
|
description = "Python style guide checker";
|
|
|
|
|
license = pkgs.lib.licenses.mit;
|
2013-03-17 14:23:56 +00:00
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
2012-08-31 14:03:27 +01:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2010-08-26 13:03:17 +01:00
|
|
|
|
pexpect = buildPythonPackage {
|
|
|
|
|
name = "pexpect-2.3";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-14 02:17:07 +01:00
|
|
|
|
url = "mirror://sourceforge/pexpect/pexpect-2.3.tar.gz";
|
2010-08-26 13:03:17 +01:00
|
|
|
|
sha256 = "0x8bfjjqygriry1iyygm5048ykl5qpbpzqfp6i8dhkslm3ryf5fk";
|
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2010-08-26 13:52:43 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
2010-08-26 13:03:17 +01:00
|
|
|
|
meta = {
|
|
|
|
|
homepage = "http://www.noah.org/wiki/Pexpect";
|
|
|
|
|
description = "Automate interactive console applications such as ssh, ftp, etc.";
|
|
|
|
|
license = "MIT";
|
|
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
|
Pexpect is similar to the Don Libes "Expect" system, but Pexpect
|
|
|
|
|
as a different interface that is easier to understand. Pexpect
|
|
|
|
|
is basically a pattern matching system. It runs programs and
|
|
|
|
|
watches output. When output matches a given pattern Pexpect can
|
|
|
|
|
respond as if a human were typing responses. Pexpect can be used
|
|
|
|
|
for automation, testing, and screen scraping. Pexpect can be
|
|
|
|
|
used for automating interactive console applications such as
|
|
|
|
|
ssh, ftp, passwd, telnet, etc. It can also be used to control
|
|
|
|
|
web applications via "lynx", "w3m", or some other text-based web
|
|
|
|
|
browser. Pexpect is pure Python. Unlike other Expect-like
|
|
|
|
|
modules for Python Pexpect does not require TCL or Expect nor
|
|
|
|
|
does it require C extensions to be compiled. It should work on
|
|
|
|
|
any platform that supports the standard Python pty module.
|
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
|
|
|
|
pg8000 = buildPythonPackage rec {
|
2013-05-16 09:05:39 +01:00
|
|
|
|
name = "pg8000-1.09";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-05-16 10:04:20 +01:00
|
|
|
|
url = "http://pg8000.googlecode.com/files/${name}.zip";
|
2013-05-16 09:05:39 +01:00
|
|
|
|
sha256 = "0kdc4rg47k1qkq22inghd50xlxjdkfcilym8mxff8wy4h091xykw";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.unzip ];
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pytz ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [
|
|
|
|
|
stdenv.lib.maintainers.garbas
|
|
|
|
|
stdenv.lib.maintainers.iElectric
|
|
|
|
|
];
|
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-01-21 15:12:56 +00:00
|
|
|
|
pip = buildPythonPackage {
|
|
|
|
|
name = "pip-1.2.1";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pip/pip-1.2.1.tar.gz";
|
|
|
|
|
md5 = "db8a6d8a4564d3dc7f337ebed67b1a85";
|
|
|
|
|
};
|
|
|
|
|
buildInputs = [ mock scripttest virtualenv nose ];
|
|
|
|
|
# ValueError: Working directory tests not found, or not a directory
|
|
|
|
|
doCheck = false;
|
|
|
|
|
};
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2013-02-07 23:52:59 +00:00
|
|
|
|
|
2013-04-05 19:54:23 +01:00
|
|
|
|
pika = buildPythonPackage {
|
|
|
|
|
name = "pika-0.9.12";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = https://pypi.python.org/packages/source/p/pika/pika-0.9.12.tar.gz;
|
|
|
|
|
md5 = "7174fc7cc5570314fa3cfaa729106482";
|
|
|
|
|
};
|
|
|
|
|
buildInputs = [ nose mock pyyaml ];
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ unittest2 ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-02-07 23:52:59 +00:00
|
|
|
|
pillow = buildPythonPackage rec {
|
2013-07-28 14:56:38 +01:00
|
|
|
|
name = "Pillow-2.1.0";
|
2013-02-07 23:52:59 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/P/Pillow/${name}.zip";
|
2013-07-28 14:56:38 +01:00
|
|
|
|
md5 = "ec630d8ae15d4a3c4ae7b7efdeac8200";
|
2013-02-07 23:52:59 +00:00
|
|
|
|
};
|
|
|
|
|
|
2013-07-28 14:56:38 +01:00
|
|
|
|
buildInputs = [ pkgs.freetype pkgs.libjpeg pkgs.unzip pkgs.zlib pkgs.libtiff pkgs.libwebp ];
|
2013-02-07 23:52:59 +00:00
|
|
|
|
|
2013-07-28 14:56:38 +01:00
|
|
|
|
# NOTE: we use LCMS_ROOT as WEBP root since there is not other setting for webp.
|
2013-02-07 23:52:59 +00:00
|
|
|
|
configurePhase = ''
|
|
|
|
|
sed -i "setup.py" \
|
|
|
|
|
-e 's|^FREETYPE_ROOT =.*$|FREETYPE_ROOT = _lib_include("${pkgs.freetype}")|g ;
|
|
|
|
|
s|^JPEG_ROOT =.*$|JPEG_ROOT = _lib_include("${pkgs.libjpeg}")|g ;
|
2013-07-28 14:56:38 +01:00
|
|
|
|
s|^ZLIB_ROOT =.*$|ZLIB_ROOT = _lib_include("${pkgs.zlib}")|g ;
|
|
|
|
|
s|^LCMS_ROOT =.*$|LCMS_ROOT = _lib_include("${pkgs.libwebp}")|g ;
|
|
|
|
|
s|^TIFF_ROOT =.*$|TIFF_ROOT = _lib_include("${pkgs.libtiff}")|g ;'
|
2013-02-07 23:52:59 +00:00
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://python-imaging.github.com/Pillow;
|
|
|
|
|
|
|
|
|
|
description = "Fork of The Python Imaging Library (PIL)";
|
|
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
|
The Python Imaging Library (PIL) adds image processing
|
|
|
|
|
capabilities to your Python interpreter. This library
|
|
|
|
|
supports many file formats, and provides powerful image
|
|
|
|
|
processing and graphics capabilities.
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
license = "http://www.pythonware.com/products/pil/license.htm";
|
|
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-07-25 11:42:36 +01:00
|
|
|
|
plumbum = buildPythonPackage rec {
|
|
|
|
|
name = "plumbum-1.2.0";
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pythonPackages.six ];
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://pypi.python.org/packages/source/p/plumbum/plumbum-1.2.0.tar.gz";
|
|
|
|
|
md5 = "18b7f888dfaf62a48df937abffe07897";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-02-07 23:52:59 +00:00
|
|
|
|
|
2012-10-02 15:51:04 +01:00
|
|
|
|
polib = buildPythonPackage rec {
|
|
|
|
|
name = "polib-${version}";
|
|
|
|
|
version = "1.0.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://bitbucket.org/izi/polib/downloads/${name}.tar.gz";
|
|
|
|
|
sha256 = "1sr2bb3g7rl7gr6156j5qv71kg06q1x01r1lbps9ksnyz37djn2q";
|
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-10-02 15:51:04 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A library to manipulate gettext files (po and mo files)";
|
|
|
|
|
homepage = "http://bitbucket.org/izi/polib/";
|
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-05-10 21:12:37 +01:00
|
|
|
|
powerline = buildPythonPackage rec {
|
|
|
|
|
rev = "72ea6730ead85fc19b983bd70173d15e6caa4965";
|
|
|
|
|
name = "powerline-beta_${rev}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://github.com/Lokaltog/powerline/tarball/${rev}";
|
|
|
|
|
name = "${name}.tar.bz";
|
|
|
|
|
sha256 = "08sr8ymhphh7rsn2gcmpdz3kzd04b7w3k4pc35h8w60jvg9i449s";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pkgs.git pkgs.mercurial pkgs.bazaar pythonPackages.psutil pythonPackages.pygit2 ];
|
|
|
|
|
|
|
|
|
|
# error: This is still beta and some tests still fail
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
|
install -dm755 "$out/share/fonts/OTF/"
|
|
|
|
|
install -dm755 "$out/etc/fonts/conf.d"
|
|
|
|
|
install -m644 "font/PowerlineSymbols.otf" "$out/share/fonts/OTF/PowerlineSymbols.otf"
|
|
|
|
|
install -m644 "font/10-powerline-symbols.conf" "$out/etc/fonts/conf.d/10-powerline-symbols.conf"
|
|
|
|
|
|
|
|
|
|
install -dm755 "$out/share/vim/vimfiles/plugin"
|
|
|
|
|
install -m644 "powerline/bindings/vim/plugin/powerline.vim" "$out/share/vim/vimfiles/plugin/powerline.vim"
|
|
|
|
|
|
|
|
|
|
install -dm755 "$out/share/zsh/site-contrib"
|
|
|
|
|
install -m644 "powerline/bindings/zsh/powerline.zsh" "$out/share/zsh/site-contrib/powerline.zsh"
|
|
|
|
|
|
|
|
|
|
install -dm755 "$out/share/tmux"
|
|
|
|
|
install -m644 "powerline/bindings/tmux/powerline.conf" "$out/share/tmux/powerline.conf"
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = https://github.com/Lokaltog/powerline;
|
|
|
|
|
description = "The ultimate statusline/prompt utility.";
|
|
|
|
|
license = with stdenv.lib.licenses; mit;
|
2013-07-23 10:23:09 +01:00
|
|
|
|
platforms = with stdenv.lib.platforms; all;
|
2013-05-10 21:12:37 +01:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2011-06-09 16:02:39 +01:00
|
|
|
|
prettytable = buildPythonPackage rec {
|
2013-03-29 19:08:34 +00:00
|
|
|
|
name = "prettytable-0.7.1";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2011-06-09 16:02:39 +01:00
|
|
|
|
src = fetchurl {
|
2013-03-29 19:08:34 +00:00
|
|
|
|
url = "http://pypi.python.org/packages/source/P/PrettyTable/${name}.tar.bz2";
|
|
|
|
|
sha1 = "ad346a18d92c1d95f2295397c7a8a4f489e48851";
|
2011-06-09 16:02:39 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Simple Python library for easily displaying tabular data in a visually appealing ASCII table format";
|
|
|
|
|
homepage = http://code.google.com/p/prettytable/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2011-08-30 20:57:29 +01:00
|
|
|
|
protobuf = buildPythonPackage rec {
|
|
|
|
|
inherit (pkgs.protobuf) name src;
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [pkgs.protobuf];
|
|
|
|
|
sourceRoot = "${name}/python";
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Protocol Buffers are Google's data interchange format.";
|
|
|
|
|
homepage = http://code.google.com/p/protobuf/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-01-17 16:43:56 +00:00
|
|
|
|
psutil = buildPythonPackage rec {
|
|
|
|
|
name = "psutil-0.6.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://psutil.googlecode.com/files/${name}.tar.gz";
|
|
|
|
|
sha256 = "0vqarv63jqzghr4fi1fqdbvg847fq2gqdj8dzc3x59f9b36a8rfn";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Process and system utilization information interface for python";
|
|
|
|
|
homepage = http://code.google.com/p/psutil/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
psycopg2 = buildPythonPackage rec {
|
2013-07-29 17:52:04 +01:00
|
|
|
|
name = "psycopg2-2.5.1";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2010-04-21 11:51:15 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-29 17:52:04 +01:00
|
|
|
|
url = "https://pypi.python.org/packages/source/p/psycopg2/psycopg2-2.5.1.tar.gz";
|
|
|
|
|
sha256 = "1v7glzzzykbaqj7dhpr0qds9cf4maxmn7f5aazpqnbg0ly40r9v5";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pkgs.postgresql ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "PostgreSQL database adapter for the Python programming language";
|
|
|
|
|
license = "GPLv2/ZPL";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-04-30 15:34:57 +01:00
|
|
|
|
|
2012-10-13 08:54:37 +01:00
|
|
|
|
publicsuffix = buildPythonPackage rec {
|
|
|
|
|
name = "publicsuffix-${version}";
|
|
|
|
|
version = "1.0.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/publicsuffix/${name}.tar.gz";
|
|
|
|
|
md5 = "f86babf56f6e58b564d3853adebcf37a";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Allows to get the public suffix of a domain name";
|
|
|
|
|
homepage = "http://pypi.python.org/pypi/publicsuffix/";
|
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-04-13 07:42:23 +01:00
|
|
|
|
py = buildPythonPackage rec {
|
|
|
|
|
name = "py-1.4.13";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://pypi.python.org/packages/source/p/py/py-1.4.13.tar.gz";
|
|
|
|
|
md5 = "3857dc8309d5f284669b81184253c2bb";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2010-06-20 16:52:23 +01:00
|
|
|
|
pyasn1 = buildPythonPackage ({
|
2013-06-04 16:12:07 +01:00
|
|
|
|
name = "pyasn1-0.1.7";
|
2010-06-20 16:52:23 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-06-04 16:12:07 +01:00
|
|
|
|
url = "mirror://sourceforge/pyasn1/0.1.7/pyasn1-0.1.7.tar.gz";
|
|
|
|
|
sha256 = "1aqy21fb564gmnkw2fbkn55c40diyx3z0ixh4savvxikqm9ivy74";
|
2010-06-20 16:52:23 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "ASN.1 tools for Python";
|
|
|
|
|
|
|
|
|
|
homepage = http://pyasn1.sourceforge.net/;
|
|
|
|
|
|
|
|
|
|
license = "mBSD";
|
|
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2012-10-07 06:15:03 +01:00
|
|
|
|
|
|
|
|
|
pyaudio = pkgs.stdenv.mkDerivation rec {
|
|
|
|
|
name = "python-pyaudio-${version}";
|
|
|
|
|
version = "0.2.4";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://people.csail.mit.edu/hubert/pyaudio/packages/pyaudio-${version}.tar.gz";
|
|
|
|
|
md5 = "623809778f3d70254a25492bae63b575";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ python pkgs.portaudio ];
|
|
|
|
|
|
2013-07-06 09:00:45 +01:00
|
|
|
|
buildPhase = if stdenv.isDarwin then ''
|
2013-07-29 13:52:19 +01:00
|
|
|
|
PORTAUDIO_PATH="${pkgs.portaudio}" ${python}/bin/${python.executable} setup.py build --static-link
|
2013-07-06 09:00:45 +01:00
|
|
|
|
'' else ''
|
2013-07-29 13:52:19 +01:00
|
|
|
|
${python}/bin/${python.executable} setup.py build
|
2012-10-07 06:15:03 +01:00
|
|
|
|
'';
|
|
|
|
|
|
2013-07-29 13:52:19 +01:00
|
|
|
|
installPhase = "${python}/bin/${python.executable} setup.py install --prefix=$out";
|
2013-07-06 09:00:45 +01:00
|
|
|
|
|
2012-10-07 06:15:03 +01:00
|
|
|
|
meta = {
|
|
|
|
|
description = "Python bindings for PortAudio";
|
|
|
|
|
homepage = "http://people.csail.mit.edu/hubert/pyaudio/";
|
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-05-10 21:12:37 +01:00
|
|
|
|
pygit2 = buildPythonPackage rec {
|
|
|
|
|
name = "pygit2-0.18.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://pypi.python.org/packages/source/p/pygit2/${name}.tar.gz";
|
|
|
|
|
md5 = "8d27f84509a96d6791a6c393ae67d7c8";
|
|
|
|
|
};
|
|
|
|
|
|
2013-05-27 04:43:53 +01:00
|
|
|
|
preConfigure = ( if stdenv.isDarwin then ''
|
|
|
|
|
export DYLD_LIBRARY_PATH="${pkgs.libgit2}/lib"
|
|
|
|
|
'' else "" );
|
|
|
|
|
|
2013-05-10 21:12:37 +01:00
|
|
|
|
propagatedBuildInputs = [ pkgs.libgit2 ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = https://pypi.python.org/pypi/pygit2;
|
|
|
|
|
description = "Pygit2 is a set of Python bindings to the libgit2 shared library.";
|
|
|
|
|
license = with stdenv.lib.licenses; gpl2;
|
|
|
|
|
platforms = with stdenv.lib.platforms; all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2012-04-30 15:34:57 +01:00
|
|
|
|
Babel = buildPythonPackage (rec {
|
|
|
|
|
name = "Babel-0.9.6";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/B/Babel/${name}.tar.gz";
|
|
|
|
|
sha256 = "4a3a085ecf1fcd2736573538ffa114f1f4331b3bbbdd69381e6e172c49c9750f";
|
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
buildInputs = [ pytz ];
|
2012-04-30 15:34:57 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://babel.edgewall.org;
|
|
|
|
|
description = "A collection of tools for internationalizing Python applications.";
|
|
|
|
|
license = "BSD";
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
2013-06-24 08:16:04 +01:00
|
|
|
|
pyblock = stdenv.mkDerivation rec {
|
|
|
|
|
name = "python-pyblock-${version}";
|
|
|
|
|
version = "0.52-1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://git.fedorahosted.org/cgit/pyblock.git/snapshot/"
|
|
|
|
|
+ "pyblock-${version}.tar.bz2";
|
|
|
|
|
sha256 = "1jj5hd1dcr8xx00rg3jynsf4ak88wwr5id3fmb0qf6zvim1whj7l";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
|
sed -i -e 's|/usr/include/python|${python}/include/python|' \
|
|
|
|
|
-e 's/-Werror *//' -e 's|/usr/|'"$out"'/|' Makefile
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
buildInputs = [ python pkgs.lvm2 pkgs.dmraid ];
|
|
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
|
"USESELINUX=0"
|
|
|
|
|
"SITELIB=$(out)/lib/${python.libPrefix}/site-packages"
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Interface for working with block devices";
|
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
pycryptopp = buildPythonPackage (rec {
|
2011-09-13 21:10:33 +01:00
|
|
|
|
name = "pycryptopp-0.5.29";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pycryptopp/${name}.tar.gz";
|
2011-09-13 21:10:33 +01:00
|
|
|
|
sha256 = "d504775b73d30fb05a3237f83c4e9e1ff3312cbba90a4a23e6cbb7d32219502b";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
2010-07-28 14:07:05 +01:00
|
|
|
|
# Prefer crypto++ library from the Nix store over the one that's included
|
|
|
|
|
# in the pycryptopp distribution.
|
|
|
|
|
preConfigure = "export PYCRYPTOPP_DISABLE_EMBEDDED_CRYPTOPP=1";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
2010-07-28 14:07:05 +01:00
|
|
|
|
buildInputs = [ setuptoolsDarcs darcsver pkgs.cryptopp ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://allmydata.org/trac/pycryptopp;
|
|
|
|
|
|
|
|
|
|
description = "Python wrappers for the Crypto++ library";
|
|
|
|
|
|
|
|
|
|
license = "GPLv2+";
|
|
|
|
|
|
2013-08-16 22:44:33 +01:00
|
|
|
|
maintainers = [ ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2011-03-26 18:23:25 +00:00
|
|
|
|
|
2012-05-17 14:33:08 +01:00
|
|
|
|
pycurl = buildPythonPackage (rec {
|
2011-03-26 18:23:25 +00:00
|
|
|
|
name = "pycurl-7.19.0";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2012-05-17 14:33:08 +01:00
|
|
|
|
url = "http://pycurl.sourceforge.net/download/${name}.tar.gz";
|
2011-03-26 18:23:25 +00:00
|
|
|
|
sha256 = "0hh6icdbp7svcq0p57zf520ifzhn7jw64x07k99j7h57qpy2sy7b";
|
|
|
|
|
};
|
|
|
|
|
|
2012-05-17 14:33:08 +01:00
|
|
|
|
buildInputs = [ pkgs.curl ];
|
2011-03-26 18:23:25 +00:00
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2011-03-26 18:23:25 +00:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
2012-05-17 14:33:08 +01:00
|
|
|
|
preConfigure = ''
|
|
|
|
|
substituteInPlace setup.py --replace '--static-libs' '--libs'
|
2012-02-28 00:06:42 +00:00
|
|
|
|
'';
|
|
|
|
|
|
2011-03-26 18:23:25 +00:00
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://pycurl.sourceforge.net/;
|
|
|
|
|
description = "Python wrapper for libcurl";
|
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2013-08-10 14:06:01 +01:00
|
|
|
|
|
|
|
|
|
pycurl2 = buildPythonPackage (rec {
|
|
|
|
|
name = "pycurl2-7.20.0";
|
|
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
|
url = "https://github.com/Lispython/pycurl.git";
|
|
|
|
|
rev = "0f00109950b883d680bd85dc6e8a9c731a7d0d13";
|
|
|
|
|
sha256 = "0mhg7f9y5zl0m2xgz3rf1yqjd6l8n0qhfk7bpf36r44jfnhj75ld";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.curl simplejson unittest2 nose ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = https://pypi.python.org/pypi/pycurl2;
|
|
|
|
|
description = "A fork from original PycURL library that no maintained from 7.19.0";
|
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
2011-09-19 22:00:37 +01:00
|
|
|
|
pydot = buildPythonPackage rec {
|
|
|
|
|
name = "pydot-1.0.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pydot/${name}.tar.gz";
|
|
|
|
|
md5 = "cd739651ae5e1063a89f7efd5a9ec72b";
|
|
|
|
|
};
|
|
|
|
|
propagatedBuildInputs = [pyparsing pkgs.graphviz];
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://code.google.com/p/pydot/;
|
|
|
|
|
description = "pydot allows to easily create both directed and non directed graphs from Python.";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-09-13 11:28:05 +01:00
|
|
|
|
pyfeed = buildPythonPackage rec {
|
|
|
|
|
url = "http://www.blarg.net/%7Esteveha/pyfeed-0.7.4.tar.gz";
|
|
|
|
|
name = stdenv.lib.nameFromURL url ".tar";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
inherit url;
|
|
|
|
|
sha256 = "1h4msq573m7wm46h3cqlx4rsn99f0l11rhdqgf50lv17j8a8vvy1";
|
|
|
|
|
};
|
2012-09-13 11:32:16 +01:00
|
|
|
|
propagatedBuildInputs = [xe];
|
2012-09-13 11:28:05 +01:00
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-09-13 11:28:05 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = "http://home.blarg.net/~steveha/pyfeed.html";
|
|
|
|
|
description = "Tools for syndication feeds";
|
|
|
|
|
};
|
|
|
|
|
};
|
2011-09-19 22:00:37 +01:00
|
|
|
|
|
2013-03-17 14:23:56 +00:00
|
|
|
|
pyflakes = buildPythonPackage rec {
|
2013-07-18 07:21:41 +01:00
|
|
|
|
name = "pyflakes-0.7.3";
|
2013-03-17 14:23:56 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pyflakes/${name}.tar.gz";
|
2013-07-18 07:21:41 +01:00
|
|
|
|
md5 = "ec94ac11cb110e6e72cca23c104b66b1";
|
2013-03-17 14:23:56 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ unittest2 ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = "https://launchpad.net/pyflakes";
|
|
|
|
|
description = "A simple program which checks Python source files for errors.";
|
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-02-20 05:12:52 +00:00
|
|
|
|
pyglet = buildPythonPackage rec {
|
|
|
|
|
name = "pyglet-1.1.4";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pyglet.googlecode.com/files/${name}.tar.gz";
|
|
|
|
|
sha256 = "048n20d606i3njnzhajadnznnfm8pwchs43hxs50da9p79g2m6qx";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
patchPhase = let
|
|
|
|
|
libs = [ pkgs.mesa pkgs.xlibs.libX11 pkgs.freetype pkgs.fontconfig ];
|
|
|
|
|
paths = pkgs.lib.concatStringsSep "," (map (l: "\"${l}/lib\"") libs);
|
|
|
|
|
in "sed -i -e 's|directories\.extend.*lib[^]]*|&,${paths}|' pyglet/lib.py";
|
|
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = "http://www.pyglet.org/";
|
|
|
|
|
description = "A cross-platform windowing and multimedia library";
|
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-09-19 22:00:37 +01:00
|
|
|
|
pygments = buildPythonPackage rec {
|
2012-05-30 22:12:40 +01:00
|
|
|
|
name = "Pygments-1.5";
|
2011-09-19 22:00:37 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/P/Pygments/${name}.tar.gz";
|
2012-05-30 22:12:40 +01:00
|
|
|
|
md5 = "ef997066cc9ee7a47d01fb4f3da0b5ff";
|
2011-09-19 22:00:37 +01:00
|
|
|
|
};
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2011-09-19 22:00:37 +01:00
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://pygments.org/;
|
2012-05-30 22:12:40 +01:00
|
|
|
|
description = "A generic syntax highlighter";
|
2011-09-19 22:00:37 +01:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2012-07-10 18:45:59 +01:00
|
|
|
|
pygpgme = buildPythonPackage rec {
|
|
|
|
|
version = "0.3";
|
|
|
|
|
name = "pygpgme-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://launchpad.net/pygpgme/trunk/${version}/+download/${name}.tar.gz";
|
|
|
|
|
sha256 = "5fd887c407015296a8fd3f4b867fe0fcca3179de97ccde90449853a3dfb802e1";
|
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-07-10 18:45:59 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pkgs.gpgme ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = "https://launchpad.net/pygpgme";
|
|
|
|
|
description = "A Python wrapper for the GPGME library.";
|
|
|
|
|
license = pkgs.lib.licenses.lgpl21;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2012-09-02 12:13:18 +01:00
|
|
|
|
pyinotify = pkgs.stdenv.mkDerivation rec {
|
|
|
|
|
name = "python-pyinotify-${version}";
|
|
|
|
|
version = "0.9.3";
|
|
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
|
url = "git://github.com/seb-m/pyinotify.git";
|
|
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
|
sha256 = "d38ce95e4af00391e58246a8d7fe42bdb51d63054b09809600b2faef2a803472";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ python ];
|
|
|
|
|
|
|
|
|
|
installPhase = ''
|
2013-07-29 13:52:19 +01:00
|
|
|
|
${python}/bin/${python.executable} setup.py install --prefix=$out
|
2012-09-02 12:13:18 +01:00
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = https://github.com/seb-m/pyinotify/wiki;
|
|
|
|
|
description = "Monitor filesystems events on Linux platforms with inotify";
|
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-06-24 07:35:03 +01:00
|
|
|
|
pykickstart = buildPythonPackage rec {
|
|
|
|
|
name = "pykickstart-${version}";
|
|
|
|
|
version = "1.99.32-1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://git.fedorahosted.org/cgit/pykickstart.git/snapshot/"
|
|
|
|
|
+ "r${version}.tar.bz2";
|
|
|
|
|
sha256 = "1sq68jvc39k9wrkcc4xlabhwi8gdz019yh2k5nrl7ya35b8daqw0";
|
|
|
|
|
};
|
|
|
|
|
|
2013-06-24 13:06:30 +01:00
|
|
|
|
postPatch = ''
|
|
|
|
|
sed -i -e "s/for tst in tstList/for tst in sorted(tstList, \
|
|
|
|
|
key=lambda m: m.__name__)/" tests/baseclass.py
|
|
|
|
|
'';
|
|
|
|
|
|
2013-06-24 07:35:03 +01:00
|
|
|
|
propagatedBuildInputs = [ urlgrabber ];
|
|
|
|
|
|
|
|
|
|
checkPhase = ''
|
2013-07-29 13:52:19 +01:00
|
|
|
|
${python}/bin/${python.executable} tests/baseclass.py -vv
|
2013-06-24 07:35:03 +01:00
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = "http://fedoraproject.org/wiki/Pykickstart";
|
|
|
|
|
description = "Read and write Fedora kickstart files";
|
|
|
|
|
license = pkgs.lib.licenses.gpl2Plus;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-07-07 18:12:46 +01:00
|
|
|
|
pyodbc = buildPythonPackage rec {
|
|
|
|
|
name = "pyodbc-3.0.6";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://pyodbc.googlecode.com/files/${name}.zip";
|
|
|
|
|
sha256 = "0v9nymllw5zq5294rqp8ip3l0g6l3l3mljwhxn5jajyzxlnz39z5";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.unzip pkgs.libiodbc ];
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
description = "Python ODBC module to connect to almost any database";
|
|
|
|
|
homepage = https://code.google.com/p/pyodbc/;
|
|
|
|
|
license = licenses.mit;
|
|
|
|
|
platforms = platforms.linux;
|
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2011-09-19 22:00:37 +01:00
|
|
|
|
pyparsing = buildPythonPackage rec {
|
|
|
|
|
name = "pyparsing-1.5.6";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pyparsing/${name}.tar.gz";
|
|
|
|
|
md5 = "1e41cb219dae9fc353bd4cd47636b283";
|
|
|
|
|
};
|
2012-12-03 05:38:11 +00:00
|
|
|
|
|
|
|
|
|
# error: invalid command 'test'
|
2011-09-19 22:00:37 +01:00
|
|
|
|
doCheck = false;
|
2012-12-03 05:38:11 +00:00
|
|
|
|
|
2011-09-19 22:00:37 +01:00
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://pyparsing.wikispaces.com/;
|
|
|
|
|
description = "The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions.";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-06-24 07:33:09 +01:00
|
|
|
|
|
|
|
|
|
pyparted = buildPythonPackage rec {
|
|
|
|
|
name = "pyparted-${version}";
|
|
|
|
|
version = "3.10";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://fedorahosted.org/releases/p/y/pyparted/${name}.tar.gz";
|
|
|
|
|
sha256 = "17wq4invmv1nfazaksf59ymqyvgv3i8h4q03ry2az0s9lldyg3dv";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
|
sed -i -e 's|/sbin/mke2fs|${pkgs.e2fsprogs}&|' tests/baseclass.py
|
|
|
|
|
sed -i -e '
|
|
|
|
|
s|e\.path\.startswith("/tmp/temp-device-")|"temp-device-" in e.path|
|
|
|
|
|
' tests/test__ped_ped.py
|
2013-06-24 11:36:44 +01:00
|
|
|
|
'' + pkgs.lib.optionalString stdenv.isi686 ''
|
|
|
|
|
# remove some integers in this test case which overflow on 32bit systems
|
|
|
|
|
sed -i -r -e '/class *UnitGetSizeTestCase/,/^$/{/[0-9]{11}/d}' \
|
|
|
|
|
tests/test__ped_ped.py
|
2013-06-24 07:33:09 +01:00
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
|
PATH="${pkgs.parted}/sbin:$PATH"
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.pkgconfig ];
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pkgs.parted ];
|
|
|
|
|
|
|
|
|
|
checkPhase = ''
|
2013-07-29 13:52:19 +01:00
|
|
|
|
${python}/bin/${python.executable} -m unittest discover -v
|
2013-06-24 07:33:09 +01:00
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = "https://fedorahosted.org/pyparted/";
|
|
|
|
|
description = "Python interface for libparted";
|
|
|
|
|
license = pkgs.lib.licenses.gpl2Plus;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-06-04 10:35:59 +01:00
|
|
|
|
pyptlib = buildPythonPackage (rec {
|
|
|
|
|
name = "pyptlib-${version}";
|
|
|
|
|
version = "0.0.3";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://pypi.python.org/packages/source/p/pyptlib/pyptlib-${version}.tar.gz";
|
|
|
|
|
sha256 = "0mklak456jqifx57j9jmpb69h3ybxc880qk86pg4g8jk0i14pxh3";
|
|
|
|
|
};
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A python implementation of the Pluggable Transports for Circumvention specification for Tor";
|
|
|
|
|
license = stdenv.lib.licenses.bsd2;
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2013-02-18 15:12:43 +00:00
|
|
|
|
pyrss2gen = buildPythonPackage (rec {
|
2013-02-18 10:33:24 +00:00
|
|
|
|
name = "PyRSS2Gen-1.0.0";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/P/PyRSS2Gen/${name}.tar.gz";
|
|
|
|
|
md5 = "eae2bc6412c5679c287ecc1a59588f75";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://www.dalkescientific.om/Python/PyRSS2Gen.html;
|
|
|
|
|
description = "Library for generating RSS 2.0 feeds";
|
|
|
|
|
license = stdenv.lib.licenses.bsd2;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2013-06-24 07:40:12 +01:00
|
|
|
|
|
|
|
|
|
pyudev = buildPythonPackage rec {
|
|
|
|
|
name = "pyudev-${version}";
|
|
|
|
|
version = "0.16.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://pypi.python.org/packages/source/p/pyudev/${name}.tar.gz";
|
|
|
|
|
md5 = "4034de584b6d9efcbfc590a047c63285";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
|
sed -i -e '/udev_library_name/,/^ *libudev/ {
|
|
|
|
|
s|CDLL([^,]*|CDLL("${pkgs.udev}/lib/libudev.so.1"|p; d
|
|
|
|
|
}' pyudev/_libudev.py
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pkgs.udev ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = "http://pyudev.readthedocs.org/";
|
|
|
|
|
description = "Pure Python libudev binding";
|
|
|
|
|
license = stdenv.lib.licenses.lgpl21Plus;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-02-18 15:12:43 +00:00
|
|
|
|
pynzb = buildPythonPackage (rec {
|
2013-02-18 10:33:24 +00:00
|
|
|
|
name = "pynzb-0.1.0";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pynzb/${name}.tar.gz";
|
|
|
|
|
md5 = "63c74a36348ac28aa99732dcb8be8c59";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://github.com/ericflo/pynzb;
|
|
|
|
|
description = "Unified API for parsing NZB files";
|
2013-02-18 20:10:56 +00:00
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2013-02-18 10:33:24 +00:00
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2013-02-18 15:12:43 +00:00
|
|
|
|
progressbar = buildPythonPackage (rec {
|
2013-02-18 10:33:24 +00:00
|
|
|
|
name = "progressbar-2.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/progressbar/${name}.tar.gz";
|
|
|
|
|
md5 = "8ea4e2c17a8ec9e7d153767c5f2a7b28";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# invalid command 'test'
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://code.google.com/p/python-progressbar/;
|
|
|
|
|
description = "Text progressbar library for python";
|
2013-02-18 15:12:43 +00:00
|
|
|
|
license = stdenv.lib.licenses.lgpl3Plus;
|
2013-02-18 10:33:24 +00:00
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
});
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2011-10-19 11:27:57 +01:00
|
|
|
|
ldap = buildPythonPackage rec {
|
2013-07-31 12:32:25 +01:00
|
|
|
|
name = "ldap-2.4.10";
|
2011-10-19 11:27:57 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/python-ldap/${name}.tar.gz";
|
2013-03-03 12:20:58 +00:00
|
|
|
|
sha256 = "0m6fm2alcb5v9xdcjv2nw2lhz9nnd3mnr5lrmf397hi4pw0pik37";
|
2011-10-19 11:27:57 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${pkgs.cyrus_sasl}/include/sasl";
|
|
|
|
|
propagatedBuildInputs = [pkgs.openldap pkgs.cyrus_sasl pkgs.openssl];
|
|
|
|
|
};
|
2011-09-19 22:00:37 +01:00
|
|
|
|
|
2012-08-05 12:50:47 +01:00
|
|
|
|
|
|
|
|
|
pylibacl = buildPythonPackage (rec {
|
|
|
|
|
name = "pylibacl-0.5.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://github.com/downloads/iustin/pylibacl/${name}.tar.gz";
|
|
|
|
|
sha256 = "1idks7j9bn62xzsaxkvhl7bdq6ws8kv8aa0wahfh7724qlbbcf1k";
|
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# ERROR: testExtended (tests.test_acls.AclExtensions)
|
|
|
|
|
# IOError: [Errno 0] Error
|
2012-08-05 12:50:47 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.acl ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A Python extension module for POSIX ACLs. It can be used to query, list, add, and remove ACLs from files and directories under operating systems that support them.";
|
|
|
|
|
license = stdenv.lib.licenses.lgpl21Plus;
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
2011-02-12 13:38:23 +00:00
|
|
|
|
pymacs = pkgs.stdenv.mkDerivation rec {
|
2013-01-03 22:03:02 +00:00
|
|
|
|
version = "v0.25";
|
2011-02-12 13:38:23 +00:00
|
|
|
|
name = "Pymacs-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://github.com/pinard/Pymacs/tarball/${version}";
|
|
|
|
|
name = "${name}.tar.gz";
|
2013-01-03 22:03:02 +00:00
|
|
|
|
sha256 = "1hmy76c5igm95rqbld7gvk0az24smvc8hplfwx2f5rhn6frj3p2i";
|
2011-02-12 13:38:23 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ python ];
|
|
|
|
|
|
2013-01-03 22:03:02 +00:00
|
|
|
|
patchPhase = ''
|
|
|
|
|
sed -e "s@ install@ install --prefix=$out@g" -i Makefile
|
2011-02-12 13:38:23 +00:00
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
description = "Emacs Lisp to Python interface";
|
|
|
|
|
homepage = http://pymacs.progiciels-bpi.ca;
|
|
|
|
|
license = licenses.gpl2;
|
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
pyopengl =
|
|
|
|
|
let version = "3.0.0b5";
|
|
|
|
|
in
|
|
|
|
|
buildPythonPackage {
|
|
|
|
|
name = "pyopengl-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "mirror://sourceforge/pyopengl/PyOpenGL-${version}.tar.gz";
|
|
|
|
|
sha256 = "1rjpl2qdcqn4wamkik840mywdycd39q8dn3wqfaiv35jdsbifxx3";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = with pkgs; [ mesa freeglut pil ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://pyopengl.sourceforge.net/;
|
|
|
|
|
description = "PyOpenGL, the Python OpenGL bindings";
|
|
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
|
PyOpenGL is the cross platform Python binding to OpenGL and
|
|
|
|
|
related APIs. The binding is created using the standard (in
|
|
|
|
|
Python 2.5) ctypes library, and is provided under an extremely
|
|
|
|
|
liberal BSD-style Open-Source license.
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
license = "BSD-style";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2013-01-15 18:04:41 +00:00
|
|
|
|
pyquery = buildPythonPackage rec {
|
|
|
|
|
name = "pyquery-1.2.4";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
2013-01-15 18:04:41 +00:00
|
|
|
|
src = fetchurl {
|
2013-03-27 01:24:55 +00:00
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pyquery/${name}.tar.gz";
|
2013-01-15 18:04:41 +00:00
|
|
|
|
md5 = "268f08258738d21bc1920d7522f2a63b";
|
|
|
|
|
};
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ cssselect lxml ];
|
2013-01-15 18:04:41 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2011-09-09 15:20:43 +01:00
|
|
|
|
pyreport = buildPythonPackage (rec {
|
|
|
|
|
name = "pyreport-0.3.4c";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pyreport/${name}.tar.gz";
|
|
|
|
|
md5 = "3076164a7079891d149a23f9435581db";
|
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2011-09-09 15:20:43 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://pypi.python.org/pypi/pyreport;
|
|
|
|
|
license = "BSD";
|
|
|
|
|
description = "Pyreport makes notes out of a python script.";
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
2013-02-20 05:11:40 +00:00
|
|
|
|
pyserial = buildPythonPackage rec {
|
|
|
|
|
name = "pyserial-2.6";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pyserial/${name}.tar.gz";
|
|
|
|
|
md5 = "cde799970b7c1ce1f7d6e9ceebe64c98";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = "http://pyserial.sourceforge.net/";
|
|
|
|
|
license = stdenv.lib.licenses.psfl;
|
|
|
|
|
description = "Python serial port extension";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
pysqlite = buildPythonPackage (rec {
|
|
|
|
|
name = "pysqlite-2.5.5";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pysqlite.googlecode.com/files/${name}.tar.gz";
|
|
|
|
|
sha256 = "ef7ca7f44893790e1a7084b10ea083770e138689406fddc7076d12d6bff4d44f";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Since the `.egg' file is zipped, the `NEEDED' of the `.so' files
|
|
|
|
|
# it contains is not taken into account. Thus, we must explicitly make
|
|
|
|
|
# it a propagated input.
|
|
|
|
|
propagatedBuildInputs = [ pkgs.sqlite ];
|
|
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
|
substituteInPlace "setup.cfg" \
|
|
|
|
|
--replace "/usr/local/include" "${pkgs.sqlite}/include" \
|
|
|
|
|
--replace "/usr/local/lib" "${pkgs.sqlite}/lib"
|
|
|
|
|
'';
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2010-04-21 11:51:15 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://pysqlite.org/;
|
|
|
|
|
|
|
|
|
|
description = "Python bindings for the SQLite embedded relational database engine";
|
|
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
|
pysqlite is a DB-API 2.0-compliant database interface for SQLite.
|
|
|
|
|
|
|
|
|
|
SQLite is a relational database management system contained in
|
|
|
|
|
a relatively small C library. It is a public domain project
|
|
|
|
|
created by D. Richard Hipp. Unlike the usual client-server
|
|
|
|
|
paradigm, the SQLite engine is not a standalone process with
|
|
|
|
|
which the program communicates, but is linked in and thus
|
|
|
|
|
becomes an integral part of the program. The library
|
|
|
|
|
implements most of SQL-92 standard, including transactions,
|
|
|
|
|
triggers and most of complex queries.
|
|
|
|
|
|
|
|
|
|
pysqlite makes this powerful embedded SQL engine available to
|
|
|
|
|
Python programmers. It stays compatible with the Python
|
|
|
|
|
database API specification 2.0 as much as possible, but also
|
|
|
|
|
exposes most of SQLite's native API, so that it is for example
|
|
|
|
|
possible to create user-defined SQL functions and aggregates
|
|
|
|
|
in Python.
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
license = "revised BSD";
|
|
|
|
|
|
2013-08-16 22:44:33 +01:00
|
|
|
|
maintainers = [ ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2012-02-28 00:06:42 +00:00
|
|
|
|
|
2011-03-30 11:02:23 +01:00
|
|
|
|
pysvn = pkgs.stdenv.mkDerivation {
|
2012-04-04 17:16:07 +01:00
|
|
|
|
name = "pysvn-1.7.6";
|
2011-03-30 11:02:23 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2012-04-04 17:16:07 +01:00
|
|
|
|
url = "http://pysvn.barrys-emacs.org/source_kits/pysvn-1.7.6.tar.gz";
|
|
|
|
|
sha256 = "0wwb9h3rw2r8hzqya8mv5z8pgjpa6y3i15a3cccdv2mil44289a7";
|
2011-03-30 11:02:23 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ python pkgs.subversion pkgs.apr pkgs.aprutil pkgs.expat pkgs.neon pkgs.openssl ]
|
|
|
|
|
++ (if stdenv.isLinux then [pkgs.e2fsprogs] else []);
|
|
|
|
|
|
|
|
|
|
# There seems to be no way to pass that path to configure.
|
|
|
|
|
NIX_CFLAGS_COMPILE="-I${pkgs.aprutil}/include/apr-1";
|
|
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
|
cd Source
|
2012-02-28 00:06:42 +00:00
|
|
|
|
python setup.py backport
|
2011-03-30 11:02:23 +01:00
|
|
|
|
python setup.py configure \
|
|
|
|
|
--apr-inc-dir=${pkgs.apr}/include/apr-1 \
|
2012-04-04 17:16:07 +01:00
|
|
|
|
--apu-inc-dir=${pkgs.aprutil}/include/apr-1 \
|
2011-03-30 11:02:23 +01:00
|
|
|
|
--apr-lib-dir=${pkgs.apr}/lib \
|
|
|
|
|
--svn-root-dir=${pkgs.subversion}
|
|
|
|
|
'' + (if !stdenv.isDarwin then "" else ''
|
|
|
|
|
sed -i -e 's|libpython2.7.dylib|lib/libpython2.7.dylib|' Makefile
|
|
|
|
|
'');
|
|
|
|
|
|
|
|
|
|
checkPhase = "make -C ../Tests";
|
|
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
|
dest=$(toPythonPath $out)/pysvn
|
2012-01-18 20:16:00 +00:00
|
|
|
|
mkdir -p $dest
|
2011-03-30 11:02:23 +01:00
|
|
|
|
cp pysvn/__init__.py $dest/
|
|
|
|
|
cp pysvn/_pysvn*.so $dest/
|
2012-01-18 20:16:00 +00:00
|
|
|
|
mkdir -p $out/share/doc
|
2011-03-30 11:02:23 +01:00
|
|
|
|
mv -v ../Docs $out/share/doc/pysvn-1.7.2
|
|
|
|
|
rm -v $out/share/doc/pysvn-1.7.2/generate_cpp_docs_from_html_docs.py
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Python bindings for Subversion";
|
|
|
|
|
homepage = "http://pysvn.tigris.org/";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2012-05-30 22:12:40 +01:00
|
|
|
|
pytz = buildPythonPackage rec {
|
|
|
|
|
name = "pytz-2012c";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pytz/${name}.tar.bz2";
|
|
|
|
|
md5 = "660e0cee7f6c419ca2665db460f65131";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "World timezone definitions, modern and historical";
|
|
|
|
|
homepage = http://pytz.sourceforge.net/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
pyutil = buildPythonPackage (rec {
|
2010-07-28 00:51:36 +01:00
|
|
|
|
name = "pyutil-1.7.9";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pyutil/${name}.tar.gz";
|
2010-07-28 00:51:36 +01:00
|
|
|
|
sha256 = "c303bb779f96073820e2eb7c9692fe15a57df491eb356839f3cb3377ed03b844";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
2010-07-28 00:51:36 +01:00
|
|
|
|
buildInputs = [ setuptoolsDarcs setuptoolsTrial ] ++ (if doCheck then [ simplejson ] else []);
|
|
|
|
|
propagatedBuildInputs = [ zbase32 argparse twisted ];
|
|
|
|
|
# Tests fail because they try to write new code into the twisted
|
|
|
|
|
# package, apparently some kind of plugin.
|
|
|
|
|
doCheck = false;
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Pyutil, a collection of mature utilities for Python programmers";
|
|
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
|
These are a few data structures, classes and functions which
|
|
|
|
|
we've needed over many years of Python programming and which
|
|
|
|
|
seem to be of general use to other Python programmers. Many of
|
|
|
|
|
the modules that have existed in pyutil over the years have
|
|
|
|
|
subsequently been obsoleted by new features added to the
|
|
|
|
|
Python language or its standard library, thus showing that
|
|
|
|
|
we're not alone in wanting tools like these.
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
homepage = http://allmydata.org/trac/pyutil;
|
|
|
|
|
|
|
|
|
|
license = "GPLv2+";
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2012-08-05 12:50:24 +01:00
|
|
|
|
|
|
|
|
|
pyxattr = buildPythonPackage (rec {
|
|
|
|
|
name = "pyxattr-0.5.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://github.com/downloads/iustin/pyxattr/${name}.tar.gz";
|
|
|
|
|
sha256 = "0jmkffik6hdzs7ng8c65bggss2ai40nm59jykswdf5lpd36cxddq";
|
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-08-05 12:50:24 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.attr ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A Python extension module which gives access to the extended attributes for filesystem objects available in some operating systems.";
|
|
|
|
|
license = stdenv.lib.licenses.lgpl21Plus;
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
pyyaml = buildPythonPackage (rec {
|
|
|
|
|
name = "PyYAML-3.09";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pyyaml.org/download/pyyaml/PyYAML-3.09.zip";
|
|
|
|
|
sha256 = "204aca8b42dbe90e460794d743dd16182011da85507bfd4f092f9f76e0688040";
|
|
|
|
|
};
|
|
|
|
|
|
2012-02-28 00:06:52 +00:00
|
|
|
|
buildInputs = [ pkgs.unzip pkgs.pyrex ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
propagatedBuildInputs = [ pkgs.libyaml ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "The next generation YAML parser and emitter for Python";
|
|
|
|
|
homepage = http://pyyaml.org;
|
|
|
|
|
license = "free"; # !?
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2012-05-30 22:12:40 +01:00
|
|
|
|
recaptcha_client = buildPythonPackage rec {
|
|
|
|
|
name = "recaptcha-client-1.0.6";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/r/recaptcha-client/${name}.tar.gz";
|
|
|
|
|
md5 = "74228180f7e1fb76c4d7089160b0d919";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A CAPTCHA for Python using the reCAPTCHA service";
|
|
|
|
|
homepage = http://recaptcha.net/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2011-09-13 21:10:37 +01:00
|
|
|
|
reportlab =
|
2011-09-09 15:20:43 +01:00
|
|
|
|
let freetype = pkgs.lib.overrideDerivation pkgs.freetype (args: { configureFlags = "--enable-static --enable-shared"; });
|
|
|
|
|
in buildPythonPackage rec {
|
|
|
|
|
name = "reportlab-2.5";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/r/reportlab/${name}.tar.gz";
|
|
|
|
|
md5 = "cdf8b87a6cf1501de1b0a8d341a217d3";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [freetype];
|
2012-12-03 05:38:11 +00:00
|
|
|
|
|
|
|
|
|
# error: invalid command 'test'
|
2011-09-13 21:10:37 +01:00
|
|
|
|
doCheck = false;
|
2011-09-09 15:20:43 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "The ReportLab Toolkit. An Open Source Python library for generating PDFs and graphics.";
|
|
|
|
|
homepage = http://www.reportlab.com/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-07-17 21:19:29 +01:00
|
|
|
|
|
2013-01-30 14:42:40 +00:00
|
|
|
|
requests = buildPythonPackage rec {
|
2013-04-22 10:16:42 +01:00
|
|
|
|
name = "requests-1.2.0";
|
2013-01-30 14:42:40 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/r/requests/${name}.tar.gz";
|
2013-04-22 10:16:42 +01:00
|
|
|
|
md5 = "22af2682233770e5468a986f451c51c0";
|
2013-01-30 14:42:40 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Requests is an Apache2 Licensed HTTP library, written in Python, for human beings..";
|
|
|
|
|
homepage = http://docs.python-requests.org/en/latest/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-07-17 21:19:29 +01:00
|
|
|
|
requests_oauthlib = buildPythonPackage rec {
|
|
|
|
|
name = "requests-oauthlib-0.3.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/r/requests-oauthlib/${name}.tar.gz";
|
|
|
|
|
md5 = "35b3b750493c231145c39db0216813e7";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ oauthlib requests ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "OAuthlib authentication support for Requests";
|
|
|
|
|
homepage = https://github.com/requests/requests-oauthlib;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
requests_oauth2 = buildPythonPackage rec {
|
|
|
|
|
name = "requests-oauth2-0.1.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = https://github.com/maraujop/requests-oauth2/archive/0.1.1.tar.gz;
|
|
|
|
|
sha256 = "1aij66qg9j5j4vzyh64nbg72y7pcafgjddxsi865racsay43xfqg";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests_oauthlib ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Python's Requests OAuth2 (Open Authentication) plugin";
|
|
|
|
|
homepage = https://github.com/maraujop/requests-oauth2;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2012-05-30 22:12:40 +01:00
|
|
|
|
reviewboard = buildPythonPackage rec {
|
2013-05-22 16:03:20 +01:00
|
|
|
|
name = "ReviewBoard-1.6.16";
|
2012-05-30 22:12:40 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://downloads.reviewboard.org/releases/ReviewBoard/1.6/${name}.tar.gz";
|
2013-05-22 16:03:20 +01:00
|
|
|
|
sha256 = "0vg3ypm57m43bscv8vswjdllv3d2j8lxqwwvpd65cl7jd1in0yr1";
|
2012-05-30 22:12:40 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs =
|
2013-05-22 16:03:20 +01:00
|
|
|
|
[ recaptcha_client pytz memcached dateutil_1_5 paramiko flup pygments
|
2013-07-27 19:51:54 +01:00
|
|
|
|
djblets django_1_3 django_evolution pycrypto modules.sqlite3
|
2012-12-03 07:05:58 +00:00
|
|
|
|
pysvn pil psycopg2
|
2012-05-30 22:12:40 +01:00
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2010-08-27 07:32:49 +01:00
|
|
|
|
rdflib = buildPythonPackage (rec {
|
|
|
|
|
name = "rdflib-3.0.0";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://www.rdflib.net/${name}.tar.gz";
|
|
|
|
|
sha256 = "1c7ipk5vwqnln83rmai5jzyxkjdajdzbk5cgy1z83nyr5hbkgkqr";
|
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-02-28 00:06:42 +00:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
2010-08-27 07:32:49 +01:00
|
|
|
|
meta = {
|
|
|
|
|
description = "RDFLib is a Python library for working with RDF, a simple yet powerful language for representing information.";
|
|
|
|
|
homepage = http://www.rdflib.net/;
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2013-01-04 00:58:22 +00:00
|
|
|
|
rope = buildPythonPackage rec {
|
|
|
|
|
version = "0.9.4";
|
2011-02-11 23:06:54 +00:00
|
|
|
|
name = "rope-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/r/rope/${name}.tar.gz";
|
2013-01-04 00:58:22 +00:00
|
|
|
|
sha256 = "1fm6ahff50b10mlnc0ar4x1fv9sxmcp1g651myyqy7c50hk39h1d";
|
2011-02-11 23:06:54 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
description = "python refactoring library";
|
|
|
|
|
homepage = http://rope.sf.net;
|
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
|
license = licenses.gpl2;
|
|
|
|
|
};
|
2011-02-12 12:50:02 +00:00
|
|
|
|
};
|
2011-02-11 23:06:54 +00:00
|
|
|
|
|
2013-01-04 00:58:22 +00:00
|
|
|
|
ropemacs = buildPythonPackage rec {
|
|
|
|
|
version = "0.7";
|
2011-02-11 22:49:27 +00:00
|
|
|
|
name = "ropemacs-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-01-04 00:58:22 +00:00
|
|
|
|
url = "http://pypi.python.org/packages/source/r/ropemacs/${name}.tar.gz";
|
|
|
|
|
sha256 = "1x5qf1drcdz9jfiiakc60kzqkb3ahsg9j902c5byf3gjfacdrmqj";
|
2011-02-11 22:49:27 +00:00
|
|
|
|
};
|
|
|
|
|
|
2013-01-04 00:58:22 +00:00
|
|
|
|
propagatedBuildInputs = [ ropemode ];
|
2011-02-12 12:50:02 +00:00
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
description = "a plugin for performing python refactorings in emacs";
|
|
|
|
|
homepage = http://rope.sf.net/ropemacs.html;
|
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
|
license = licenses.gpl2;
|
|
|
|
|
};
|
|
|
|
|
};
|
2011-02-11 22:49:27 +00:00
|
|
|
|
|
2013-01-04 00:58:22 +00:00
|
|
|
|
ropemode = buildPythonPackage rec {
|
|
|
|
|
version = "0.2";
|
|
|
|
|
name = "ropemode-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/r/ropemode/${name}.tar.gz";
|
|
|
|
|
sha256 = "0jw6h1wvk6wk0wknqdf7s9pw76m8472jv546lqdd88jbl2scgcjl";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ rope ];
|
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
description = "a plugin for performing python refactorings in emacs";
|
|
|
|
|
homepage = http://rope.sf.net;
|
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
|
license = licenses.gpl2;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
|
routes = buildPythonPackage rec {
|
|
|
|
|
name = "routes-1.12.3";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = http://pypi.python.org/packages/source/R/Routes/Routes-1.12.3.tar.gz;
|
|
|
|
|
md5 = "9740ff424ff6b841632c784a38fb2be3";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ paste webtest ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A Python re-implementation of the Rails routes system for mapping URLs to application actions";
|
|
|
|
|
homepage = http://routes.groovie.org/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2011-09-09 15:20:43 +01:00
|
|
|
|
scipy = buildPythonPackage rec {
|
|
|
|
|
name = "scipy-0.9.0";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/s/scipy/${name}.tar.gz";
|
|
|
|
|
md5 = "ebfef6e8e82d15c875a4ee6a46d4e1cd";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [pkgs.gfortran];
|
|
|
|
|
propagatedBuildInputs = [ numpy ];
|
2012-12-03 05:38:11 +00:00
|
|
|
|
|
|
|
|
|
# error: invalid command 'test'
|
2011-09-13 21:10:37 +01:00
|
|
|
|
doCheck = false;
|
2011-09-09 15:20:43 +01:00
|
|
|
|
|
|
|
|
|
# TODO: add ATLAS=${pkgs.atlas}
|
|
|
|
|
installCommand = ''
|
|
|
|
|
export BLAS=${pkgs.blas} LAPACK=${pkgs.liblapack}
|
2013-07-29 13:52:19 +01:00
|
|
|
|
${python}/bin/${python.executable} setup.py build --fcompiler="gnu95"
|
|
|
|
|
${python}/bin/${python.executable} setup.py install --prefix=$out
|
2011-09-09 15:20:43 +01:00
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "SciPy (pronounced 'Sigh Pie') is open-source software for mathematics, science, and engineering. ";
|
|
|
|
|
homepage = http://www.scipy.org/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2011-03-30 13:27:54 +01:00
|
|
|
|
scripttest = buildPythonPackage rec {
|
|
|
|
|
version = "1.1.1";
|
|
|
|
|
name = "scripttest-${version}";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2011-03-30 13:27:54 +01:00
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/S/ScriptTest/ScriptTest-${version}.tar.gz";
|
|
|
|
|
md5 = "592ce890764c3f546d35b4d7c40c32ef";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A library for testing interactive command-line applications";
|
|
|
|
|
homepage = http://pypi.python.org/pypi/ScriptTest/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-08-06 23:11:13 +01:00
|
|
|
|
selenium =
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
|
name = "selenium-2.25.0";
|
|
|
|
|
src = pkgs.fetchurl {
|
|
|
|
|
url = http://pypi.python.org/packages/source/s/selenium/selenium-2.25.0.tar.gz;
|
|
|
|
|
sha256 = "0iinpry1vr4dydh44sc0ny22sa9fqhy2302hf56pf8fakvza9m0a";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [pkgs.xlibs.libX11];
|
|
|
|
|
|
|
|
|
|
# Recompiling x_ignore_nofocus.so as the original one dlopen's libX11.so.6 by some
|
|
|
|
|
# absolute paths. Replaced by relative path so it is found when used in nix.
|
|
|
|
|
x_ignore_nofocus =
|
|
|
|
|
pkgs.fetchsvn {
|
|
|
|
|
url = http://selenium.googlecode.com/svn/tags/selenium-2.25.0/cpp/linux-specific;
|
|
|
|
|
rev = 17641;
|
|
|
|
|
sha256 = "1wif9r6307qhlcp2zbg6n05yvxxn9ppkxh8gpsplcbyh22zi7bcd";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
preInstall = ''
|
2013-07-23 10:23:09 +01:00
|
|
|
|
cp "${x_ignore_nofocus}/"* .
|
2012-08-06 23:11:13 +01:00
|
|
|
|
sed -i 's|dlopen(library,|dlopen("libX11.so.6",|' x_ignore_nofocus.c
|
|
|
|
|
gcc -c -fPIC x_ignore_nofocus.c -o x_ignore_nofocus.o
|
|
|
|
|
gcc -shared -Wl,-soname,x_ignore_nofocus.so -o x_ignore_nofocus.so x_ignore_nofocus.o
|
|
|
|
|
cp -v x_ignore_nofocus.so py/selenium/webdriver/firefox/${if pkgs.stdenv.is64bit then "amd64" else "x86"}/
|
|
|
|
|
'';
|
|
|
|
|
};
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
setuptoolsDarcs = buildPythonPackage {
|
2010-07-28 00:51:10 +01:00
|
|
|
|
name = "setuptools-darcs-1.2.9";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2010-07-28 00:51:10 +01:00
|
|
|
|
url = "http://pypi.python.org/packages/source/s/setuptools_darcs/setuptools_darcs-1.2.9.tar.gz";
|
|
|
|
|
sha256 = "d37ce11030addbd729284c441facd0869cdc6e5c888dc5fa0a6f1edfe3c3e617";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
2010-05-01 21:54:27 +01:00
|
|
|
|
# In order to break the dependency on darcs -> ghc, we don't add
|
|
|
|
|
# darcs as a propagated build input.
|
python-setuptools-darcs: the build process seems to depend on 'darcsver'
| source root is setuptools_darcs-1.2.9
| patching sources
| configuring
| no configure script, doing nothing
| building
| running tests
| Download error: [Errno -3] Temporary failure in name resolution -- Some packages may not be found!
| Couldn't find index page for 'darcsver' (maybe misspelled?)
| Download error: [Errno -3] Temporary failure in name resolution -- Some packages may not be found!
| No local packages or download links found for darcsver>=1.2.0
| Traceback (most recent call last):
| File "setup.py", line 79, in <module>
| zip_safe=False, # I prefer unzipped for easier access.
| File "/nix/store/r6xlmlf0amzwhkvkv0v656jgx7r299g7-python-2.6.5/lib/python2.6/distutils/core.py", line 113, in setup
| _setup_distribution = dist = klass(attrs)
| File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 260, in __init__
| File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 284, in fetch_build_eggs
| File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 563, in resolve
| File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 799, in best_match
| File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 811, in obtain
| File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 327, in fetch_build_egg
| File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 434, in easy_install
| File "build/bdist.linux-x86_64/egg/setuptools/package_index.py", line 475, in fetch_distribution
| AttributeError: 'NoneType' object has no attribute 'clone'
| builder for `/nix/store/rkm5fzs0p6hh45mvpzv0qqphmsjnyag8-python-setuptools-darcs-1.2.9.drv' failed with exit code 1
| error: build of `/nix/store/rkm5fzs0p6hh45mvpzv0qqphmsjnyag8-python-setuptools-darcs-1.2.9.drv' failed
svn path=/nixpkgs/trunk/; revision=22780
2010-07-28 10:33:35 +01:00
|
|
|
|
propagatedBuildInputs = [ darcsver ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "setuptools plugin for the Darcs version control system";
|
|
|
|
|
|
|
|
|
|
homepage = http://allmydata.org/trac/setuptools_darcs;
|
|
|
|
|
|
|
|
|
|
license = "BSD";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
setuptoolsTrial = buildPythonPackage {
|
2011-04-04 14:31:52 +01:00
|
|
|
|
name = "setuptools-trial-0.5.12";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2011-04-04 14:31:52 +01:00
|
|
|
|
url = "http://pypi.python.org/packages/source/s/setuptools_trial/setuptools_trial-0.5.12.tar.gz";
|
|
|
|
|
md5 = "f16f4237c9ee483a0cd13208849d96ad";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ twisted ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "setuptools plug-in that helps run unit tests built with the \"Trial\" framework (from Twisted)";
|
|
|
|
|
|
|
|
|
|
homepage = http://allmydata.org/trac/setuptools_trial;
|
|
|
|
|
|
|
|
|
|
license = "unspecified"; # !
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
simplejson = buildPythonPackage (rec {
|
2013-07-29 16:48:49 +01:00
|
|
|
|
name = "simplejson-3.3.0";
|
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";
|
2013-07-29 16:48:49 +01:00
|
|
|
|
md5 = "0e29b393bceac8081fa4e93ff9f6a001";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "simplejson is a simple, fast, extensible JSON encoder/decoder for Python";
|
|
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
|
simplejson is compatible with Python 2.4 and later with no
|
|
|
|
|
external dependencies. It covers the full JSON specification
|
|
|
|
|
for both encoding and decoding, with unicode support. By
|
|
|
|
|
default, encoding is done in an encoding neutral fashion (plain
|
|
|
|
|
ASCII with \uXXXX escapes for unicode characters).
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
homepage = http://code.google.com/p/simplejson/;
|
|
|
|
|
|
|
|
|
|
license = "MIT";
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2013-04-21 15:03:29 +01:00
|
|
|
|
sexpdata = buildPythonPackage rec {
|
|
|
|
|
name = "sexpdata-0.0.2";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/s/sexpdata/${name}.tar.gz";
|
|
|
|
|
md5 = "efc44265bc27cb3d6ffed4fbf5733fc1";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "S-expression parser for Python";
|
|
|
|
|
homepage = "https://github.com/tkf/sexpdata";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-07-17 21:19:29 +01:00
|
|
|
|
sh = buildPythonPackage rec {
|
|
|
|
|
name = "sh-1.08";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/s/sh/${name}.tar.gz";
|
|
|
|
|
md5 = "4028bcba85daa0aef579ed24261e88a3";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Python subprocess interface";
|
|
|
|
|
homepage = http://pypi.python.org/pypi/sh/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2012-05-30 22:12:40 +01:00
|
|
|
|
six = buildPythonPackage rec {
|
2013-06-26 23:35:47 +01:00
|
|
|
|
name = "six-1.3.0";
|
2012-05-30 22:12:40 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/s/six/${name}.tar.gz";
|
2013-06-26 23:35:47 +01:00
|
|
|
|
md5 = "ec47fe6070a8a64c802363d2c2b1e2ee";
|
2012-05-30 22:12:40 +01:00
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-05-30 22:12:40 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A Python 2 and 3 compatibility library";
|
|
|
|
|
homepage = http://pypi.python.org/pypi/six/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-09-13 13:54:10 +01:00
|
|
|
|
|
2012-02-20 21:35:05 +00:00
|
|
|
|
skype4py = buildPythonPackage (rec {
|
|
|
|
|
name = "Skype4Py-1.0.32.0";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = mirror://sourceforge/skype4py/Skype4Py-1.0.32.0.tar.gz;
|
|
|
|
|
sha256 = "0cmkrv450wa8v50bng5dflpwkl5c1p9pzysjkb2956w5kvwh6f5b";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
unpackPhase = ''
|
|
|
|
|
tar xf $src
|
|
|
|
|
find . -type d -exec chmod +rx {} \;
|
|
|
|
|
sourceRoot=`pwd`/`ls -d S*`
|
|
|
|
|
'';
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-02-20 21:35:05 +00:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
2013-01-20 01:28:09 +00:00
|
|
|
|
propagatedBuildInputs = [ pkgs.xlibs.libX11 pkgs.pythonDBus pygobject ];
|
2012-02-20 21:35:05 +00:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "High-level, platform independent Skype API wrapper for Python";
|
|
|
|
|
|
|
|
|
|
# The advertisement says https://developer.skype.com/wiki/Skype4Py
|
|
|
|
|
# but that url does not work. This following web page points to the
|
|
|
|
|
# download link and has some information about the package.
|
|
|
|
|
homepage = http://pypi.python.org/pypi/Skype4Py/1.0.32.0;
|
|
|
|
|
|
|
|
|
|
license = "BSD";
|
|
|
|
|
};
|
|
|
|
|
});
|
2011-03-29 17:15:08 +01:00
|
|
|
|
|
2013-03-31 21:58:48 +01:00
|
|
|
|
smartdc = buildPythonPackage rec {
|
|
|
|
|
name = "smartdc-0.1.12";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = https://pypi.python.org/packages/source/s/smartdc/smartdc-0.1.12.tar.gz;
|
|
|
|
|
md5 = "b960f61facafc879142b699050f6d8b4";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests http_signature ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Joyent SmartDataCenter CloudAPI connector using http-signature authentication via Requests";
|
|
|
|
|
homepage = https://github.com/atl/py-smartdc;
|
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-06-22 13:10:10 +01:00
|
|
|
|
|
|
|
|
|
supervisor = buildPythonPackage rec {
|
2013-08-07 15:31:04 +01:00
|
|
|
|
name = "supervisor-3.0";
|
2013-06-22 13:10:10 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-08-07 15:31:04 +01:00
|
|
|
|
url = "https://pypi.python.org/packages/source/s/supervisor/${name}.tar.gz";
|
|
|
|
|
md5 = "94ff3cf09618c36889425a8e002cd51a";
|
2013-06-22 13:10:10 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ mock ];
|
|
|
|
|
propagatedBuildInputs = [ meld3 ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A system for controlling process state under UNIX";
|
|
|
|
|
homepage = http://supervisord.org/;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2011-09-19 22:00:37 +01:00
|
|
|
|
sphinx = buildPythonPackage (rec {
|
2012-10-11 13:22:26 +01:00
|
|
|
|
name = "Sphinx-1.1.3";
|
2011-09-19 22:00:37 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/S/Sphinx/${name}.tar.gz";
|
2012-10-11 13:22:26 +01:00
|
|
|
|
md5 = "8f55a6d4f87fc6d528120c5d1f983e98";
|
2011-09-19 22:00:37 +01:00
|
|
|
|
};
|
|
|
|
|
|
2011-09-27 15:00:48 +01:00
|
|
|
|
propagatedBuildInputs = [docutils jinja2 pygments];
|
2011-09-19 22:00:37 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Sphinx is a tool that makes it easy to create intelligent and beautiful documentation for Python projects.";
|
|
|
|
|
|
|
|
|
|
homepage = http://sphinx.pocoo.org/;
|
|
|
|
|
|
|
|
|
|
license = "BSD";
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
2013-07-28 11:30:11 +01:00
|
|
|
|
sqlalchemy = buildPythonPackage rec {
|
|
|
|
|
name = "sqlalchemy-${version}";
|
|
|
|
|
version = "0.7.10";
|
2011-03-29 17:15:08 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-28 11:30:11 +01:00
|
|
|
|
url = "http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-${version}.tar.gz";
|
|
|
|
|
sha256 = "0rhxgr85xdhjn467qfs0dkyj8x46zxcv6ad3dfx3w14xbkb3kakp";
|
2011-03-29 17:15:08 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-07-28 11:30:11 +01:00
|
|
|
|
patches = [
|
|
|
|
|
# see https://groups.google.com/forum/#!searchin/sqlalchemy/module$20logging$20handlers/sqlalchemy/ukuGhmQ2p6g/2_dOpBEYdDYJ
|
|
|
|
|
# waiting for 0.7.11 release
|
|
|
|
|
../development/python-modules/sqlalchemy-0.7.10-test-failures.patch
|
|
|
|
|
];
|
|
|
|
|
|
2011-03-29 17:15:08 +01:00
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
|
2013-07-27 19:51:54 +01:00
|
|
|
|
propagatedBuildInputs = [ modules.sqlite3 ];
|
2011-03-29 17:15:08 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://www.sqlalchemy.org/;
|
|
|
|
|
description = "A Python SQL toolkit and Object Relational Mapper";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2011-03-30 13:27:54 +01:00
|
|
|
|
sqlalchemy_migrate = buildPythonPackage rec {
|
|
|
|
|
name = "sqlalchemy-migrate-0.6.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://sqlalchemy-migrate.googlecode.com/files/${name}.tar.gz";
|
|
|
|
|
sha1 = "17168b5fa066bd56fd93f26345525377e8a83d8a";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ nose unittest2 scripttest ];
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ tempita decorator sqlalchemy ];
|
|
|
|
|
|
|
|
|
|
preCheck =
|
|
|
|
|
''
|
|
|
|
|
echo sqlite:///__tmp__ > test_db.cfg
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
# Some tests fail with "unexpected keyword argument 'script_path'".
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://code.google.com/p/sqlalchemy-migrate/;
|
|
|
|
|
description = "Schema migration tools for SQLAlchemy";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-06-12 21:16:04 +01:00
|
|
|
|
stompclient = buildPythonPackage (rec {
|
|
|
|
|
name = "stompclient-0.3.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/s/stompclient/${name}.tar.gz";
|
|
|
|
|
md5 = "af0a314b6106dd80da24a918c24a1eab";
|
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
buildInputs = [ mock nose ];
|
|
|
|
|
|
|
|
|
|
# XXX: Ran 0 tests in 0.217s
|
2012-06-12 21:16:04 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Lightweight and extensible STOMP messaging client";
|
|
|
|
|
homepage = http://bitbucket.org/hozn/stompclient;
|
|
|
|
|
license = pkgs.lib.licenses.asl20;
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
2013-01-18 01:21:24 +00:00
|
|
|
|
subunit = buildPythonPackage rec {
|
|
|
|
|
name = "subunit-${version}";
|
2013-07-29 17:48:54 +01:00
|
|
|
|
version = "0.0.13";
|
2013-01-18 01:21:24 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-29 17:48:54 +01:00
|
|
|
|
url = "https://launchpad.net/subunit/trunk/${version}/+download/python-${name}.tar.gz";
|
|
|
|
|
sha256 = "0f3xni4z1hbmg4dqxak85ibpf9pajxn6qzw1xj79gwnr8xxb66zj";
|
2013-01-18 01:21:24 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ testtools ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A streaming protocol for test results";
|
|
|
|
|
homepage = https://launchpad.net/subunit;
|
|
|
|
|
license = pkgs.lib.licenses.asl20;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-07-21 19:15:26 +01:00
|
|
|
|
# XXX: ValueError: ZIP does not support timestamps before 1980
|
|
|
|
|
# svneverever = buildPythonPackage rec {
|
|
|
|
|
# name = "svneverever-778489a8";
|
2012-12-03 03:41:19 +00:00
|
|
|
|
#
|
2012-07-21 19:15:26 +01:00
|
|
|
|
# src = pkgs.fetchgit {
|
|
|
|
|
# url = git://git.goodpoint.de/svneverever.git;
|
|
|
|
|
# rev = "778489a8c6f07825fb18c9da3892a781c3d659ac";
|
|
|
|
|
# sha256 = "41c9da1dab2be7b60bff87e618befdf5da37c0a56287385cb0cbd3f91e452bb6";
|
|
|
|
|
# };
|
2012-12-03 03:41:19 +00:00
|
|
|
|
#
|
2012-07-21 19:15:26 +01:00
|
|
|
|
# propagatedBuildInputs = [ pysvn argparse ];
|
2012-12-03 03:41:19 +00:00
|
|
|
|
#
|
2012-07-21 19:15:26 +01:00
|
|
|
|
# doCheck = false;
|
|
|
|
|
# };
|
2012-04-04 17:16:07 +01:00
|
|
|
|
|
2012-02-21 18:19:00 +00:00
|
|
|
|
taskcoach = buildPythonPackage rec {
|
2013-01-23 22:22:47 +00:00
|
|
|
|
name = "TaskCoach-1.3.22";
|
2012-02-21 18:19:00 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "mirror://sourceforge/taskcoach/${name}.tar.gz";
|
2013-01-23 22:22:47 +00:00
|
|
|
|
sha256 = "1ddx56bqmh347synhgjq625ijv5hqflr0apxg0nl4jqdsqk1zmxh";
|
2012-02-21 18:19:00 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ wxPython ];
|
|
|
|
|
|
|
|
|
|
# I don't know why I need to add these libraries. Shouldn't they
|
|
|
|
|
# be part of wxPython?
|
|
|
|
|
postInstall = ''
|
|
|
|
|
libspaths=${pkgs.xlibs.libSM}/lib:${pkgs.xlibs.libXScrnSaver}/lib
|
|
|
|
|
wrapProgram $out/bin/taskcoach.py \
|
|
|
|
|
--prefix LD_LIBRARY_PATH : $libspaths
|
|
|
|
|
'';
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-02-21 18:19:00 +00:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://taskcoach.org/;
|
2012-02-21 18:22:38 +00:00
|
|
|
|
description = "Todo manager to keep track of personal tasks and todo lists";
|
2012-02-21 18:19:00 +00:00
|
|
|
|
license = "GPLv3+";
|
|
|
|
|
};
|
|
|
|
|
};
|
2011-03-30 13:27:54 +01:00
|
|
|
|
|
|
|
|
|
tempita = buildPythonPackage rec {
|
|
|
|
|
version = "0.4";
|
|
|
|
|
name = "tempita-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/T/Tempita/Tempita-${version}.tar.gz";
|
|
|
|
|
md5 = "0abe015a72e748d0c6284679a497426c";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://pythonpaste.org/tempita/;
|
|
|
|
|
description = "A very small text templating language";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-01-18 01:21:24 +00:00
|
|
|
|
testtools = buildPythonPackage rec {
|
|
|
|
|
name = "testtools-${version}";
|
2013-07-29 17:48:54 +01:00
|
|
|
|
version = "0.9.32";
|
2013-01-18 01:21:24 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-29 17:48:54 +01:00
|
|
|
|
url = "https://pypi.python.org/packages/source/t/testtools/${name}.tar.gz";
|
|
|
|
|
sha256 = "1smgk3y7xfzh5xk5wydb6n5lx4g5i6y4w8ajrdnskx1jqr67wyyq";
|
2013-01-18 01:21:24 +00:00
|
|
|
|
};
|
|
|
|
|
|
2013-07-29 17:48:54 +01:00
|
|
|
|
propagatedBuildInputs = [ pythonPackages.python_mimeparse pythonPackages.extras ];
|
|
|
|
|
|
2013-01-18 01:21:24 +00:00
|
|
|
|
meta = {
|
|
|
|
|
description = "A set of extensions to the Python standard library's unit testing framework";
|
|
|
|
|
homepage = http://pypi.python.org/pypi/testtools;
|
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-07-29 17:48:54 +01:00
|
|
|
|
python_mimeparse = buildPythonPackage rec {
|
|
|
|
|
name = "python-mimeparse-${version}";
|
|
|
|
|
version = "0.1.4";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://pypi.python.org/packages/source/p/python-mimeparse/${name}.tar.gz";
|
|
|
|
|
sha256 = "1hyxg09kaj02ri0rmwjqi86wk4nd1akvv7n0dx77azz76wga4s9w";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# error: invalid command 'test'
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A module provides basic functions for parsing mime-type names and matching them against a list of media-ranges.";
|
|
|
|
|
homepage = https://code.google.com/p/mimeparse/;
|
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
extras = buildPythonPackage rec {
|
|
|
|
|
name = "extras-${version}";
|
|
|
|
|
version = "0.0.3";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://pypi.python.org/packages/source/e/extras/extras-${version}.tar.gz";
|
|
|
|
|
sha256 = "1h7zx4dfyclalg0fqnfjijpn0f793a9mx8sy3b27gd31nr6dhq3s";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# error: invalid command 'test'
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A module provides basic functions for parsing mime-type names and matching them against a list of media-ranges.";
|
|
|
|
|
homepage = https://code.google.com/p/mimeparse/;
|
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-04-13 07:42:23 +01:00
|
|
|
|
# TODO
|
|
|
|
|
# py.error.EACCES: [Permission denied]: mkdir('/homeless-shelter',)
|
|
|
|
|
# builder for `/nix/store/0czwg0n3pfkmpjphqv1jxfjlgkbziwsx-python-tox-1.4.3.drv' failed with exit code 1
|
|
|
|
|
# tox = buildPythonPackage rec {
|
|
|
|
|
# name = "tox-1.4.3";
|
|
|
|
|
#
|
|
|
|
|
# buildInputs = [ py virtualenv ];
|
|
|
|
|
#
|
|
|
|
|
# src = fetchurl {
|
|
|
|
|
# url = "https://pypi.python.org/packages/source/t/tox/tox-1.4.3.tar.gz";
|
|
|
|
|
# md5 = "3727d5b0600d92edf2229a7ce6a0f752";
|
|
|
|
|
# };
|
|
|
|
|
# };
|
|
|
|
|
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
trac = buildPythonPackage {
|
2011-04-09 14:37:11 +01:00
|
|
|
|
name = "trac-0.12.2";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2011-04-09 14:37:11 +01:00
|
|
|
|
url = http://ftp.edgewall.com/pub/trac/Trac-0.12.2.tar.gz;
|
|
|
|
|
sha256 = "1ihf5031pc1wpwbxpfzzz2bcpwww795n5y22baglyim1lalivd65";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# couple of failing tests
|
2010-04-21 11:51:15 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
PYTHON_EGG_CACHE = "`pwd`/.egg-cache";
|
|
|
|
|
|
2013-07-27 19:51:54 +01:00
|
|
|
|
propagatedBuildInputs = [ genshi pkgs.setuptools modules.sqlite3 ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Enhanced wiki and issue tracking system for software development projects";
|
|
|
|
|
|
|
|
|
|
license = "BSD";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-01-18 01:21:24 +00:00
|
|
|
|
|
|
|
|
|
transaction = buildPythonPackage rec {
|
|
|
|
|
name = "transaction-${version}";
|
|
|
|
|
version = "1.4.0";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/t/transaction/${name}.tar.gz";
|
|
|
|
|
md5 = "b7c2ff135939f605a8c54e1c13cd5d66";
|
|
|
|
|
};
|
|
|
|
|
|
2013-01-21 20:35:49 +00:00
|
|
|
|
propagatedBuildInputs = [ zope_interface ];
|
2013-01-18 01:21:24 +00:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Transaction management";
|
|
|
|
|
homepage = http://pypi.python.org/pypi/transaction;
|
|
|
|
|
license = "ZPL";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-01-19 00:28:15 +00:00
|
|
|
|
eggdeps = buildPythonPackage rec {
|
|
|
|
|
name = "eggdeps-${version}";
|
|
|
|
|
version = "0.4";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/t/tl.eggdeps/tl.${name}.tar.gz";
|
|
|
|
|
md5 = "2472204a2abd0d8cd4d11ff0fbf36ae7";
|
|
|
|
|
};
|
|
|
|
|
|
2013-01-21 20:35:49 +00:00
|
|
|
|
propagatedBuildInputs = [ zope_interface zope_testing ];
|
2013-01-19 00:28:15 +00:00
|
|
|
|
meta = {
|
|
|
|
|
description = "A tool which computes a dependency graph between active Python eggs";
|
|
|
|
|
homepage = http://thomas-lotze.de/en/software/eggdeps/;
|
|
|
|
|
license = "ZPL";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2012-10-01 12:05:57 +01:00
|
|
|
|
turses = buildPythonPackage (rec {
|
2013-03-17 14:24:45 +00:00
|
|
|
|
name = "turses-0.2.13";
|
2012-10-01 12:05:57 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/t/turses/${name}.tar.gz";
|
2013-03-17 14:24:45 +00:00
|
|
|
|
sha256 = "0sygm40z04zifcfqwby8wwwnj3i1bpl41r7xgnjcipxwirjmnp2k";
|
2012-10-01 12:05:57 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-01-21 05:42:22 +00:00
|
|
|
|
propagatedBuildInputs = [ oauth2 urwid tweepy ] ++ optional isPy26 argparse;
|
2012-12-03 05:38:11 +00:00
|
|
|
|
|
|
|
|
|
#buildInputs = [ tox ];
|
|
|
|
|
# needs tox
|
2012-10-01 12:05:57 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = "https://github.com/alejandrogomez/turses";
|
|
|
|
|
description = "A Twitter client for the console.";
|
|
|
|
|
license = pkgs.lib.licenses.gpl3;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
tweepy = buildPythonPackage (rec {
|
2013-02-19 03:48:55 +00:00
|
|
|
|
name = "tweepy-2.0";
|
2012-10-01 12:05:57 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/t/tweepy/${name}.tar.gz";
|
2013-02-19 03:48:55 +00:00
|
|
|
|
sha256 = "1b95xcw11b5871gd4br78hxbvcq8y9f0i0sqga85dgg9hnmvdcx0";
|
2012-10-01 12:05:57 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = "https://github.com/tweepy/tweepy";
|
|
|
|
|
description = "Twitter library for python";
|
|
|
|
|
license = pkgs.lib.licenses.mit;
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
|
twisted = buildPythonPackage rec {
|
2013-07-13 21:31:28 +01:00
|
|
|
|
name = "twisted-10.2.0";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2011-03-30 12:54:17 +01:00
|
|
|
|
url = http://tmrc.mit.edu/mirror/twisted/Twisted/10.2/Twisted-10.2.0.tar.bz2;
|
|
|
|
|
sha256 = "110c30z622jn14yany1sxfaqj5qx20n9rc9zqacxlwma30fdcbjn";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-01-21 20:35:49 +00:00
|
|
|
|
propagatedBuildInputs = [ zope_interface ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
# 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";
|
|
|
|
|
|
2013-08-16 22:44:33 +01:00
|
|
|
|
maintainers = [ ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
|
|
2011-03-30 13:27:54 +01:00
|
|
|
|
unittest2 = buildPythonPackage rec {
|
2013-07-29 13:52:19 +01:00
|
|
|
|
version = "0.5.1";
|
|
|
|
|
name = "unittest2-${version}";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2013-07-29 13:52:19 +01:00
|
|
|
|
src = if python.is_py3k or false
|
|
|
|
|
then fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/u/unittest2py3k/unittest2py3k-${version}.tar.gz";
|
|
|
|
|
sha256 = "00yl6lskygcrddx5zspkhr0ibgvpknl4678kkm6s626539grq93q";
|
|
|
|
|
}
|
|
|
|
|
else fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/u/unittest2/unittest2-${version}.tar.gz";
|
|
|
|
|
md5 = "a0af5cac92bbbfa0c3b0e99571390e0f";
|
|
|
|
|
};
|
2011-03-30 13:27:54 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A backport of the new features added to the unittest testing framework in Python 2.7";
|
|
|
|
|
homepage = http://pypi.python.org/pypi/unittest2;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-07-20 23:17:21 +01:00
|
|
|
|
|
|
|
|
|
urlgrabber = buildPythonPackage rec {
|
|
|
|
|
name = "urlgrabber-3.9.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://urlgrabber.baseurl.org/download/${name}.tar.gz";
|
|
|
|
|
sha256 = "4437076c8708e5754ea04540e46c7f4f233734ee3590bb8a96389264fb0650d0";
|
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-07-20 23:17:21 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pycurl ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = "urlgrabber.baseurl.org";
|
|
|
|
|
license = "LGPLv2+";
|
|
|
|
|
description = "Python module for downloading files";
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.qknight ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2012-04-30 15:34:57 +01:00
|
|
|
|
urwid = buildPythonPackage (rec {
|
2012-11-29 13:16:32 +00:00
|
|
|
|
name = "urwid-1.1.1";
|
2012-04-30 15:34:57 +01:00
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# multiple: NameError: name 'evl' is not defined
|
2012-04-30 15:34:57 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://excess.org/urwid/${name}.tar.gz";
|
2012-11-29 13:16:32 +00:00
|
|
|
|
md5 = "eca2e0413cf7216b01c84b99e0f2576d";
|
2012-04-30 15:34:57 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A full-featured console (xterm et al.) user interface library";
|
|
|
|
|
homepage = http://excess.org/urwid;
|
2012-04-30 16:24:21 +01:00
|
|
|
|
license = pkgs.lib.licenses.lgpl21;
|
2012-04-30 15:34:57 +01:00
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2011-10-16 13:36:37 +01:00
|
|
|
|
virtualenv = buildPythonPackage rec {
|
2013-07-27 00:02:57 +01:00
|
|
|
|
name = "virtualenv-1.10";
|
2011-10-16 13:36:37 +01:00
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/v/virtualenv/${name}.tar.gz";
|
2013-07-27 00:02:57 +01:00
|
|
|
|
md5 = "9745c28256c70c76d36adb3767a00212";
|
2011-10-16 13:36:37 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-07-27 19:51:54 +01:00
|
|
|
|
inherit recursivePthLoader;
|
|
|
|
|
pythonPath = [ recursivePthLoader ];
|
|
|
|
|
|
2012-05-20 00:15:50 +01:00
|
|
|
|
patches = [ ../development/python-modules/virtualenv-change-prefix.patch ];
|
|
|
|
|
|
2013-07-27 19:51:54 +01:00
|
|
|
|
propagatedBuildInputs = [ modules.readline modules.sqlite3 modules.curses ];
|
2012-07-20 19:07:52 +01:00
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
buildInputs = [ mock nose ];
|
|
|
|
|
|
|
|
|
|
# XXX: Ran 0 tests in 0.003s
|
2011-10-16 13:36:37 +01:00
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
description = "a tool to create isolated Python environments";
|
|
|
|
|
homepage = http://www.virtualenv.org;
|
|
|
|
|
license = licenses.mit;
|
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
|
};
|
|
|
|
|
};
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2013-03-27 01:24:55 +00:00
|
|
|
|
waitress = buildPythonPackage rec {
|
2013-05-28 23:05:31 +01:00
|
|
|
|
name = "waitress-0.8.5";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/w/waitress/${name}.tar.gz";
|
2013-05-28 23:05:31 +01:00
|
|
|
|
md5 = "7a3094d812c0dffb948d1334ef5fd56f";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
};
|
|
|
|
|
|
2013-07-26 19:35:20 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
2013-03-27 01:24:55 +00:00
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [
|
|
|
|
|
stdenv.lib.maintainers.garbas
|
|
|
|
|
stdenv.lib.maintainers.iElectric
|
|
|
|
|
];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
2011-08-03 14:39:49 +01:00
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
|
webob = buildPythonPackage rec {
|
2013-03-27 01:24:55 +00:00
|
|
|
|
version = "1.2.3";
|
2011-03-30 12:54:17 +01:00
|
|
|
|
name = "webob-${version}";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
|
src = fetchurl {
|
2013-03-27 01:24:55 +00:00
|
|
|
|
url = "http://pypi.python.org/packages/source/W/WebOb/WebOb-${version}.tar.gz";
|
|
|
|
|
md5 = "11825b7074ba7043e157805e4e6e0f55";
|
2011-03-30 12:54:17 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-07-27 19:51:54 +01:00
|
|
|
|
propagatedBuildInputs = [ nose modules.ssl ];
|
2011-03-30 12:54:17 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "WSGI request and response object";
|
|
|
|
|
homepage = http://pythonpaste.org/webob/;
|
2013-03-27 01:24:55 +00:00
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2011-03-30 12:54:17 +01:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2013-02-15 00:54:00 +00:00
|
|
|
|
websockify = buildPythonPackage rec {
|
|
|
|
|
version = "0.3.0";
|
|
|
|
|
name = "websockify-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/w/websockify/websockify-${version}.tar.gz";
|
|
|
|
|
md5 = "29b6549d3421907de4bbd881ecc2e1b1";
|
|
|
|
|
};
|
|
|
|
|
|
2013-02-15 00:58:50 +00:00
|
|
|
|
propagatedBuildInputs = [ numpy ];
|
2013-02-15 00:54:00 +00:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "WebSockets support for any application/server";
|
|
|
|
|
homepage = https://github.com/kanaka/websockify;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
|
webtest = buildPythonPackage rec {
|
2013-03-27 01:24:55 +00:00
|
|
|
|
version = "2.0.3";
|
2011-03-30 12:54:17 +01:00
|
|
|
|
name = "webtest-${version}";
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2011-03-30 12:54:17 +01:00
|
|
|
|
src = fetchurl {
|
2013-03-27 01:24:55 +00:00
|
|
|
|
url = "http://pypi.python.org/packages/source/W/WebTest/WebTest-${version}.zip";
|
|
|
|
|
md5 = "a1266d4db421963fd3deb172c6689e4b";
|
2011-03-30 12:54:17 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-05-10 14:52:01 +01:00
|
|
|
|
buildInputs = [ pkgs.unzip ] ++ optionals isPy26 [ pythonPackages.ordereddict ];
|
2013-04-22 10:17:23 +01:00
|
|
|
|
|
|
|
|
|
# XXX: skipping two tests fails in python2.6
|
|
|
|
|
doCheck = ! isPy26;
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
|
nose
|
|
|
|
|
webob
|
|
|
|
|
six
|
|
|
|
|
beautifulsoup4
|
|
|
|
|
waitress
|
2013-05-10 14:52:01 +01:00
|
|
|
|
unittest2
|
2013-03-27 01:24:55 +00:00
|
|
|
|
mock
|
|
|
|
|
pyquery
|
|
|
|
|
wsgiproxy2
|
|
|
|
|
paste_deploy
|
|
|
|
|
coverage
|
|
|
|
|
];
|
2011-03-30 12:54:17 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Helper to test WSGI applications";
|
|
|
|
|
homepage = http://pythonpaste.org/webtest/;
|
2013-03-27 01:24:55 +00:00
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2011-03-30 12:54:17 +01:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-05-04 09:41:50 +01:00
|
|
|
|
|
2012-07-16 12:16:34 +01:00
|
|
|
|
werkzeug = buildPythonPackage {
|
|
|
|
|
name = "werkzeug-0.8.3";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/W/Werkzeug/Werkzeug-0.8.3.tar.gz";
|
|
|
|
|
md5 = "12aa03e302ce49da98703938f257347a";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://werkzeug.pocoo.org/;
|
|
|
|
|
description = "A WSGI utility library for Python";
|
|
|
|
|
license = "BSD";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2012-09-13 11:09:08 +01:00
|
|
|
|
wokkel = buildPythonPackage (rec {
|
|
|
|
|
url = "http://wokkel.ik.nu/releases/0.7.0/wokkel-0.7.0.tar.gz";
|
|
|
|
|
name = pkgs.lib.nameFromURL url ".tar";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
inherit url;
|
|
|
|
|
sha256 = "0rnshrzw8605x05mpd8ndrx3ri8h6cx713mp8sl4f04f4gcrz8ml";
|
|
|
|
|
};
|
|
|
|
|
|
2012-09-13 11:12:42 +01:00
|
|
|
|
propagatedBuildInputs = [twisted dateutil];
|
2012-09-13 11:09:08 +01:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Some (mainly XMPP-related) additions to twisted";
|
|
|
|
|
homepage = "http://wokkel.ik.nu/";
|
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
2013-03-27 01:24:55 +00:00
|
|
|
|
wsgiproxy2 = buildPythonPackage rec {
|
|
|
|
|
name = "WSGIProxy2-0.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/W/WSGIProxy2/${name}.tar.gz";
|
|
|
|
|
md5 = "157049212f1c81a8790efa31146fbabf";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six webob ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [
|
|
|
|
|
stdenv.lib.maintainers.garbas
|
|
|
|
|
stdenv.lib.maintainers.iElectric
|
|
|
|
|
];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2011-05-04 09:41:50 +01:00
|
|
|
|
wxPython = wxPython28;
|
2011-07-20 16:30:40 +01:00
|
|
|
|
|
2011-05-04 09:41:50 +01:00
|
|
|
|
|
|
|
|
|
wxPython28 = import ../development/python-modules/wxPython/2.8.nix {
|
|
|
|
|
inherit (pkgs) stdenv fetchurl pkgconfig;
|
|
|
|
|
inherit pythonPackages;
|
|
|
|
|
wxGTK = pkgs.wxGTK28;
|
|
|
|
|
};
|
|
|
|
|
|
2012-09-13 11:32:16 +01:00
|
|
|
|
xe = buildPythonPackage rec {
|
|
|
|
|
url = "http://www.blarg.net/%7Esteveha/xe-0.7.4.tar.gz";
|
|
|
|
|
name = stdenv.lib.nameFromURL url ".tar";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
inherit url;
|
|
|
|
|
sha256 = "0v9878cl0y9cczdsr6xjy8v9l139lc23h4m5f86p4kpf2wlnpi42";
|
|
|
|
|
};
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-09-13 11:32:16 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = "http://home.blarg.net/~steveha/xe.html";
|
|
|
|
|
description = "XML elements";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2012-02-20 18:20:12 +00:00
|
|
|
|
xlib = buildPythonPackage (rec {
|
|
|
|
|
name = "xlib-0.15rc1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "mirror://sourceforge/python-xlib/python-${name}.tar.bz2";
|
|
|
|
|
sha256 = "0mvzz605pxzj7lfp2w6z4qglmr4rjza9xrb7sl8yn12cklzfky0m";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Tests require `pyutil' so disable them to avoid circular references.
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pkgs.xlibs.libX11 ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Fully functional X client library for Python programs";
|
|
|
|
|
|
|
|
|
|
homepage = http://python-xlib.sourceforge.net/;
|
|
|
|
|
|
|
|
|
|
license = "GPLv2+";
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
zbase32 = buildPythonPackage (rec {
|
2010-07-28 00:51:22 +01:00
|
|
|
|
name = "zbase32-1.1.2";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zbase32/${name}.tar.gz";
|
2010-07-28 00:51:22 +01:00
|
|
|
|
sha256 = "2f44b338f750bd37b56e7887591bf2f1965bfa79f163b6afcbccf28da642ec56";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Tests require `pyutil' so disable them to avoid circular references.
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
buildInputs = [ setuptoolsDarcs ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "zbase32, a base32 encoder/decoder";
|
|
|
|
|
|
|
|
|
|
homepage = http://pypi.python.org/pypi/zbase32;
|
|
|
|
|
|
|
|
|
|
license = "BSD";
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2013-01-18 01:21:24 +00:00
|
|
|
|
|
|
|
|
|
zconfig = buildPythonPackage rec {
|
|
|
|
|
name = "zconfig-${version}";
|
|
|
|
|
version = "2.9.3";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/Z/ZConfig/ZConfig-${version}.tar.gz";
|
|
|
|
|
md5 = "2c5f73c216140a705be3d9c44b988722";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ zope_testrunner ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Structured Configuration Library";
|
|
|
|
|
homepage = http://pypi.python.org/pypi/ZConfig;
|
|
|
|
|
license = "ZPL";
|
2013-01-21 21:36:59 +00:00
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
2013-01-18 01:21:24 +00:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zc_lockfile = buildPythonPackage rec {
|
2013-01-21 21:31:32 +00:00
|
|
|
|
name = "zc.lockfile-${version}";
|
2013-01-18 01:21:24 +00:00
|
|
|
|
version = "1.0.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-01-21 21:31:32 +00:00
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zc.lockfile/${name}.tar.gz";
|
2013-01-18 01:21:24 +00:00
|
|
|
|
md5 = "f099d4cf2583a0c7bea0146a44dc4d59";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Inter-process locks";
|
|
|
|
|
homepage = http://www.python.org/pypi/zc.lockfile;
|
|
|
|
|
license = "ZPL";
|
2013-01-21 21:36:59 +00:00
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
2013-01-18 01:21:24 +00:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zdaemon = buildPythonPackage rec {
|
|
|
|
|
name = "zdaemon-${version}";
|
|
|
|
|
version = "3.0.5";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zdaemon/${name}.tar.gz";
|
|
|
|
|
md5 = "975f770544bb4352c5cf32fec22e63c9";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ zconfig ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A daemon process control library and tools for Unix-based systems";
|
|
|
|
|
homepage = http://pypi.python.org/pypi/zdaemon;
|
|
|
|
|
license = "ZPL";
|
2013-01-21 21:36:59 +00:00
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
2013-01-18 01:21:24 +00:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
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+";
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
2013-01-18 01:21:24 +00:00
|
|
|
|
|
|
|
|
|
zodb3 = buildPythonPackage rec {
|
|
|
|
|
name = "zodb3-${version}";
|
|
|
|
|
version = "3.10.5";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/Z/ZODB3/ZODB3-${version}.tar.gz";
|
|
|
|
|
md5 = "6f180c6897a1820948fee2a6290503cd";
|
|
|
|
|
};
|
|
|
|
|
|
2013-01-21 20:35:49 +00:00
|
|
|
|
propagatedBuildInputs = [ manuel transaction zc_lockfile zconfig zdaemon zope_interface zope_event ];
|
2013-01-18 01:21:24 +00:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "An object-oriented database for Python";
|
|
|
|
|
homepage = http://pypi.python.org/pypi/ZODB3;
|
|
|
|
|
license = "ZPL";
|
2013-01-21 21:36:59 +00:00
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
2013-01-18 01:21:24 +00:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-01-22 00:45:41 +00:00
|
|
|
|
zope_broken = buildPythonPackage rec {
|
|
|
|
|
name = "zope.broken-3.6.0";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.broken/${name}.zip";
|
|
|
|
|
md5 = "eff24d7918099a3e899ee63a9c31bee6";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.unzip zope_interface ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zope_browser = buildPythonPackage rec {
|
|
|
|
|
name = "zope.browser-1.3";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.browser/${name}.zip";
|
|
|
|
|
md5 = "4ff0ddbf64c45bfcc3189e35f4214ded";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.unzip ];
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ zope_interface ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zope_component = buildPythonPackage rec {
|
|
|
|
|
name = "zope.component-4.0.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.component/zope.component-4.0.2.tar.gz";
|
|
|
|
|
md5 = "8c2fd4414ca23cbbe014dcaf911acebc";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
|
zope_configuration zope_event zope_i18nmessageid zope_interface
|
|
|
|
|
zope_testing
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
# ignore tests because of a circular dependency on zope_security
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zope_configuration = buildPythonPackage rec {
|
|
|
|
|
name = "zope.configuration-4.0.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.configuration/zope.configuration-4.0.2.tar.gz";
|
|
|
|
|
md5 = "40b3c7ad0b748ede532d8cfe2544e44e";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ zope_i18nmessageid zope_schema ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zope_container = buildPythonPackage rec {
|
|
|
|
|
name = "zope.container-3.11.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.container/${name}.tar.gz";
|
|
|
|
|
md5 = "fc66d85a17b8ffb701091c9328983dcc";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
|
zodb3 zope_broken zope_dottedname zope_publisher
|
|
|
|
|
zope_filerepresentation zope_lifecycleevent zope_size
|
|
|
|
|
zope_traversing
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zope_contenttype = buildPythonPackage rec {
|
|
|
|
|
name = "zope.contenttype-3.5.5";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.contenttype/${name}.zip";
|
|
|
|
|
md5 = "c6ac80e6887de4108a383f349fbdf332";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.unzip ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zope_dottedname = buildPythonPackage rec {
|
|
|
|
|
name = "zope.dottedname-3.4.6";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.dottedname/${name}.tar.gz";
|
|
|
|
|
md5 = "62d639f75b31d2d864fe5982cb23959c";
|
|
|
|
|
};
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
2013-01-18 01:21:24 +00:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zope_event = buildPythonPackage rec {
|
2013-01-21 21:31:32 +00:00
|
|
|
|
name = "zope.event-${version}";
|
2013-01-18 01:21:24 +00:00
|
|
|
|
version = "4.0.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-01-21 21:31:32 +00:00
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.event/${name}.tar.gz";
|
2013-01-18 01:21:24 +00:00
|
|
|
|
md5 = "e08dd299d428d77a1cfcbfe841b81872";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "An event publishing system";
|
|
|
|
|
homepage = http://pypi.python.org/pypi/zope.event;
|
|
|
|
|
license = "ZPL";
|
2013-01-21 21:36:59 +00:00
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
2013-01-18 01:21:24 +00:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zope_exceptions = buildPythonPackage rec {
|
2013-01-21 21:31:32 +00:00
|
|
|
|
name = "zope.exceptions-${version}";
|
2013-01-18 01:21:24 +00:00
|
|
|
|
version = "4.0.5";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-01-21 21:31:32 +00:00
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.exceptions/${name}.tar.gz";
|
2013-01-18 01:21:24 +00:00
|
|
|
|
md5 = "c95569fcb444ae541777de7ae5297492";
|
|
|
|
|
};
|
|
|
|
|
|
2013-01-21 20:35:49 +00:00
|
|
|
|
propagatedBuildInputs = [ zope_interface ];
|
2013-01-18 01:21:24 +00:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Exception interfaces and implementations";
|
|
|
|
|
homepage = http://pypi.python.org/pypi/zope.exceptions;
|
|
|
|
|
license = "ZPL";
|
2013-01-21 21:36:59 +00:00
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
2013-01-18 01:21:24 +00:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-01-22 00:45:41 +00:00
|
|
|
|
zope_filerepresentation = buildPythonPackage rec {
|
|
|
|
|
name = "zope.filerepresentation-3.6.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.filerepresentation/${name}.tar.gz";
|
|
|
|
|
md5 = "4a7a434094f4bfa99a7f22e75966c359";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ zope_schema ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zope_i18n = buildPythonPackage rec {
|
|
|
|
|
name = "zope.i18n-3.7.4";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.i18n/${name}.tar.gz";
|
|
|
|
|
md5 = "a6fe9d9ad53dd7e94e87cd58fb67d3b7";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pytz zope_component ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zope_i18nmessageid = buildPythonPackage rec {
|
|
|
|
|
name = "zope.i18nmessageid-4.0.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.i18nmessageid/zope.i18nmessageid-4.0.2.tar.gz";
|
|
|
|
|
md5 = "c4550f7a0b4a736186e6e0fa3b2471f7";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zope_lifecycleevent = buildPythonPackage rec {
|
|
|
|
|
name = "zope.lifecycleevent-3.6.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.lifecycleevent/${name}.tar.gz";
|
|
|
|
|
md5 = "3ba978f3ba7c0805c81c2c79ea3edb33";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ zope_event zope_component ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zope_location = buildPythonPackage rec {
|
|
|
|
|
name = "zope.location-4.0.0";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.location/zope.location-4.0.0.tar.gz";
|
|
|
|
|
md5 = "cd0e10d5923c95e352bcde505cc11324";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ zope_proxy ];
|
|
|
|
|
|
|
|
|
|
# ignore circular dependency on zope_schema
|
|
|
|
|
installCommand = ''
|
|
|
|
|
easy_install --always-unzip --no-deps --prefix="$out" .
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zope_proxy = buildPythonPackage rec {
|
|
|
|
|
name = "zope.proxy-4.1.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.proxy/zope.proxy-4.1.1.tar.gz";
|
|
|
|
|
md5 = "c36691f0abee7573f4ddcc378603cefd";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ zope_interface ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zope_publisher = buildPythonPackage rec {
|
|
|
|
|
name = "zope.publisher-3.12.6";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.publisher/${name}.tar.gz";
|
|
|
|
|
md5 = "495131970cc7cb14de8e517fb3857ade";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
|
zope_browser zope_contenttype zope_i18n zope_security
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zope_schema = buildPythonPackage rec {
|
|
|
|
|
name = "zope.schema-4.2.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.schema/zope.schema-4.2.2.tar.gz";
|
|
|
|
|
md5 = "e7e581af8193551831560a736a53cf58";
|
|
|
|
|
};
|
2013-02-18 15:12:43 +00:00
|
|
|
|
|
2013-04-22 10:17:23 +01:00
|
|
|
|
propagatedBuildInputs = [ zope_event zope_interface zope_testing ] ++ optional isPy26 ordereddict;
|
2013-01-22 00:45:41 +00:00
|
|
|
|
|
|
|
|
|
# ignore circular dependency on zope_location
|
|
|
|
|
installCommand = ''
|
|
|
|
|
easy_install --no-deps --prefix="$out" .
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zope_security = buildPythonPackage rec {
|
|
|
|
|
name = "zope.security-3.7.4";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.security/zope.security-3.7.4.tar.gz";
|
|
|
|
|
md5 = "072ab8d11adc083eace11262da08630c";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
|
zope_component zope_configuration zope_i18nmessageid zope_schema
|
|
|
|
|
zope_proxy
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zope_size = buildPythonPackage rec {
|
|
|
|
|
name = "zope.size-3.4.1";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.size/${name}.tar.gz";
|
|
|
|
|
md5 = "55d9084dfd9dcbdb5ad2191ceb5ed03d";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ zope_i18nmessageid zope_interface ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-03-27 01:24:55 +00:00
|
|
|
|
zope_sqlalchemy = buildPythonPackage rec {
|
|
|
|
|
name = "zope.sqlalchemy-0.7.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.sqlalchemy/${name}.zip";
|
|
|
|
|
md5 = "b654e5d144ed141e13b42591a21a4868";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.unzip sqlalchemy zope_testing zope_interface setuptools ];
|
|
|
|
|
propagatedBuildInputs = [ sqlalchemy transaction ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [
|
|
|
|
|
stdenv.lib.maintainers.garbas
|
|
|
|
|
stdenv.lib.maintainers.iElectric
|
|
|
|
|
];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-01-18 01:21:24 +00:00
|
|
|
|
zope_testing = buildPythonPackage rec {
|
2013-01-21 21:31:32 +00:00
|
|
|
|
name = "zope.testing-${version}";
|
2013-07-29 13:52:19 +01:00
|
|
|
|
version = "4.1.2";
|
2013-01-18 01:21:24 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-29 13:52:19 +01:00
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.testing/${name}.zip";
|
|
|
|
|
md5 = "01c30c342c6a18002a762bd5d320a6e9";
|
2013-01-18 01:21:24 +00:00
|
|
|
|
};
|
|
|
|
|
|
2013-07-29 13:52:19 +01:00
|
|
|
|
buildInputs = [ pkgs.unzip ];
|
2013-01-22 00:45:41 +00:00
|
|
|
|
propagatedBuildInputs = [ zope_interface zope_exceptions zope_location ];
|
2013-01-18 01:21:24 +00:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "Zope testing helpers";
|
|
|
|
|
homepage = http://pypi.python.org/pypi/zope.testing;
|
|
|
|
|
license = "ZPL";
|
2013-01-21 21:36:59 +00:00
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
2013-01-18 01:21:24 +00:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zope_testrunner = buildPythonPackage rec {
|
2013-01-21 21:31:32 +00:00
|
|
|
|
name = "zope.testrunner-${version}";
|
2013-07-29 17:48:54 +01:00
|
|
|
|
version = "4.4.1";
|
2013-01-18 01:21:24 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-01-21 21:31:32 +00:00
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.testrunner/${name}.zip";
|
2013-07-29 17:48:54 +01:00
|
|
|
|
md5 = "1d689abad000419891494b30dd7d8190";
|
2013-01-18 01:21:24 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.unzip ];
|
|
|
|
|
|
2013-07-29 17:48:54 +01:00
|
|
|
|
propagatedBuildInputs = [ subunit zope_interface zope_exceptions zope_testing six ];
|
2013-01-18 01:21:24 +00:00
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A flexible test runner with layer support";
|
|
|
|
|
homepage = http://pypi.python.org/pypi/zope.testrunner;
|
|
|
|
|
license = "ZPL";
|
2013-01-21 21:36:59 +00:00
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
2013-01-18 01:21:24 +00:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-01-22 00:45:41 +00:00
|
|
|
|
zope_traversing = buildPythonPackage rec {
|
|
|
|
|
name = "zope.traversing-3.13.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.traversing/${name}.zip";
|
|
|
|
|
md5 = "eaad8fc7bbef126f9f8616b074ec00aa";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.unzip ];
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ zope_location zope_security zope_publisher ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
2013-01-18 01:21:24 +00:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-01-21 21:31:32 +00:00
|
|
|
|
zope_interface = buildPythonPackage rec {
|
2013-01-22 00:45:41 +00:00
|
|
|
|
name = "zope.interface-4.0.3";
|
2013-01-21 21:31:32 +00:00
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
src = fetchurl {
|
2013-01-21 21:31:32 +00:00
|
|
|
|
url = "http://pypi.python.org/packages/source/z/zope.interface/${name}.tar.gz";
|
2013-01-22 00:45:41 +00:00
|
|
|
|
md5 = "1ddd308f2c83703accd1696158c300eb";
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
|
2013-01-22 00:45:41 +00:00
|
|
|
|
propagatedBuildInputs = [ zope_event ];
|
|
|
|
|
|
2010-04-21 11:51:15 +01:00
|
|
|
|
meta = {
|
|
|
|
|
description = "Zope.Interface";
|
|
|
|
|
homepage = http://zope.org/Products/ZopeInterface;
|
|
|
|
|
license = "ZPL";
|
2013-01-22 00:45:41 +00:00
|
|
|
|
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
2010-04-21 11:51:15 +01:00
|
|
|
|
};
|
|
|
|
|
};
|
2011-03-29 17:15:08 +01:00
|
|
|
|
|
2013-01-22 00:45:41 +00:00
|
|
|
|
|
2012-07-21 19:15:26 +01:00
|
|
|
|
# XXX: link broken
|
|
|
|
|
# hgsvn = buildPythonPackage rec {
|
|
|
|
|
# name = "hgsvn-0.1.8";
|
|
|
|
|
# src = fetchurl rec {
|
|
|
|
|
# name = "hgsvn-0.1.8.tar.gz";
|
|
|
|
|
# url = "http://pypi.python.org/packages/source/h/hgsvn/${name}.tar.gz#md5=56209eae48b955754e09185712123428";
|
|
|
|
|
# sha256 = "18a7bj1i0m4shkxmdvw1ci5i0isq5vqf0bpwgrhnk305rijvbpch";
|
|
|
|
|
# };
|
2012-07-21 20:43:39 +01:00
|
|
|
|
#
|
2012-07-21 19:15:26 +01:00
|
|
|
|
# buildInputs = [ pkgs.setuptools ];
|
|
|
|
|
# doCheck = false;
|
2012-07-21 20:43:39 +01:00
|
|
|
|
#
|
|
|
|
|
# meta = {
|
2012-07-21 19:15:26 +01:00
|
|
|
|
# description = "HgSVN";
|
|
|
|
|
# homepage = http://pypi.python.org/pypi/hgsvn;
|
|
|
|
|
# };
|
|
|
|
|
# };
|
2011-05-09 16:01:34 +01:00
|
|
|
|
|
2012-06-03 23:11:09 +01:00
|
|
|
|
cliapp = buildPythonPackage rec {
|
2013-01-03 12:25:02 +00:00
|
|
|
|
name = "cliapp-${version}";
|
2013-04-18 15:09:35 +01:00
|
|
|
|
version = "1.20130313";
|
2012-06-03 23:11:09 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl rec {
|
2013-01-03 12:25:02 +00:00
|
|
|
|
url = "http://code.liw.fi/debian/pool/main/p/python-cliapp/python-cliapp_${version}.orig.tar.gz";
|
2013-04-18 15:09:35 +01:00
|
|
|
|
sha256 = "0rk13a68668gsrv6yqgzqxskffqnlyjar4qav6k5iyrp77amn7qm";
|
2012-06-03 23:11:09 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ sphinx ];
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-06-03 23:11:09 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://liw.fi/cliapp/;
|
|
|
|
|
description = "Python framework for Unix command line programs.";
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
2013-03-22 23:38:18 +00:00
|
|
|
|
tornado = buildPythonPackage rec {
|
|
|
|
|
name = "tornado-2.4";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/t/tornado/tornado-2.4.tar.gz";
|
|
|
|
|
md5 = "c738af97c31dd70f41f6726cf0968941";
|
|
|
|
|
};
|
|
|
|
|
doCheck = false;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-06-17 16:53:36 +01:00
|
|
|
|
tarman = buildPythonPackage rec {
|
2013-08-28 05:06:07 +01:00
|
|
|
|
version = "0.1.3";
|
2013-06-17 16:53:36 +01:00
|
|
|
|
name = "tarman-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://pypi.python.org/packages/source/t/tarman/tarman-${version}.zip";
|
2013-08-28 05:06:07 +01:00
|
|
|
|
sha256 = "0ri6gj883k042xaxa2d5ymmhbw2bfcxdzhh4bz7700ibxwxxj62h";
|
2013-06-17 16:53:36 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.unzip unittest2 nose mock ];
|
2013-07-27 19:51:54 +01:00
|
|
|
|
propagatedBuildInputs = [ modules.curses libarchive ];
|
2013-06-17 16:53:36 +01:00
|
|
|
|
|
2013-08-28 05:06:07 +01:00
|
|
|
|
# tests are still failing
|
2013-06-17 16:53:36 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
libarchive = buildPythonPackage rec {
|
|
|
|
|
version = "3.0.4-5";
|
|
|
|
|
name = "libarchive-${version}";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://python-libarchive.googlecode.com/files/python-libarchive-${version}.tar.gz";
|
|
|
|
|
sha256 = "141yx9ym8gvybn67mw0lmgafzsd79rmd9l77lk0k6m2fzclqx1j5";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pkgs.libarchive ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-03-22 23:38:18 +00:00
|
|
|
|
pyzmq = buildPythonPackage rec {
|
|
|
|
|
name = "pyzmq-13.0.0";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/p/pyzmq/pyzmq-13.0.0.zip";
|
|
|
|
|
md5 = "fa2199022e54a393052d380c6e1a0934";
|
|
|
|
|
};
|
|
|
|
|
buildInputs = [ pkgs.unzip pkgs.zeromq3 ];
|
|
|
|
|
propagatedBuildInputs = [ ];
|
|
|
|
|
doCheck = false;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2013-03-27 01:24:55 +00:00
|
|
|
|
tissue = buildPythonPackage rec {
|
|
|
|
|
name = "tissue-0.7";
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/t/tissue/${name}.tar.gz";
|
|
|
|
|
md5 = "c9f3772407eb7499a949daaa9b859fdf";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
propagatedBuildInputs = [ pep8 ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [
|
|
|
|
|
stdenv.lib.maintainers.garbas
|
|
|
|
|
stdenv.lib.maintainers.iElectric
|
|
|
|
|
];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2012-06-03 23:11:09 +01:00
|
|
|
|
tracing = buildPythonPackage rec {
|
2012-10-08 11:35:25 +01:00
|
|
|
|
name = "tracing-0.7";
|
2012-06-03 23:11:09 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl rec {
|
2012-10-08 11:35:25 +01:00
|
|
|
|
url = "http://code.liw.fi/debian/pool/main/p/python-tracing/python-tracing_0.7.orig.tar.gz";
|
|
|
|
|
sha256 = "9954a1b0cc6b957d15975b048f929bbdd46766d397a6fa51bf8f6498b9459276";
|
2012-06-03 23:11:09 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ sphinx ];
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-06-03 23:11:09 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://liw.fi/tracing/;
|
|
|
|
|
description = "Python debug logging helper.";
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-03-27 01:24:55 +00:00
|
|
|
|
translationstring = buildPythonPackage rec {
|
2013-08-11 13:29:40 +01:00
|
|
|
|
name = "translationstring-1.1";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/t/translationstring/${name}.tar.gz";
|
2013-08-11 13:29:40 +01:00
|
|
|
|
md5 = "0979b46d8f0f852810c8ec4be5c26cf2";
|
2013-03-27 01:24:55 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [
|
|
|
|
|
stdenv.lib.maintainers.garbas
|
|
|
|
|
stdenv.lib.maintainers.iElectric
|
|
|
|
|
];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2012-06-03 23:11:09 +01:00
|
|
|
|
ttystatus = buildPythonPackage rec {
|
2013-04-18 15:09:35 +01:00
|
|
|
|
name = "ttystatus-${version}";
|
|
|
|
|
version = "0.22";
|
2012-06-03 23:11:09 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl rec {
|
2013-04-18 15:09:35 +01:00
|
|
|
|
url = "http://code.liw.fi/debian/pool/main/p/python-ttystatus/python-ttystatus_${version}.orig.tar.gz";
|
|
|
|
|
sha256 = "1hzv0sbrvgcmafflhvzh7plci0dg7wcjlk39i8kqdasg6rw0ag6f";
|
2012-06-03 23:11:09 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ sphinx ];
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-06-03 23:11:09 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://liw.fi/ttystatus/;
|
|
|
|
|
description = "Progress and status updates on terminals for Python.";
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
larch = buildPythonPackage rec {
|
2013-01-03 12:25:02 +00:00
|
|
|
|
name = "larch-${version}";
|
2013-04-18 15:09:35 +01:00
|
|
|
|
version = "1.20130316";
|
2012-06-03 23:11:09 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl rec {
|
2013-01-03 12:25:02 +00:00
|
|
|
|
url = "http://code.liw.fi/debian/pool/main/p/python-larch/python-larch_${version}.orig.tar.gz";
|
2013-04-18 15:09:35 +01:00
|
|
|
|
sha256 = "1mkvmy0jdzd7dlvdx2a75wsbj5qw1clawcgndx9jwl816a9iy225";
|
2012-06-03 23:11:09 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ sphinx ];
|
|
|
|
|
propagatedBuildInputs = [ tracing ttystatus cliapp ];
|
|
|
|
|
|
2012-12-03 05:38:11 +00:00
|
|
|
|
# error: invalid command 'test'
|
2012-06-03 23:11:09 +01:00
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://liw.fi/larch/;
|
|
|
|
|
description = "Python B-tree library.";
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
|
|
|
|
webhelpers = buildPythonPackage rec {
|
|
|
|
|
name = "WebHelpers-1.3";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/W/WebHelpers/${name}.tar.gz";
|
|
|
|
|
md5 = "32749ffadfc40fea51075a7def32588b";
|
|
|
|
|
};
|
|
|
|
|
|
2013-07-28 10:12:13 +01:00
|
|
|
|
buildInputs = [ routes markupsafe webob nose ];
|
2013-03-27 01:24:55 +00:00
|
|
|
|
|
|
|
|
|
# TODO: failing tests https://bitbucket.org/bbangert/webhelpers/pull-request/1/fix-error-on-webob-123/diff
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
maintainers = [
|
|
|
|
|
stdenv.lib.maintainers.garbas
|
|
|
|
|
stdenv.lib.maintainers.iElectric
|
|
|
|
|
];
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-01-03 12:08:23 +00:00
|
|
|
|
whisper = buildPythonPackage rec {
|
|
|
|
|
name = "whisper-${version}";
|
|
|
|
|
version = "0.9.10";
|
|
|
|
|
|
|
|
|
|
src = fetchurl rec {
|
|
|
|
|
url = "https://launchpad.net/graphite/0.9/${version}/+download/${name}.tar.gz";
|
|
|
|
|
sha256 = "1zy4z4hrbiqj4ipcv2m9197hf03d4xphllqav9w4c8i6fn8zmd9n";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# error: invalid command 'test'
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://graphite.wikidot.com/;
|
|
|
|
|
description = "Fixed size round-robin style database";
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
carbon = buildPythonPackage rec {
|
|
|
|
|
name = "carbon-${version}";
|
|
|
|
|
version = "0.9.10";
|
|
|
|
|
|
|
|
|
|
src = fetchurl rec {
|
|
|
|
|
url = "https://launchpad.net/graphite/0.9/${version}/+download/${name}.tar.gz";
|
|
|
|
|
sha256 = "0wjhd87pvpcpvaj3wql2d92g8lpp33iwmxdkp7npic5mjl2y0dsg";
|
|
|
|
|
};
|
|
|
|
|
|
2013-08-10 14:26:07 +01:00
|
|
|
|
propagatedBuildInputs = [ whisper txamqp zope_interface twisted ];
|
2013-01-03 12:08:23 +00:00
|
|
|
|
|
|
|
|
|
# error: invalid command 'test'
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://graphite.wikidot.com/;
|
|
|
|
|
description = "Backend data caching and persistence daemon for Graphite";
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-02-18 13:08:48 +00:00
|
|
|
|
|
|
|
|
|
unidecode = buildPythonPackage rec {
|
|
|
|
|
name = "Unidecode-0.04.12";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://pypi.python.org/packages/source/U/Unidecode/${name}.tar.gz";
|
|
|
|
|
md5 = "351dc98f4512bdd2e93f7a6c498730eb";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://pypi.python.org/pypi/Unidecode/;
|
|
|
|
|
description = "ASCII transliterations of Unicode text";
|
2013-02-19 10:23:28 +00:00
|
|
|
|
license = pkgs.lib.licenses.gpl2;
|
2013-02-18 13:08:48 +00:00
|
|
|
|
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-01-03 12:08:23 +00:00
|
|
|
|
txamqp = buildPythonPackage rec {
|
|
|
|
|
name = "txamqp-${version}";
|
|
|
|
|
version = "0.3";
|
|
|
|
|
|
|
|
|
|
src = fetchurl rec {
|
|
|
|
|
url = "https://launchpad.net/txamqp/trunk/${version}/+download/python-txamqp_${version}.orig.tar.gz";
|
|
|
|
|
sha256 = "1r2ha0r7g14i4b5figv2spizjrmgfpspdbl1m031lw9px2hhm463";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ twisted ];
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = https://launchpad.net/txamqp;
|
|
|
|
|
description = "Library for communicating with AMQP peers and brokers using Twisted";
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
graphite_web = buildPythonPackage rec {
|
|
|
|
|
name = "graphite-web-${version}";
|
2013-08-21 09:10:11 +01:00
|
|
|
|
version = "0.9.11";
|
2013-01-03 12:08:23 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl rec {
|
2013-08-21 09:10:11 +01:00
|
|
|
|
url = "https://pypi.python.org/packages/source/g/graphite-web/${name}.tar.gz";
|
|
|
|
|
md5 = "1499b5dded3d1054d598760fd450a6f9";
|
2013-01-03 12:08:23 +00:00
|
|
|
|
};
|
|
|
|
|
|
2013-08-11 11:05:02 +01:00
|
|
|
|
propagatedBuildInputs = [ django_1_3 django_tagging modules.sqlite3 whisper pkgs.pycairo ldap memcached ];
|
|
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
|
wrapProgram $out/bin/run-graphite-devel-server.py \
|
|
|
|
|
--prefix PATH : ${pkgs.which}/bin
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
|
substituteInPlace webapp/graphite/thirdparty/pytz/__init__.py --replace '/usr/share/zoneinfo' '/etc/zoneinfo'
|
|
|
|
|
substituteInPlace webapp/graphite/settings.py --replace "join(WEBAPP_DIR, 'content')" "join(WEBAPP_DIR, 'webapp', 'content')"
|
|
|
|
|
cp webapp/graphite/manage.py bin/manage-graphite.py
|
|
|
|
|
substituteInPlace bin/manage-graphite.py --replace 'settings' 'graphite.settings'
|
|
|
|
|
'';
|
2013-01-03 12:08:23 +00:00
|
|
|
|
|
|
|
|
|
# error: invalid command 'test'
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://graphite.wikidot.com/;
|
|
|
|
|
description = "Enterprise scalable realtime graphing";
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-02-26 18:42:04 +00:00
|
|
|
|
pyspotify = buildPythonPackage rec {
|
|
|
|
|
name = "pyspotify-${version}";
|
2013-07-23 10:23:09 +01:00
|
|
|
|
|
2013-07-06 07:45:33 +01:00
|
|
|
|
version = "1.11";
|
2013-07-23 10:23:09 +01:00
|
|
|
|
|
2013-07-06 07:45:33 +01:00
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://github.com/mopidy/pyspotify/archive/v1.11.tar.gz";
|
|
|
|
|
sha256 = "089ml6pqr3f2d15n70jpzbaqjp5pjgqlyv4algkxw92xscjw2izg";
|
2013-02-26 18:42:04 +00:00
|
|
|
|
};
|
2013-07-23 10:23:09 +01:00
|
|
|
|
|
2013-07-04 10:13:36 +01:00
|
|
|
|
buildInputs = [ pkgs.libspotify ]
|
|
|
|
|
++ stdenv.lib.optional stdenv.isDarwin pkgs.install_name_tool;
|
2013-07-23 10:23:09 +01:00
|
|
|
|
|
2013-02-26 18:42:04 +00:00
|
|
|
|
# python zip complains about old timestamps
|
|
|
|
|
preConfigure = ''
|
|
|
|
|
find -print0 | xargs -0 touch
|
|
|
|
|
'';
|
2013-07-04 10:14:32 +01:00
|
|
|
|
|
|
|
|
|
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
|
|
|
|
|
find "$out" -name _spotify.so -exec \
|
|
|
|
|
install_name_tool -change \
|
|
|
|
|
@loader_path/../Frameworks/libspotify.framework/libspotify \
|
|
|
|
|
${pkgs.libspotify}/lib/libspotify.dylib \
|
|
|
|
|
{} \;
|
|
|
|
|
'';
|
2013-07-23 10:23:09 +01:00
|
|
|
|
|
2013-02-26 18:42:04 +00:00
|
|
|
|
# There are no tests
|
|
|
|
|
doCheck = false;
|
2013-07-23 10:23:09 +01:00
|
|
|
|
|
2013-07-04 10:14:32 +01:00
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
homepage = http://pyspotify.mopidy.com;
|
2013-02-26 18:42:04 +00:00
|
|
|
|
description = "A Python interface to Spotify’s online music streaming service";
|
2013-07-04 10:14:32 +01:00
|
|
|
|
license = licenses.unfree;
|
|
|
|
|
maintainers = with maintainers; [ lovek323 rickynils ];
|
|
|
|
|
platforms = platforms.unix;
|
2013-02-26 18:42:04 +00:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
pykka = buildPythonPackage rec {
|
|
|
|
|
name = "pykka-${version}";
|
2013-07-23 10:23:09 +01:00
|
|
|
|
|
2013-02-26 18:42:04 +00:00
|
|
|
|
version = "1.1.0";
|
2013-07-23 10:23:09 +01:00
|
|
|
|
|
2013-02-26 18:42:04 +00:00
|
|
|
|
src = fetchgit {
|
|
|
|
|
url = "https://github.com/jodal/pykka.git";
|
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
|
sha256 = "0w6bcaqkzwmd9habszlgjkp3kkhkna08s9aivnmna5hddsghfqmz";
|
|
|
|
|
};
|
2013-07-23 10:23:09 +01:00
|
|
|
|
|
2013-02-26 18:42:04 +00:00
|
|
|
|
# python zip complains about old timestamps
|
|
|
|
|
preConfigure = ''
|
|
|
|
|
find -print0 | xargs -0 touch
|
|
|
|
|
'';
|
2013-07-23 10:23:09 +01:00
|
|
|
|
|
2013-02-26 18:42:04 +00:00
|
|
|
|
# There are no tests
|
|
|
|
|
doCheck = false;
|
2013-07-23 10:23:09 +01:00
|
|
|
|
|
2013-02-26 18:42:04 +00:00
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://www.pykka.org;
|
|
|
|
|
description = "A Python implementation of the actor model";
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-03-03 19:53:48 +00:00
|
|
|
|
ws4py = buildPythonPackage rec {
|
|
|
|
|
name = "ws4py-${version}";
|
2013-07-23 10:23:09 +01:00
|
|
|
|
|
2013-03-03 19:53:48 +00:00
|
|
|
|
version = "git-20130303";
|
2013-07-23 10:23:09 +01:00
|
|
|
|
|
2013-03-03 19:53:48 +00:00
|
|
|
|
src = fetchgit {
|
|
|
|
|
url = "https://github.com/Lawouach/WebSocket-for-Python.git";
|
|
|
|
|
rev = "ace276500ca7e4c357595e3773be151d37bcd6e2";
|
|
|
|
|
sha256 = "04m4m3ncn7g4rb81xg5n28imns7rsq8d2w98gjpaib6vlmyly3g1";
|
|
|
|
|
};
|
2013-07-23 10:23:09 +01:00
|
|
|
|
|
2013-03-03 19:53:48 +00:00
|
|
|
|
# python zip complains about old timestamps
|
|
|
|
|
preConfigure = ''
|
|
|
|
|
find -print0 | xargs -0 touch
|
|
|
|
|
'';
|
2013-07-23 10:23:09 +01:00
|
|
|
|
|
2013-03-03 19:53:48 +00:00
|
|
|
|
# Tests depend on other packages
|
|
|
|
|
doCheck = false;
|
2013-07-23 10:23:09 +01:00
|
|
|
|
|
2013-03-03 19:53:48 +00:00
|
|
|
|
meta = {
|
|
|
|
|
homepage = https://ws4py.readthedocs.org;
|
|
|
|
|
description = "A WebSocket package for Python";
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-05-31 13:07:44 +01:00
|
|
|
|
gdata = buildPythonPackage rec {
|
|
|
|
|
name = "gdata-${version}";
|
|
|
|
|
version = "2.0.17";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://gdata-python-client.googlecode.com/files/${name}.tar.gz";
|
|
|
|
|
# sha1 = "d2d9f60699611f95dd8c328691a2555e76191c0c";
|
|
|
|
|
sha256 = "0bdaqmicpbj9v3p0swvyrqs7m35bzwdw1gy56d3k09np692jfwmd";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Fails with "error: invalid command 'test'"
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = https://code.google.com/p/gdata-python-client/;
|
|
|
|
|
description = "Python client library for Google data APIs";
|
|
|
|
|
license = pkgs.lib.licenses.asl20;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
IMAPClient = buildPythonPackage rec {
|
|
|
|
|
name = "IMAPClient-${version}";
|
|
|
|
|
version = "0.9.2";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://freshfoo.com/projects/IMAPClient/${name}.tar.gz";
|
|
|
|
|
sha256 = "10alpj7074djs048xjc4j7ggd1nrqdqpy0fzl7fj9hddp0rbchs9";
|
|
|
|
|
};
|
|
|
|
|
|
2013-06-06 09:56:46 +01:00
|
|
|
|
preConfigure = ''
|
|
|
|
|
sed -i '/distribute_setup/d' setup.py
|
|
|
|
|
'';
|
|
|
|
|
|
2013-05-31 13:07:44 +01:00
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://imapclient.freshfoo.com/;
|
|
|
|
|
description = "Easy-to-use, Pythonic and complete IMAP client library";
|
|
|
|
|
license = pkgs.lib.licenses.bsd3;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
Logbook = buildPythonPackage rec {
|
|
|
|
|
name = "Logbook-${version}";
|
2013-07-29 17:01:30 +01:00
|
|
|
|
version = "0.4.2";
|
2013-05-31 13:07:44 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://pypi.python.org/packages/source/L/Logbook/${name}.tar.gz";
|
|
|
|
|
# md5 = "143cb15af4c4a784ca785a1546ad1b93";
|
2013-07-29 17:01:30 +01:00
|
|
|
|
sha256 = "1g2pnhxh7m64qsrs0ifwcmpfk7gqjvrawd8z66i001rsdnq778v0";
|
2013-05-31 13:07:44 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://pythonhosted.org/Logbook/;
|
|
|
|
|
description = "A logging replacement for Python";
|
|
|
|
|
license = pkgs.lib.licenses.bsd3;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-08-15 13:32:25 +01:00
|
|
|
|
# python2.7 specific eggs
|
|
|
|
|
} // pkgs.lib.optionalAttrs (python.majorVersion == "2.7") {
|
|
|
|
|
|
|
|
|
|
pypi2nix = pythonPackages.buildPythonPackage rec {
|
2013-08-25 20:56:36 +01:00
|
|
|
|
rev = "e85eb9e75e7290c17e89822d6a5c1c52c1b59269";
|
2013-08-15 13:32:25 +01:00
|
|
|
|
name = "pypi2nix-1.0_${rev}";
|
|
|
|
|
|
|
|
|
|
src = pkgs.fetchurl {
|
|
|
|
|
url = "https://github.com/garbas/pypi2nix/tarball/${rev}";
|
|
|
|
|
name = "${name}.tar.bz";
|
2013-08-25 20:56:36 +01:00
|
|
|
|
sha256 = "0wk9019pgpc2467819cz98fdvihjkpihlh1yywfxlvn04ymb315q";
|
2013-08-15 13:32:25 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pythonPackages."Distutils2-1.0a4" ];
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = https://github.com/garbas/pypi2nix;
|
|
|
|
|
description = "";
|
|
|
|
|
maintainers = [ pkgs.stdenv.lib.maintainers.garbas ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2011-05-04 09:41:50 +01:00
|
|
|
|
}; in pythonPackages
|