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
2013-09-22 13:53:07 +01:00
aafigure = buildPythonPackage rec {
name = " a a f i g u r e - 0 . 5 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / a / a a f i g u r e / ${ name } . t a r . g z " ;
md5 = " 5 3 2 2 8 8 8 a 2 1 e b 0 b b 2 e 7 4 9 f b f 9 8 e d d f 5 7 4 " ;
} ;
propagatedBuildInputs = [ pillow ] ;
# error: invalid command 'test'
doCheck = false ;
# Fix impurity. TODO: Do the font lookup using fontconfig instead of this
# manual method. Until that is fixed, we get this whenever we run aafigure:
# WARNING: font not found, using PIL default font
patchPhase = ''
sed - i " s | / u s r / s h a r e / f o n t s | / n o n e x i s t i n g - f o n t s - p a t h | " aafigure/PILhelper.py
'' ;
meta = with stdenv . lib ; {
description = " A S C I I a r t t o i m a g e c o n v e r t e r " ;
homepage = https://launchpad.net/aafigure/ ;
license = licenses . bsd2 ;
platforms = platforms . linux ;
maintainers = [ maintainers . bjornfor ] ;
} ;
} ;
2013-09-21 18:31:40 +01:00
actdiag = buildPythonPackage rec {
name = " a c t d i a g - 0 . 4 . 3 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / a / a c t d i a g / ${ name } . t a r . g z " ;
md5 = " 4 2 8 a a a b 8 4 9 f 0 4 6 6 8 f a 1 2 3 8 8 b 9 6 4 a 5 6 e a " ;
} ;
buildInputs = [ pep8 nose unittest2 docutils ] ;
propagatedBuildInputs = [ blockdiag ] ;
# One test fails, because of missing simple.diag input file
doCheck = false ;
meta = with stdenv . lib ; {
description = " G e n e r a t e a c t i v i t y - d i a g r a m i m a g e f r o m s p e c - t e x t f i l e ( s i m i l a r t o G r a p h v i z ) " ;
homepage = http://blockdiag.com/ ;
license = licenses . asl20 ;
platforms = platforms . linux ;
maintainers = [ maintainers . bjornfor ] ;
} ;
} ;
2012-04-30 15:34:57 +01:00
afew = buildPythonPackage rec {
2012-09-28 16:06:07 +01:00
rev = " 6 b b 3 9 1 5 6 3 6 a a f 8 6 f 0 4 6 a 0 1 7 f f f f d 9 a 4 e f 3 9 5 e 1 9 9 " ;
name = " a f e w - 1 . 0 _ ${ rev } " ;
2012-04-30 15:34:57 +01:00
src = fetchurl {
2012-09-28 16:06:07 +01:00
url = " h t t p s : / / g i t h u b . c o m / t e y t h o o n / a f e w / t a r b a l l / ${ rev } " ;
2012-04-30 15:34:57 +01:00
name = " ${ name } . t a r . b z " ;
2012-09-28 16:06:07 +01:00
sha256 = " 7 4 9 2 6 d 9 d d f a 6 9 5 3 4 c f b d 0 8 a 8 2 f 0 a c c c a b 2 c 6 4 9 5 5 8 0 6 2 6 5 4 d 5 d 2 f f 2 9 9 9 d 2 0 1 3 8 4 " ;
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 = " a f e w i s a n i n i t i a l t a g g i n g s c r i p t f o r n o t m u c h m a i l . " ;
maintainers = [ stdenv . lib . maintainers . garbas ] ;
} ;
} ;
2013-09-20 16:44:10 +01:00
alembic = buildPythonPackage rec {
name = " a l e m b i c - 0 . 6 . 0 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / a / a l e m b i c / ${ name } . t a r . g z " ;
md5 = " 0 8 4 f e 8 1 b 4 8 e b a e 4 3 b 0 f 6 0 3 1 a f 6 8 a 0 3 d 6 " ;
} ;
buildInputs = [ nose ] ;
propagatedBuildInputs = [ Mako sqlalchemy ] ;
meta = {
homepage = http://bitbucket.org/zzzeek/alembic ;
description = " A d a t a b a s e m i g r a t i o n t o o l f o r S Q L A l c h e m y . " ;
license = stdenv . lib . licenses . mit ;
} ;
} ;
2013-03-27 01:24:55 +00:00
almir = buildPythonPackage rec {
2013-05-16 19:17:47 +01:00
name = " a l m i r - 0 . 1 . 8 " ;
2013-03-27 01:24:55 +00:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / a / a l m i r / ${ name } . z i p " ;
2013-05-16 19:17:47 +01:00
md5 = " 9 a 1 f 3 c 7 2 a 0 3 9 6 2 2 c a 7 2 b 7 4 b e 7 a 1 c d 3 7 e " ;
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 " $ o u t / b i n / p s e r v e " \
- - suffix PYTHONPATH : " $ o u t / l i b / p y t h o n 2 . 7 / s i t e - p a c k a g e s "
'' ;
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 = " 0 7 1 1 c f 8 e f a f 1 a 4 c c a 2 4 6 1 7 c 3 4 0 6 2 1 0 a 4 1 5 0 0 6 4 5 7 " ;
2013-03-17 14:15:56 +00:00
name = " a l o t - 0 . 3 . 4 _ ${ rev } " ;
2012-04-30 15:34:57 +01:00
src = fetchurl {
2012-09-28 16:06:07 +01:00
url = " h t t p s : / / g i t h u b . c o m / p a z z / a l o t / t a r b a l l / ${ rev } " ;
2012-04-30 15:34:57 +01:00
name = " ${ name } . t a r . b z " ;
2013-07-07 23:47:03 +01:00
sha256 = " 1 r x k x 9 c j a j s v 9 x 1 d l 4 x p 1 r 3 v r 0 k b 6 6 s g l x a q z j i w a k n q z a h m m j i 5 " ;
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 = " T e r m i n a l M U A u s i n g n o t m u c h m a i l " ;
maintainers = [ stdenv . lib . maintainers . garbas ] ;
} ;
} ;
2011-03-29 17:15:08 +01:00
anyjson = buildPythonPackage rec {
name = " a n y j s o n - 0 . 3 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / a / a n y j s o n / ${ name } . t a r . g z " ;
md5 = " 2 b 5 3 b 5 d 5 3 f c 4 0 a f 4 d a 7 2 6 8 d 3 c 3 e 3 5 a 5 0 " ;
} ;
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 = " W r a p p e r t h a t s e l e c t s t h e b e s t a v a i l a b l e J S O N i m p l e m e n t a t i o n " ;
} ;
} ;
amqplib = buildPythonPackage rec {
name = " a m q p l i b - 0 . 6 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y - a m q p l i b . g o o g l e c o d e . c o m / f i l e s / ${ name } . t g z " ;
sha1 = " f 1 2 4 e 5 e 4 a 6 6 4 4 b f 6 d 1 7 3 4 0 3 2 a 0 1 a c 4 4 d b 1 b 2 5 a 2 9 " ;
} ;
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 = " P y t h o n c l i e n t f o r t h e A d v a n c e d M e s s a g e Q u e u i n g P r o c o t o l ( A M Q P ) " ;
} ;
} ;
2011-05-03 16:43:51 +01:00
apsw = buildPythonPackage rec {
name = " a p s w - 3 . 7 . 6 . 2 - r 1 " ;
2011-07-20 16:30:40 +01:00
2011-05-03 16:43:51 +01:00
src = fetchurl {
url = " h t t p : / / a p s w . g o o g l e c o d e . c o m / f i l e s / ${ name } . z i p " ;
sha1 = " f a 4 a e c 0 8 e 5 9 f a 5 9 6 4 1 9 7 f 5 9 b a 4 2 4 0 8 d 6 4 0 3 1 6 7 5 b " ;
} ;
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 P y t h o n w r a p p e r f o r t h e S Q L i t e e m b e d d e d r e l a t i o n a l d a t a b a s e e n g i n e " ;
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 = " a r e a 5 3 - b 2 c 9 c d c a b d " ;
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 = " b 2 c 9 c d c a b d " ;
sha256 = " b 0 c 1 2 b 8 c 4 8 e d 9 1 8 0 c 7 4 7 5 f a b 1 8 d e 5 0 d 6 3 e 1 b 5 1 7 c f b 4 6 d a 4 d 2 c 6 6 f c 4 0 6 f e 9 0 2 b c " ;
} ;
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 = " a r g p a r s e - 1 . 2 . 1 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
2013-04-21 14:55:15 +01:00
url = " h t t p : / / a r g p a r s e . g o o g l e c o d e . c o m / f i l e s / ${ name } . t a r . g z " ;
sha256 = " 1 9 2 1 7 4 m y s 4 0 m 0 b w k 6 l 5 j l f n z p s 0 x i 8 1 s x m 3 4 c q m s 6 d c 3 c 4 5 4 p b y x " ;
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 = " A p a c h e L i c e n s e 2 . 0 " ;
description = " a r g p a r s e : P y t h o n c o m m a n d l i n e p a r s e r " ;
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 = " b e a u t i f u l s o u p - 3 . 2 . 1 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
2013-02-18 10:33:24 +00:00
url = " h t t p : / / w w w . c r u m m y . c o m / s o f t w a r e / B e a u t i f u l S o u p / d o w n l o a d / 3 . x / B e a u t i f u l S o u p - 3 . 2 . 1 . t a r . g z " ;
sha256 = " 1 n s h b c p d n 0 j p c j 5 1 x 0 s p z j p 5 1 9 p k m q z 0 n 0 7 4 8 j 7 d g p z 7 0 z l q b f p m " ;
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 = " b s d " ;
description = " U n d e m a n d i n g H T M L / X M L p a r s e r " ;
} ;
} ) ;
2013-02-18 15:12:43 +00:00
beautifulsoup4 = buildPythonPackage ( rec {
2013-02-18 10:33:24 +00:00
name = " b e a u t i f u l s o u p 4 - 4 . 1 . 3 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / b / b e a u t i f u l s o u p 4 / ${ name } . t a r . g z " ;
md5 = " c 0 1 2 a d c 0 6 2 1 7 b 8 5 3 2 c 4 4 6 d 1 8 1 c c 5 6 5 8 6 " ;
} ;
# invalid command 'test'
doCheck = false ;
meta = {
homepage = http://crummy.com/software/BeautifulSoup/bs4/ ;
description = " H T M L a n d X M L p a r s e r " ;
license = stdenv . lib . licenses . mit ;
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ) ;
2013-04-07 00:52:52 +01:00
beaker = buildPythonPackage rec {
name = " B e a k e r - 1 . 6 . 4 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / B / B e a k e r / ${ name } . t a r . g z " ;
md5 = " c 2 e 1 0 2 8 7 0 e d 4 c 5 3 1 0 4 d e c 4 8 c e a d f 8 e 9 d " ;
} ;
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 = " b e e t s - 1 . 0 . 0 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / b / b e e t s / ${ name } . t a r . g z " ;
md5 = " 8 8 a d 0 9 a 9 3 a a 0 d 6 9 c e 8 1 3 2 0 5 c f 2 3 b 2 a 6 c " ;
} ;
# tests depend on $HOME setting
configurePhase = " e x p o r t H O M E = $ T M P D I R " ;
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 = " M u s i c t a g g e r a n d l i b r a r y o r g a n i z e r " ;
license = pkgs . lib . licenses . mit ;
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
2013-07-17 21:19:29 +01:00
bitbucket_api = buildPythonPackage rec {
name = " b i t b u c k e t - a p i - 0 . 4 . 4 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / b / b i t b u c k e t - a p i / ${ name } . t a r . g z " ;
md5 = " 6 f 3 c e e 3 5 8 6 c 4 a a d 9 c 0 b 2 e 0 4 f c e 9 7 0 4 f b " ;
} ;
propagatedBuildInputs = [ requests_oauth2 nose sh ] ;
doCheck = false ;
meta = {
homepage = https://github.com/Sheeprider/BitBucket-api ;
description = " P y t h o n l i b r a r y t o i n t e r a c t w i t h B i t B u c k e t R E S T A P I " ;
license = pkgs . lib . licenses . mit ;
} ;
} ;
2013-07-07 18:39:36 +01:00
bitstring = buildPythonPackage rec {
name = " b i t s t r i n g - 3 . 1 . 2 " ;
src = fetchurl {
url = " h t t p s : / / p y t h o n - b i t s t r i n g . g o o g l e c o d e . c o m / f i l e s / ${ name } . z i p " ;
sha256 = " 1 i 1 p 3 r k j 4 a d 1 0 8 f 2 3 x y i b 3 4 r 4 r c y 5 7 1 g y 6 5 p a m l 6 f k 7 7 k n h 0 k 6 6 p " ;
} ;
buildInputs = [ pkgs . unzip ] ;
# error: invalid command 'test'
doCheck = false ;
meta = with stdenv . lib ; {
description = " M o d u l e f o r b i n a r y d a t a m a n i p u l a t i o n " ;
homepage = https://code.google.com/p/python-bitstring/ ;
license = licenses . mit ;
platforms = platforms . linux ;
maintainers = [ maintainers . bjornfor ] ;
} ;
} ;
2013-09-21 17:15:18 +01:00
blockdiag = buildPythonPackage rec {
name = " b l o c k d i a g - 1 . 2 . 4 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / b / b l o c k d i a g / ${ name } . t a r . g z " ;
md5 = " 2 4 4 3 3 4 f 6 0 c c 1 0 b 0 c b 7 3 b 5 d f 5 2 7 9 b c d d 1 " ;
} ;
buildInputs = [ pep8 nose unittest2 docutils ] ;
propagatedBuildInputs = [ pil webcolors funcparserlib ] ;
# One test fails:
# ...
# FAIL: test_auto_font_detection (blockdiag.tests.test_boot_params.TestBootParams)
doCheck = false ;
meta = with stdenv . lib ; {
description = " G e n e r a t e b l o c k - d i a g r a m i m a g e f r o m s p e c - t e x t f i l e ( s i m i l a r t o G r a p h v i z ) " ;
homepage = http://blockdiag.com/ ;
license = licenses . asl20 ;
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 = " b p y t h o n - 0 . 1 2 " ;
2013-07-08 12:58:31 +01:00
src = fetchurl {
2013-07-29 13:52:19 +01:00
url = " h t t p : / / w w w . b p y t h o n - i n t e r p r e t e r . o r g / r e l e a s e s / b p y t h o n - 0 . 1 2 . t a r . g z " ;
sha256 = " 1 i l f 5 8 q q 7 s a z m c g g 4 f 1 w s w b h c n 2 g b 8 q b b r p g m 6 g f 0 j 2 l b m 6 0 g a b l " ;
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 = " U N K N O W N " ;
homepage = " U N K N O W N " ;
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 = " b o t o - 1 . 9 b " ;
src = fetchurl {
url = " h t t p : / / b o t o . g o o g l e c o d e . c o m / f i l e s / ${ name } . t a r . g z " ;
sha1 = " 0 0 a 0 3 3 b 0 a 5 9 3 c 3 c a 8 2 9 2 7 8 6 7 9 5 0 f 7 3 d 8 8 b 8 3 1 1 5 5 " ;
} ;
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 = " b s d " ;
description = " P y t h o n i n t e r f a c e t o A m a z o n W e b S e r v i c e s " ;
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 = " b o t o - ${ version } " ;
version = " 2 . 9 . 9 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
2013-08-15 15:01:36 +01:00
url = " h t t p s : / / g i t h u b . c o m / b o t o / b o t o / a r c h i v e / ${ version } . t a r . g z " ;
sha256 = " 1 8 w q p z d 1 z f 8 n i v c n 2 r l 1 w n l a d f 7 h h y y 5 p 7 5 b 5 l 6 k a f y n m 4 l 9 j 6 j q " ;
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 = " b s d " ;
description = " P y t h o n i n t e r f a c e t o A m a z o n W e b S e r v i c e s " ;
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 . 1 3 . 1 " ;
name = " b o t o c o r e - ${ version } " ;
2013-01-30 14:42:40 +00:00
src = fetchurl {
2013-07-31 12:32:25 +01:00
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / b / b o t o c o r e / ${ name } . t a r . g z " ;
sha256 = " 1 9 2 k x g w 7 6 b 2 2 z m k 5 m x j k i j 5 r s k i b b 9 j f a g g v p z n z y 3 g g s g j a 7 y y 8 " ;
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 = " b s d " ;
description = " A l o w - l e v e l i n t e r f a c e t o a g r o w i n g n u m b e r o f A m a z o n W e b S e r v i c e s " ;
} ;
} ;
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 = " z c . b u i l d o u t - 1 . 7 . 1 " ;
2013-01-17 23:45:13 +00:00
src = fetchurl {
2013-04-17 00:25:45 +01:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z c . b u i l d o u t / ${ name } . t a r . g z " ;
md5 = " 8 8 3 4 a 2 1 5 8 6 b f 2 b e 5 3 d c 4 1 2 0 0 2 2 4 1 a 9 9 6 " ;
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 = " h t t p : / / w w w . b u i l d o u t . o r g " ;
2013-03-09 09:41:14 +00:00
description = " A s o f t w a r e b u i l d a n d c o n f i g u r a t i o n s y s t e m " ;
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 = " z c . b u i l d o u t - 1 . 5 . 2 " ;
2013-03-09 09:41:14 +00:00
src = fetchurl {
2013-04-17 00:25:45 +01:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z c . b u i l d o u t / ${ name } . t a r . g z " ;
2013-03-09 09:41:14 +00:00
md5 = " 8 7 f 7 b 3 f 8 d 1 3 9 2 6 c 8 0 6 2 4 2 f d 5 f 6 f e 3 6 f 7 " ;
} ;
# 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 / r e t u r n ( s t d l i b , s i t e _ p a t h s ) / r e t u r n ( s t d l i b , s y s . p a t h ) / 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 = " h t t p : / / w w w . b u i l d o u t . o r g " ;
2013-01-17 23:45:13 +00:00
description = " A s o f t w a r e b u i l d a n d c o n f i g u r a t i o n s y s t e m " ;
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 = " c a r r o t - 0 . 1 0 . 7 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / c / c a r r o t / ${ name } . t a r . g z " ;
md5 = " 5 3 0 a 0 6 1 4 d e 3 a 6 6 9 3 1 4 c 3 a c d 4 9 9 5 c 5 4 d 5 " ;
} ;
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 = " A M Q P M e s s a g i n g F r a m e w o r k f o r P y t h o n " ;
} ;
} ;
2011-03-30 18:03:49 +01:00
cheetah = buildPythonPackage rec {
version = " 2 . 4 . 4 " ;
name = " c h e e t a h - ${ version } " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / C / C h e e t a h / C h e e t a h - ${ version } . t a r . g z " ;
md5 = " 8 5 3 9 1 7 1 1 6 e 7 3 1 a f b c 8 c 8 a 4 3 c 3 7 e 6 d d b a " ;
} ;
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 t e m p l a t e e n g i n e a n d c o d e g e n e r a t i o n t o o l " ;
} ;
} ;
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 = " c h e r r y p y - ${ version } " ;
version = " 3 . 2 . 2 " ;
2010-09-17 18:34:08 +01:00
src = fetchurl {
2013-05-06 11:14:34 +01:00
url = " h t t p : / / d o w n l o a d . c h e r r y p y . o r g / c h e r r y p y / ${ version } / C h e r r y P y - ${ version } . t a r . g z " ;
sha256 = " 1 4 d n 1 2 9 h 6 9 w j 0 h 8 y r 0 b j w b r k 8 k y g l 6 m k f n x c 5 m 3 f x h l m 4 x b 8 h n n w " ;
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 = " h t t p : / / w w w . c h e r r y p y . o r g " ;
description = " A p y t h o n i c , o b j e c t - o r i e n t e d H T T P f r a m e w o r k " ;
} ;
} ) ;
2013-03-27 19:18:45 +00:00
clepy = buildPythonPackage rec {
name = " c l e p y - 0 . 3 . 2 0 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / c / c l e p y / ${ name } . t a r . g z " ;
sha256 = " 1 6 v i b f x m s 5 z 4 l d 8 g b k r a 6 d k h q m 2 c c 3 j n n 0 f w p 7 m w 7 0 n l w x n m m 5 1 c " ;
} ;
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 = " U t i l i t i e s c r e a t e d b y t h e C l e v e l a n d P y t h o n u s e r s g r o u p " ;
} ;
} ;
2010-04-21 11:51:15 +01:00
clientform = buildPythonPackage ( rec {
name = " c l i e n t f o r m - 0 . 2 . 1 0 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / C / C l i e n t F o r m / C l i e n t F o r m - 0 . 2 . 1 0 . t a r . g z " ;
sha256 = " 0 d y d h 3 i 1 s x 7 r r j 6 d 0 g j 3 7 5 w k j p i i v m 7 j j l s i m w 6 h m w v 4 c k 7 y f 1 w m " ;
} ;
meta = {
homepage = http://wwwsearch.sourceforge.net/ClientForm/ ;
license = " b s d " ;
description = " P y t h o n m o d u l e f o r h a n d l i n g H T M L f o r m s o n t h e c l i e n t s i d e " ;
} ;
} ) ;
2013-04-07 14:34:35 +01:00
2013-07-07 09:19:39 +01:00
cogapp = buildPythonPackage rec {
version = " 2 . 3 " ;
name = " c o g a p p - ${ version } " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / c / c o g a p p / ${ name } . t a r . g z " ;
sha256 = " 0 g z m z b s k 5 4 r 1 q a 6 w d 0 y g 4 z z d x v n 2 f 1 9 c i p r r 2 a c l d x a k n z r p l l n n " ;
} ;
# there are no tests
doCheck = false ;
meta = with stdenv . lib ; {
description = " A c o d e g e n e r a t o r f o r e x e c u t i n g P y t h o n s n i p p e t s i n s o u r c e f i l e s " ;
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 = " c o l o r a m a - 0 . 2 . 5 " ;
2013-04-07 14:34:35 +01:00
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / c / c o l o r a m a / c o l o r a m a - 0 . 2 . 5 . t a r . g z " ;
md5 = " 3 0 8 c 6 e 3 8 9 1 7 b d b f c 4 d 3 b 0 7 8 3 c 6 1 4 8 9 7 d " ;
} ;
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 = " b s d " ;
description = " C r o s s - p l a t f o r m c o l o r e d t e r m i n a l t e x t " ;
} ;
} ;
2012-06-12 21:16:04 +01:00
coilmq = buildPythonPackage ( rec {
name = " c o i l m q - 0 . 6 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / C / C o i l M Q / C o i l M Q - 0 . 6 . 1 . t a r . g z " ;
md5 = " 5 f 3 9 7 2 7 4 1 5 b 8 3 7 a b d 0 2 6 5 1 e e b 2 7 2 1 7 4 9 " ;
} ;
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 = " S i m p l e , l i g h t w e i g h t , a n d e a s i l y e x t e n s i b l e S T O M P m e s s a g e b r o k e r " ;
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 = " c o l a n d e r - 1 . 0 a 5 " ;
2013-03-27 01:24:55 +00:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / c / c o l a n d e r / ${ name } . t a r . g z " ;
2013-08-11 13:29:40 +01:00
md5 = " 5 6 9 d e a 5 2 3 5 6 1 f 5 d 9 4 3 3 8 e f 9 d 9 a 9 8 d 2 4 9 " ;
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 ;
} ;
} ;
2013-09-20 16:48:03 +01:00
ColanderAlchemy = buildPythonPackage rec {
name = " C o l a n d e r A l c h e m y - 0 . 2 . 0 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / C / C o l a n d e r A l c h e m y / ${ name } . t a r . g z " ;
md5 = " b 0 5 4 8 3 7 b d 2 7 5 3 c b f 1 5 f 7 d 5 0 2 8 c b a 4 2 1 b " ;
} ;
buildInputs = [ unittest2 ] ;
propagatedBuildInputs = [ colander sqlalchemy8 ] ;
# string: argument name cannot be overridden via info kwarg.
doCheck = false ;
meta = {
description = " A u t o g e n e r a t e C o l a n d e r s c h e m a s b a s e d o n S Q L A l c h e m y m o d e l s . " ;
homepage = https://github.com/stefanofontanelli/ColanderAlchemy ;
license = pkgs . lib . licenses . mit ;
} ;
} ;
2012-04-30 15:34:57 +01:00
configobj = buildPythonPackage ( rec {
name = " c o n f i g o b j - 4 . 7 . 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / c / c o n f i g o b j / ${ name } . t a r . g z " ;
md5 = " 2 0 1 d b a a 7 3 2 a 9 0 4 9 c 8 3 9 f 9 b b 6 c 2 7 f c 7 b 5 " ;
} ;
2012-12-03 05:38:11 +00:00
# error: invalid command 'test'
2012-04-30 15:34:57 +01:00
doCheck = false ;
meta = {
description = " C o n f i g f i l e r e a d i n g , w r i t i n g a n d v a l i d a t i o n . " ;
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 = " c o n s t r u c t - 2 . 5 . 1 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / c / c o n s t r u c t / ${ name } . t a r . g z " ;
sha256 = " 0 8 q k s l 8 7 v r 6 g 2 w j x w s y r j h 4 w 6 v 8 b f m c g r c g l n 7 i r q v w 5 v v 7 q g q s s " ;
} ;
propagatedBuildInputs = [ six ] ;
meta = with stdenv . lib ; {
description = " P o w e r f u l d e c l a r a t i v e p a r s e r ( a n d b u i l d e r ) f o r b i n a r y d a t a " ;
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 = " c o v e r a g e - 3 . 6 " ;
2012-12-05 11:22:01 +00:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / c / c o v e r a g e / ${ name } . t a r . g z " ;
2013-01-21 07:37:07 +00:00
md5 = " 6 7 d 4 e 3 9 3 f 4 c 6 a 5 f f c 1 8 6 0 5 4 0 9 d 2 a a 1 a c " ;
2012-12-05 11:22:01 +00:00
} ;
meta = {
description = " C o d e c o v e r a g e m e a s u r e m e n t f o r p y t h o n " ;
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 = " c o v - c o r e - 1 . 7 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / c / c o v - c o r e / c o v - c o r e - 1 . 7 . t a r . g z " ;
md5 = " 5 9 c 1 e 2 2 e 6 3 6 6 3 3 e 1 0 1 2 0 b e a c b f 4 5 b 2 8 c " ;
} ;
meta = {
description = " p l u g i n c o r e f o r u s e b y p y t e s t - c o v , n o s e - c o v a n d n o s e 2 - c o v " ;
} ;
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 = " c r y p t a c u l a r - 1 . 4 . 1 " ;
buildInputs = [ coverage nose ] ;
propagatedBuildInputs = [ pbkdf2 modules . crypt ] ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / c / c r y p t a c u l a r / ${ name } . t a r . g z " ;
md5 = " f e 1 2 2 3 2 a c 6 6 0 1 8 5 1 8 6 d d 8 0 5 7 d 8 c a 7 b 0 e " ;
} ;
# TODO: tests fail: TypeError: object of type 'NoneType' has no len()
doCheck = false ;
meta = {
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
pbkdf2 = buildPythonPackage rec {
name = " p b k d f 2 - 1 . 3 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p b k d f 2 / ${ name } . t a r . g z " ;
md5 = " 4 0 c d a 5 6 6 f 6 1 4 2 0 4 9 0 2 0 6 5 9 7 2 4 3 d d 8 6 9 f " ;
} ;
# ImportError: No module named test
doCheck = false ;
meta = {
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
bcrypt = buildPythonPackage rec {
name = " b c r y p t - 1 . 0 . 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / b / b c r y p t / ${ name } . t a r . g z " ;
md5 = " c 5 d f 0 0 8 6 6 9 d 1 7 d d 6 e e b 5 e 2 0 4 2 d 5 e 1 3 6 f " ;
} ;
buildInputs = [ cffi pycparser mock pytest py ] ;
meta = {
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
cffi = buildPythonPackage rec {
name = " c f f i - 0 . 7 . 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / c / c f f i / ${ name } . t a r . g z " ;
md5 = " d 3 2 9 f 5 c b 2 0 5 3 f d 3 1 d a f c 0 2 e 2 c 9 e f 0 2 9 9 " ;
} ;
buildInputs = [ pkgs . libffi pycparser ] ;
meta = {
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
pycparser = buildPythonPackage rec {
name = " p y c p a r s e r - 2 . 1 0 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y c p a r s e r / ${ name } . t a r . g z " ;
md5 = " d 8 7 a e d 9 8 c 8 a 9 f 3 8 6 a a 5 6 d 3 6 5 f e 4 d 5 1 5 f " ;
} ;
# ImportError: No module named test
doCheck = false ;
meta = {
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
pytest = buildPythonPackage rec {
name = " p y t e s t - 2 . 3 . 5 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y t e s t / ${ name } . t a r . g z " ;
md5 = " 1 8 f 1 5 0 e 7 b e 9 6 b 5 f e 3 c 3 8 8 b 0 e 8 1 7 b 8 0 8 7 " ;
} ;
2013-09-24 07:59:51 +01:00
propagatedBuildInputs = [ pythonPackages . py ]
++ stdenv . lib . optional
2013-09-24 23:14:48 +01:00
pkgs . config . pythonPackages . pytest . selenium or false
2013-09-24 07:59:51 +01:00
pythonPackages . selenium ;
2013-08-13 10:13:59 +01:00
2013-09-24 07:59:51 +01:00
meta = with stdenv . lib ; {
maintainers = with maintainers ; [ iElectric lovek323 ] ;
platforms = platforms . unix ;
2013-08-13 10:13:59 +01:00
} ;
} ;
2013-09-20 16:57:18 +01:00
pytest_xdist = buildPythonPackage rec {
name = " p y t e s t - x d i s t - 1 . 8 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y t e s t - x d i s t / p y t e s t - x d i s t - 1 . 8 . z i p " ;
md5 = " 9 c 0 b 8 e f e 9 d 4 3 b 4 6 0 f 8 c f 0 4 9 f a 4 6 c e 1 4 d " ;
} ;
buildInputs = [ pkgs . unzip pytest ] ;
propagatedBuildInputs = [ execnet ] ;
meta = {
description = " p y . t e s t x d i s t p l u g i n f o r d i s t r i b u t e d t e s t i n g a n d l o o p - o n - f a i l i n g m o d e s " ;
homepage = http://bitbucket.org/hpk42/pytest-xdist ;
} ;
} ;
2013-08-13 10:13:59 +01:00
2013-01-15 18:04:41 +00:00
cssselect = buildPythonPackage rec {
name = " c s s s e l e c t - 0 . 7 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / c / c s s s e l e c t / c s s s e l e c t - 0 . 7 . 1 . t a r . g z " ;
md5 = " c 6 c 5 e 9 a 2 e 7 c a 2 2 6 c e 0 3 f 6 f 6 7 a 7 7 1 3 7 9 c " ;
} ;
# 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 = " c s s u t i l s - 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 = " 1 3 9 y f m 9 y z 9 k 3 3 k g q w 4 k h s l j s 1 0 r k h h x y y w b q 9 i 8 2 b h 2 r 3 1 c i l 1 p p " ;
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 P y t h o n p a c k a g e t o p a r s e a n d b u i l d C S S " ;
homepage = http://code.google.com/p/cssutils/ ;
license = " L G P L v 3 + " ;
} ;
} ) ;
darcsver = buildPythonPackage ( rec {
2012-02-28 00:06:42 +00:00
name = " d a r c s v e r - 1 . 7 . 2 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / d / d a r c s v e r / ${ name } . t a r . g z " ;
2012-02-28 00:06:42 +00:00
md5 = " 9 4 c a 7 e 8 c 9 e a 0 f 6 9 c 0 f 3 f c 6 f 9 f c 8 8 f 6 5 a " ;
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 = " D a r c s v e r , g e n e r a t e a v e r s i o n n u m b e r f r o m D a r c s h i s t o r y " ;
homepage = http://pypi.python.org/pypi/darcsver ;
license = " B S D - s t y l e " ;
} ;
} ) ;
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 = " d a t e u t i l - 2 . 1 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y t h o n - d a t e u t i l / p y t h o n - ${ name } . t a r . g z " ;
2013-01-30 14:42:40 +00:00
sha256 = " 1 v l x 0 l p s x j x z 6 4 p z 8 7 c s x 8 0 0 c w f q z n j y r 2 y 7 n k 3 v h m z h k w z y q i 2 c " ;
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 = " P o w e r f u l e x t e n s i o n s t o t h e s t a n d a r d d a t e t i m e m o d u l e " ;
homepage = http://pypi.python.org/pypi/python-dateutil ;
license = " B S D - s t y l e " ;
} ;
} ) ;
2013-05-05 20:53:06 +01:00
# Buildbot 0.8.7p1 needs dateutil==1.5
dateutil_1_5 = buildPythonPackage ( rec {
name = " d a t e u t i l - 1 . 5 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y t h o n - d a t e u t i l / p y t h o n - ${ name } . t a r . g z " ;
sha256 = " 0 2 d h w 5 7 j f 5 k j c p 7 n g 1 i f 7 v d r b n l p b 9 y j m z 7 w y g w w v f 3 g n i 4 7 6 6 b g " ;
} ;
propagatedBuildInputs = [ pythonPackages . six ] ;
meta = {
description = " P o w e r f u l e x t e n s i o n s t o t h e s t a n d a r d d a t e t i m e m o d u l e " ;
homepage = http://pypi.python.org/pypi/python-dateutil ;
license = " B S D - s t y l e " ;
} ;
} ) ;
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 = " d e c o r a t o r - 3 . 3 . 1 " ;
2011-03-30 13:27:54 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / d / d e c o r a t o r / ${ name } . t a r . g z " ;
2011-05-11 15:29:35 +01:00
md5 = " a 8 f c 6 2 a c d 7 0 5 f 4 8 7 a 7 1 b c 4 0 6 e 1 9 e 0 c c 6 " ;
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-09-10 11:28:10 +01:00
name = " d e f o r m - 0 . 9 . 8 " ;
2013-03-27 01:24:55 +00:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / d / d e f o r m / ${ name } . t a r . g z " ;
2013-09-10 11:28:10 +01:00
sha256 = " 1 5 5 0 0 r m 3 3 n 6 k x s d p q y n 3 i h 2 5 y 3 r v a b 4 n x y 2 y z s j 2 7 5 4 k d l h l y j p x " ;
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 {
2013-09-10 11:28:10 +01:00
name = " d e f o r m _ b o o t s t r a p - 0 . 2 . 9 " ;
2013-03-27 01:24:55 +00:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / d / d e f o r m _ b o o t s t r a p / ${ name } . t a r . g z " ;
2013-09-10 11:28:10 +01:00
sha256 = " 1 h g q 3 v q s f q d m l y a h n l c 4 0 w 1 3 v i a w h p z q f 4 j z i g s g g d b 4 1 x 5 4 5 f d a " ;
2013-03-27 01:24:55 +00:00
} ;
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 = " d e m j s o n - 1 . 6 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / d / d e m j s o n / ${ name } . t a r . g z " ;
sha256 = " 0 a b f 7 w q q q 7 r k 1 s y c y 4 7 a y n 5 p 9 3 y y 7 g j q 5 0 c b 2 z 6 9 w m i k 1 q q r r 6 0 x " ;
} ;
doCheck = false ; # there are no tests
preFixup = ''
mkdir - p " $ o u t / b i n "
cp jsonlint " $ o u t / b i n / "
'' ;
meta = {
description = " E n c o d e r / d e c o d e r a n d l i n t / v a l i d a t o r f o r J S O N ( J a v a S c r i p t O b j e c t N o t a t i o n ) " ;
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 = " e v d e v - ${ version } " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / e / e v d e v / ${ name } . t a r . g z " ;
sha256 = " 0 7 g m y n z 7 6 4 s l n 2 s q 1 8 a a f x 1 3 y a w k v 5 n k q r k k 0 6 r j 7 1 s q 7 1 f s r 9 h 9 " ;
} ;
buildInputs = [ pkgs . linuxHeaders ] ;
patchPhase = " s e d - e ' s # / u s r / i n c l u d e / l i n u x / i n p u t . h # ${ pkgs . linuxHeaders } / i n c l u d e / l i n u x / i n p u t . h # ' - i s e t u p . p y " ;
doCheck = false ;
meta = with stdenv . lib ; {
description = " P r o v i d e s b i n d i n g s t o t h e g e n e r i c i n p u t e v e n t i n t e r f a c e i n L i n u x " ;
homepage = http://pythonhosted.org/evdev ;
license = licenses . bsd3 ;
maintainers = [ maintainers . goibhniu ] ;
2013-10-07 16:36:47 +01:00
platforms = stdenv . lib . platforms . linux ;
2013-04-07 01:14:18 +01:00
} ;
} ;
2013-07-07 09:19:39 +01:00
eyeD3 = buildPythonPackage rec {
version = " 0 . 7 . 2 " ;
name = " e y e D 3 - ${ version } " ;
src = fetchurl {
url = http://eyed3.nicfit.net/releases/eyeD3-0.7.2.tgz ;
sha256 = " 1 r 0 v x d f l r j 8 3 s 8 j c 5 f 2 q g 4 p 0 0 k 3 7 p s k n 3 d j y m 0 w 7 3 b v q 1 6 7 v k x a r " ;
} ;
buildInputs = [ paver ] ;
postInstall = ''
2013-07-23 10:23:09 +01:00
for prog in " $ o u t / b i n / " * ; do
2013-07-07 09:19:39 +01:00
wrapProgram " $ p r o g " - - prefix PYTHONPATH : " $ P Y T H O N P A T H "
done
'' ;
meta = with stdenv . lib ; {
description = " A P y t h o n m o d u l e a n d c o m m a n d l i n e p r o g r a m f o r p r o c e s s i n g I D 3 t a g s " ;
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-09-20 16:54:52 +01:00
execnet = buildPythonPackage rec {
name = " e x e c n e t - 1 . 1 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / e / e x e c n e t / ${ name } . z i p " ;
md5 = " b e 8 8 5 c c d 9 6 1 2 9 6 6 b b 8 1 8 3 9 6 7 0 d 2 d a 0 9 9 " ;
} ;
buildInputs = [ pkgs . unzip ] ;
meta = {
description = " r a p i d m u l t i - P y t h o n d e p l o y m e n t " ;
license = stdenv . lib . licenses . gpl2 ;
} ;
} ;
2013-06-10 23:23:35 +01:00
fabric = buildPythonPackage rec {
name = " f a b r i c - 1 . 6 . 1 " ;
src = fetchurl {
url = https://pypi.python.org/packages/source/F/Fabric/Fabric-1.6.1.tar.gz ;
sha256 = " 0 5 8 p s b h q b f m 3 n 2 1 4 w k y f p g m 0 6 9 y q m d q w 1 h q l 9 b a c 1 y v 9 p z a 3 b z x 1 " ;
} ;
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 = " f u d g e - 0 . 9 . 4 " ;
src = fetchurl {
url = https://pypi.python.org/packages/source/f/fudge/fudge-0.9.4.tar.gz ;
sha256 = " 0 3 s j 2 x 6 m p z m 4 8 s w p a 4 h n n 1 g i 6 y i l g n i y j f g 1 y l z 9 5 w m 1 i j g g i 3 3 w " ;
} ;
buildInputs = [ nose nosejs ] ;
propagatedBuildInputs = [ sphinx ] ;
} ;
2013-04-07 01:14:18 +01:00
2013-09-21 17:15:18 +01:00
funcparserlib = buildPythonPackage rec {
name = " f u n c p a r s e r l i b - 0 . 3 . 6 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / f / f u n c p a r s e r l i b / ${ name } . t a r . g z " ;
md5 = " 3 a b a 5 4 6 b d a d 5 d 0 8 2 6 5 9 6 9 1 0 5 5 1 c e 3 7 c 0 " ;
} ;
meta = with stdenv . lib ; {
description = " R e c u r s i v e d e s c e n t p a r s i n g l i b r a r y b a s e d o n f u n c t i o n a l c o m b i n a t o r s " ;
homepage = https://code.google.com/p/funcparserlib/ ;
license = licenses . mit ;
platforms = platforms . linux ;
} ;
} ;
2013-08-03 01:42:11 +01:00
googlecl = buildPythonPackage rec {
version = " 0 . 9 . 1 4 " ;
name = " g o o g l e c l - ${ version } " ;
src = fetchurl {
url = " h t t p s : / / g o o g l e c l . g o o g l e c o d e . c o m / f i l e s / ${ name } . t a r . g z " ;
sha256 = " 0 n n f 7 x k r 7 8 0 w i v r 5 x n c h f c r a h l z y 9 b i 2 d x c s 1 w 1 b h 1 0 1 4 j q l 0 i h a " ;
} ;
meta = with stdenv . lib ; {
description = " B r i n g s G o o g l e s e r v i c e s t o t h e c o m m a n d l i n e . " ;
homepage = " h t t p s : / / c o d e . g o o g l e . c o m / p / g o o g l e c l / " ;
license = licenses . asl20 ;
maintainers = with maintainers ; [ lovek323 ] ;
platforms = platforms . unix ;
} ;
propagatedBuildInputs = [ gdata ] ;
} ;
2013-06-24 16:38:16 +01:00
gtimelog = buildPythonPackage rec {
name = " g t i m e l o g - 0 . 8 . 1 " ;
src = fetchurl {
url = https://launchpad.net/gtimelog/devel/0.8.1/+download/gtimelog-0.8.1.tar.gz ;
sha256 = " 0 1 0 s b w 4 r m s l f 5 i f g 9 b g i c n 0 f 6 m g s y 7 6 v 8 2 1 8 x i 0 j n d i 9 z 6 p v a 7 y 6 " ;
} ;
propagatedBuildInputs = [ pygtk ] ;
meta = with stdenv . lib ; {
description = " A s m a l l G t k + a p p f o r k e e p i n g t r a c k o f y o u r t i m e . I t ' s m a i n g o a l i s t o b e a s u n i n t r u s i v e a s p o s s i b l e . " ;
homepage = http://mg.pov.lt/gtimelog/ ;
license = licenses . gpl2Plus ;
maintainers = [ maintainers . ocharles ] ;
platforms = platforms . unix ;
} ;
} ;
2013-08-03 01:42:11 +01:00
2013-04-07 00:52:52 +01:00
logilab_astng = buildPythonPackage rec {
name = " l o g i l a b - a s t n g - 0 . 2 4 . 1 " ;
src = fetchurl {
url = " h t t p : / / d o w n l o a d . l o g i l a b . o r g / p u b / a s t n g / ${ name } . t a r . g z " ;
sha256 = " 0 0 q x a x s a x 8 0 s k n w v 2 5 x l 1 r 4 9 l c 4 g b h k x s 1 k j y w j i 4 a d 8 y 1 n p a x 0 s " ;
} ;
propagatedBuildInputs = [ logilab_common ] ;
} ;
2013-07-07 09:19:39 +01:00
paver = buildPythonPackage rec {
version = " 1 . 2 . 1 " ;
name = " P a v e r - ${ version } " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / P / P a v e r / P a v e r - ${ version } . t a r . g z " ;
sha256 = " 1 b 1 0 2 3 j k s 1 g i 1 r w p h d y 3 y 2 z x 7 d h 4 b v w k 2 0 5 0 k c l p 9 5 j 7 x y m 1 y a 0 y " ;
} ;
buildInputs = [ cogapp mock virtualenv ] ;
propagatedBuildInputs = [ nose ] ;
# the tests do not pass
doCheck = false ;
meta = with stdenv . lib ; {
description = " A P y t h o n - b a s e d b u i l d / d i s t r i b u t i o n / d e p l o y m e n t s c r i p t i n g t o o l " ;
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 = " p e p p e r c o r n - 0 . 4 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p e p p e r c o r n / ${ name } . t a r . g z " ;
md5 = " 4 6 4 d 6 f 2 3 4 2 e a f 7 0 4 d f b 5 2 0 4 6 c 1 f 5 c 3 2 0 " ;
} ;
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 {
2013-09-24 20:40:37 +01:00
name = " p u d b - 2 0 1 3 . 3 . 6 " ;
2013-05-16 19:15:04 +01:00
src = fetchurl {
2013-09-24 20:40:37 +01:00
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p u d b / ${ name } . t a r . g z " ;
md5 = " 0 6 3 0 3 0 7 6 3 b f 9 1 4 1 6 6 a 0 b 2 b c 8 c 0 1 1 1 4 3 b " ;
2013-05-16 19:15:04 +01:00
} ;
propagatedBuildInputs = [ pythonPackages . pygments pythonPackages . urwid ] ;
meta = with stdenv . lib ; {
description = " A f u l l - s c r e e n , c o n s o l e - b a s e d P y t h o n d e b u g g e r " ;
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 = " p y r a m i d - 1 . 4 . 3 " ;
2013-03-27 01:24:55 +00:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y r a m i d / ${ name } . t a r . g z " ;
2013-08-13 10:13:59 +01:00
md5 = " 2 8 f a b f 4 2 c f 5 8 5 e c e c 7 a 5 7 b 5 a c c 1 1 7 4 e 3 " ;
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 = " p y r a m i d _ b e a k e r - 0 . 7 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y r a m i d _ b e a k e r / ${ name } . t a r . g z " ;
md5 = " a c b 8 6 3 5 1 7 a 9 8 b 9 0 b 5 f 2 9 6 4 8 c e 5 5 d d 5 6 3 " ;
} ;
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 = " p y r a m i d _ j i n j a 2 - 1 . 6 " ;
2013-03-27 01:24:55 +00:00
src = fetchurl {
2013-04-07 00:52:52 +01:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y r a m i d _ j i n j a 2 / ${ name } . z i p " ;
md5 = " b 7 d f 1 a b 9 7 f 9 0 f 3 9 5 2 9 d 2 7 b a 6 d a 1 f 6 b 1 c " ;
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 = " p y r a m i d _ e x c l o g - 0 . 6 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y r a m i d _ e x c l o g / ${ name } . t a r . g z " ;
md5 = " 5 c 1 8 7 0 6 f 5 5 0 0 6 0 5 4 1 6 a f f f 3 1 1 1 2 0 c 9 3 3 " ;
} ;
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 = " p y r a m i d _ t m - 0 . 7 " ;
2013-03-27 01:24:55 +00:00
src = fetchurl {
2013-04-07 00:52:52 +01:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y r a m i d _ t m / ${ name } . t a r . g z " ;
md5 = " 6 d c 9 1 7 d 2 6 2 c 6 9 3 6 6 6 3 0 c 5 4 2 b d 2 1 8 5 9 a 3 " ;
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-09-20 17:07:40 +01:00
pyramid_multiauth = buildPythonPackage rec {
name = " p y r a m i d _ m u l t i a u t h - ${ version } " ;
version = " 0 . 3 . 2 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y r a m i d _ m u l t i a u t h / ${ name } . t a r . g z " ;
md5 = " 0 4 4 e 4 2 3 a b c 4 f b 7 6 9 3 7 a c 0 c 2 1 c 1 2 0 5 e 9 c " ;
} ;
propagatedBuildInputs = [ pyramid ] ;
meta = with stdenv . lib ; {
description = " A u t h e n t i c a t i o n p o l i c y f o r P y r a m i d t h a t p r o x i e s t o a s t a c k o f o t h e r a u t h e n t i c a t i o n p o l i c i e s " ;
homepage = https://github.com/mozilla-services/pyramid_multiauth ;
} ;
} ;
2013-08-13 10:13:59 +01:00
raven = buildPythonPackage rec {
name = " r a v e n - 3 . 4 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / r / r a v e n / ${ name } . t a r . g z " ;
md5 = " 6 a 9 2 6 4 1 3 3 b f 6 4 6 1 4 9 f f b 9 1 1 8 d 8 1 4 4 5 b e " ;
} ;
# 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 = " h y p a t i a - 0 . 1 a 6 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / h / h y p a t i a / ${ name } . t a r . g z " ;
md5 = " 3 a 6 7 6 8 3 c 5 7 8 7 5 4 c d 8 f 2 3 3 1 7 d b 6 d 2 8 f f d " ;
} ;
buildInputs = [ zope_interface zodb3 ] ;
meta = {
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
zope_copy = buildPythonPackage rec {
name = " z o p e . c o p y - 4 . 0 . 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . c o p y / ${ name } . z i p " ;
md5 = " 3 6 a a 2 c 9 6 d e c 4 c f e e a 5 7 f 5 4 d a 2 b 7 3 3 e b 9 " ;
} ;
buildInputs = [ pkgs . unzip zope_interface zope_location zope_schema ] ;
meta = {
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
statsd = buildPythonPackage rec {
name = " s t a t s d - 2 . 0 . 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / s / s t a t s d / ${ name } . t a r . g z " ;
md5 = " 4 7 6 e f 5 b 9 0 0 4 f 6 e 2 c b 2 5 c 7 d a 4 4 0 b b 5 3 d 0 " ;
} ;
buildInputs = [ ] ;
meta = {
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
pyramid_zodbconn = buildPythonPackage rec {
name = " p y r a m i d _ z o d b c o n n - 0 . 4 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y r a m i d _ z o d b c o n n / ${ name } . t a r . g z " ;
md5 = " 2 2 e 8 8 c c 8 2 c a f b b e 0 0 2 7 4 e 7 3 7 8 4 3 4 e 5 f e " ;
} ;
buildInputs = [ pyramid mock ] ;
propagatedBuildInputs = [ zodb3 zodburi ] ;
meta = {
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
pyramid_mailer = buildPythonPackage rec {
name = " p y r a m i d _ m a i l e r - 0 . 1 3 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y r a m i d _ m a i l e r / ${ name } . t a r . g z " ;
md5 = " 4 3 8 0 0 c 7 c 8 9 4 0 9 7 a 2 3 1 4 0 d a 5 8 e 3 6 3 8 c 9 3 " ;
} ;
buildInputs = [ pyramid transaction ] ;
propagatedBuildInputs = [ repoze_sendmail ] ;
meta = {
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
repoze_sendmail = buildPythonPackage rec {
name = " r e p o z e . s e n d m a i l - 4 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / r / r e p o z e . s e n d m a i l / ${ name } . t a r . g z " ;
md5 = " 8 1 d 1 5 f 1 f 0 3 c c 6 7 d 6 f 5 6 f 2 0 9 1 c 5 9 4 e f 5 7 " ;
} ;
buildInputs = [ transaction ] ;
meta = {
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
zodburi = buildPythonPackage rec {
name = " z o d b u r i - 2 . 0 b 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o d b u r i / ${ name } . t a r . g z " ;
md5 = " 5 2 c c 1 3 c 3 2 f f e 4 e e 7 b 5 f 5 a b c 7 9 f 7 0 f 3 c 2 " ;
} ;
buildInputs = [ zodb3 mock ] ;
meta = {
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
substanced = buildPythonPackage rec {
# no release yet
2013-08-14 09:52:20 +01:00
rev = " b d 8 8 2 2 b e 6 2 f 0 f 3 5 6 e 4 e 4 4 d 5 c 6 1 4 f e 1 4 d 3 f a 0 8 f 4 5 " ;
2013-08-13 10:13:59 +01:00
name = " s u b s t a n c e d - ${ rev } " ;
src = fetchgit {
inherit rev ;
url = " h t t p s : / / g i t h u b . c o m / P y l o n s / s u b s t a n c e d . g i t " ;
} ;
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 = " r e p o z e . l r u - 0 . 4 " ;
2013-04-07 00:02:14 +01:00
src = fetchurl {
2013-04-07 00:52:52 +01:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / r / r e p o z e . l r u / ${ name } . t a r . g z " ;
md5 = " 9 f 6 a b 7 a 4 f f 8 7 1 b a 7 9 5 c a d f 5 6 c 2 0 f b 0 f 0 " ;
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 = " r e p o z e . s p h i n x . a u t o i n t e r f a c e - 0 . 7 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / r / r e p o z e . s p h i n x . a u t o i n t e r f a c e / ${ name } . t a r . g z " ;
md5 = " f 2 f e e 9 9 6 a e 2 8 d c 1 6 e b 4 8 f 1 a 3 e 8 f 6 4 8 0 1 " ;
} ;
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 . 3 a " ;
name = " r t m i d i - ${ version } " ;
2013-03-27 01:24:55 +00:00
src = fetchurl {
2013-04-07 00:52:52 +01:00
url = " h t t p : / / c h r i s a r n d t . d e / p r o j e c t s / p y t h o n - r t m i d i / d o w n l o a d / p y t h o n - ${ name } . t a r . b z 2 " ;
sha256 = " 0 d 2 i f 6 3 3 m 3 k b i r i c d 5 h g n 1 c s c c d 8 x a b 6 l n a b 1 b q 9 p r d r 9 k s 9 i 8 h 6 " ;
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 P y t h o n w r a p p e r f o r t h e R t M i d i C + + l i b r a r y w r i t t e n w i t h C y t h o n " ;
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 = " z o p e . d e p r e c a t i o n - 3 . 5 . 0 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . d e p r e c a t i o n / ${ name } . t a r . g z " ;
md5 = " 1 e 7 d b 8 2 5 8 3 0 1 3 1 2 7 a a b 3 e 7 e 7 9 0 b 1 f 2 b 6 " ;
} ;
buildInputs = [ zope_testing ] ;
meta = {
maintainers = [
stdenv . lib . maintainers . garbas
stdenv . lib . maintainers . iElectric
] ;
platforms = stdenv . lib . platforms . all ;
} ;
} ;
venusian = buildPythonPackage rec {
name = " v e n u s i a n - 1 . 0 a 7 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / v / v e n u s i a n / ${ name } . t a r . g z " ;
md5 = " 6 f 6 7 5 0 6 d d 3 c f 7 7 1 1 6 f 1 c 0 1 6 8 2 a 6 c 3 f 2 7 " ;
} ;
# 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 = " C h a m e l e o n - 2 . 1 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / C / C h a m e l e o n / ${ name } . t a r . g z " ;
md5 = " d f 7 2 4 5 8 b f 3 d d 2 6 a 7 4 4 d c f f 5 a d 5 5 5 c 3 4 b " ;
} ;
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 = " d i s t r i b u t e - 0 . 6 . 3 4 " ;
2012-06-12 21:16:04 +01:00
src = fetchurl {
2013-01-21 14:52:49 +00:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / d / d i s t r i b u t e / d i s t r i b u t e - 0 . 6 . 3 4 . t a r . g z " ;
md5 = " 4 5 7 6 a b 8 4 3 a 6 d b 5 1 0 0 f b 2 2 a 7 2 d e a d f 5 6 d " ;
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 = " $ o u t / l i b / ${ python . libPrefix } / s i t e - p a c k a g e s "
mkdir - p $ dst
PYTHONPATH = " ${ offlineDistutils } / l i b / ${ python . libPrefix } / s i t e - p a c k a g e s : $ P Y T H O N P A T H "
export PYTHONPATH = " $ d s t : $ P Y T H O N P A T H "
2013-07-29 13:52:19 +01:00
$ { python } /bin / $ { python . executable } setup . py install - - prefix = " $ o u t "
2013-01-21 14:52:49 +00:00
eapth = " $ o u t / l i b / ${ python . libPrefix } " /site-packages/easy-install.pth
if [ - e " $ e a p t h " ] ; then
# move colliding easy_install.pth to specifically named one
mv " $ e a p t h " $ ( dirname " $ e a p t h " ) / $ { name } . pth
fi
rm - f " $ o u t / l i b / ${ python . libPrefix } " /site-packages/site.py *
wrapPythonPrograms
'' ;
2012-06-12 21:16:04 +01:00
meta = {
description = " E a s i l y d o w n l o a d , b u i l d , i n s t a l l , u p g r a d e , a n d u n i n s t a l l P y t h o n p a c k a g e s " ;
homepage = http://packages.python.org/distribute ;
license = " P S F o r Z P L " ;
} ;
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 = " d i s t u t i l s - e x t r a - 2 . 2 6 " ;
src = fetchurl {
url = " h t t p : / / l a u n c h p a d . n e t / p y t h o n - d i s t u t i l s - e x t r a / t r u n k / 2 . 2 6 / + d o w n l o a d / p y t h o n - ${ name } . t a r . g z " ;
md5 = " 7 c a d e d 3 0 a 4 5 9 0 7 b 5 c d b 1 0 a c 4 1 8 2 8 4 6 e b " ;
} ;
meta = {
homepage = https://launchpad.net/python-distutils-extra ;
description = " E n h a n c e m e n t s t o P y t h o n ' s d i s t u t i l s " ;
} ;
} ;
2013-02-17 22:39:00 +00:00
deluge = buildPythonPackage rec {
2013-03-12 00:11:28 +00:00
name = " d e l u g e - 1 . 3 . 6 " ;
2013-02-17 22:39:00 +00:00
src = fetchurl {
url = " h t t p : / / d o w n l o a d . d e l u g e - t o r r e n t . o r g / s o u r c e / ${ name } . t a r . g z " ;
2013-03-12 00:11:28 +00:00
md5 = " 3 3 5 5 7 6 7 8 b f 2 f 3 2 0 d e 6 7 0 d d a e f a e a 0 0 9 d " ;
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 = " T o r r e n t c l i e n t " ;
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 = " p y x d g - 0 . 2 5 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y x d g / ${ name } . t a r . g z " ;
md5 = " b e d c d b 3 a 0 e d 8 5 9 8 6 d 4 0 0 4 4 c 8 7 f 2 3 4 7 7 c " ;
} ;
# error: invalid command 'test'
doCheck = false ;
meta = {
homepage = http://freedesktop.org/wiki/Software/pyxdg ;
description = " C o n t a i n s i m p l e m e n t a t i o n s o f f r e e d e s k t o p . o r g s t a n d a r d s " ;
license = " L G P L v 2 " ;
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
chardet = buildPythonPackage rec {
name = " c h a r d e t - 2 . 1 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / c / c h a r d e t / ${ name } . t a r . g z " ;
md5 = " 2 9 5 3 6 7 f d 2 1 0 d 2 0 f 3 f e b d a 6 1 5 a 8 8 e 1 e f 0 " ;
} ;
meta = {
homepage = https://github.com/erikrose/chardet ;
description = " U n i v e r s a l e n c o d i n g d e t e c t o r " ;
license = " L G P L v 2 " ;
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 = " D j a n g o - ${ 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 = " h t t p : / / w w w . d j a n g o p r o j e c t . c o m / m / r e l e a s e s / 1 . 4 / ${ name } . t a r . g z " ;
2012-07-31 23:24:17 +01:00
sha256 = " 1 6 s 0 a n v p a c c b q m d r h l 7 1 z 7 3 k 0 d y 2 s l 1 6 6 n n c 2 f b d 5 l s h l g m j 1 3 a d " ;
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 h i g h - l e v e l P y t h o n W e b f r a m e w o r k " ;
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 = " D j a n g o - 1 . 3 . 7 " ;
2012-05-30 22:12:40 +01:00
src = fetchurl {
2012-07-04 01:13:44 +01:00
url = " h t t p : / / w w w . d j a n g o p r o j e c t . c o m / m / r e l e a s e s / 1 . 3 / ${ name } . t a r . g z " ;
2013-05-22 16:03:20 +01:00
sha256 = " 1 2 p v 8 y 2 x 3 f h r c r j a y f m 6 z 4 0 r 5 7 i w c h f i 5 r 1 9 a j s 8 q 8 z 7 8 i 3 z 8 l 7 f " ;
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 h i g h - l e v e l P y t h o n W e b f r a m e w o r k " ;
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 = " d j a n g o _ e v o l u t i o n - 0 . 6 . 9 " ;
2012-05-30 22:12:40 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / d / d j a n g o _ e v o l u t i o n / ${ name } . t a r . g z " ;
2013-05-22 16:03:20 +01:00
md5 = " c 0 d 7 d 1 0 b c 4 1 8 9 8 c 8 8 b 1 4 d 4 3 4 c 4 8 7 6 6 f f " ;
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 d a t a b a s e s c h e m a e v o l u t i o n t o o l f o r t h e D j a n g o w e b f r a m e w o r k " ;
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 = " d j a n g o - t a g g i n g - 0 . 3 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / d / d j a n g o - t a g g i n g / ${ name } . t a r . g z " ;
md5 = " a 0 8 5 5 f 2 b 0 4 4 d b 1 5 f 3 f 8 a 0 2 5 f a 1 0 1 6 d d f " ;
} ;
# error: invalid command 'test'
doCheck = false ;
propagatedBuildInputs = [ django_1_3 ] ;
meta = {
description = " A g e n e r i c t a g g i n g a p p l i c a t i o n f o r D j a n g o p r o j e c t s " ;
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 = " D j b l e t s - 0 . 6 . 2 8 " ;
2012-05-30 22:12:40 +01:00
src = fetchurl {
2012-07-04 01:13:44 +01:00
url = " h t t p : / / d o w n l o a d s . r e v i e w b o a r d . o r g / r e l e a s e s / D j b l e t s / 0 . 6 / ${ name } . t a r . g z " ;
2013-05-22 16:03:20 +01:00
sha256 = " 1 1 f s i 9 1 1 c q k j g v 9 j 7 6 4 6 l j c 2 f g x s d f y q 4 4 k z m v 0 1 x h y s m 5 0 f n 6 x x " ;
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 c o l l e c t i o n o f u s e f u l e x t e n s i o n s f o r D j a n g o " ;
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 = " d u l w i c h - 0 . 8 . 1 " ;
src = fetchurl {
url = " h t t p : / / s a m b a . o r g / ~ j e l m e r / d u l w i c h / ${ name } . t a r . g z " ;
sha256 = " 1 a 1 6 1 9 e 9 c 7 e 6 3 f e 9 b d c 9 3 3 5 6 e e 8 9 3 b e 1 0 1 6 b 7 e a 1 2 a d 9 5 3 f 4 e 1 f 1 f 5 c 0 c 5 0 5 6 e e 8 " ;
} ;
buildPhase = " m a k e b u i l d " ;
installCommand = ''
2013-07-29 13:52:19 +01:00
$ { python } /bin / $ { python . executable } setup . py install - - prefix = " $ o u t " - - root = / - - record = " $ o u t / l i b / ${ python . libPrefix } / s i t e - p a c k a g e s / d u l w i c h / l i s t . t x t " - - 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 = " S i m p l e P y t h o n i m p l e m e n t a t i o n o f t h e G i t f i l e f o r m a t s a n d p r o t o c o l s . " ;
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 = " h g - g i t - 0 . 3 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / h / h g - g i t / ${ name } . t a r . g z " ;
md5 = " 4 b 1 5 8 6 7 a 0 7 a b b 0 b e 9 8 5 1 7 7 5 8 1 c e 6 4 c e e " ;
} ;
propagatedBuildInputs = [ dulwich ] ;
meta = {
description = " P u s h a n d p u l l f r o m a G i t s e r v e r u s i n g M e r c u r i a l . " ;
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 = " d o c u t i l s - 0 . 8 . 1 " ;
src = fetchurl {
url = " m i r r o r : / / s o u r c e f o r g e / d o c u t i l s / ${ name } . t a r . g z " ;
sha256 = " 0 w f z 4 n x l 9 5 j c r 2 f 2 m c 5 g i j g i g h a v c g h g 3 3 p l z b z 5 j y i 5 3 1 j p f f s s " ;
} ;
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 = " D o c u t i l s i s a n o p e n - s o u r c e t e x t p r o c e s s i n g s y s t e m f o r p r o c e s s i n g p l a i n t e x t d o c u m e n t a t i o n i n t o u s e f u l f o r m a t s , s u c h a s H T M L o r L a T e X . " ;
} ;
} ;
2013-04-29 19:25:25 +01:00
doxypy = buildPythonPackage rec {
name = " d o x y p y - 0 . 4 . 2 " ;
src = fetchurl {
url = " h t t p : / / c o d e . f o o s e l . o r g / f i l e s / ${ name } . t a r . g z " ;
sha256 = " 1 a f m b 3 0 z m y 7 9 4 2 b 5 3 q a 5 v d 3 j s 8 8 3 w w q q l s 3 5 n 8 x f b 3 r n j 0 q n l l 8 g " ;
} ;
meta = {
homepage = http://code.foosel.org/doxypy ;
description = " A n i n p u t f i l t e r f o r D o x y g e n " ;
} ;
doCheck = false ;
} ;
2011-09-19 22:00:37 +01:00
2011-03-30 12:54:17 +01:00
dtopt = buildPythonPackage rec {
name = " d t o p t - 0 . 1 " ;
2011-07-20 16:30:40 +01:00
2011-03-30 12:54:17 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / d / d t o p t / ${ name } . t a r . g z " ;
md5 = " 9 a 4 1 3 1 7 1 4 9 e 9 2 6 f c c 4 0 8 0 8 6 a e d e e 6 b a b " ;
} ;
meta = {
description = " A d d o p t i o n s t o d o c t e s t e x a m p l e s w h i l e t h e y a r e r u n n i n g " ;
homepage = http://pypi.python.org/pypi/dtopt ;
} ;
} ;
2011-07-20 16:30:40 +01:00
2013-10-02 10:25:37 +01:00
ecdsa = buildPythonPackage rec {
name = " e c d s a - ${ version } " ;
version = " 0 . 9 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / e / e c d s a / ${ name } . t a r . g z " ;
md5 = " 2 b 9 c 3 5 2 4 5 c e 3 9 1 d 6 b 7 d 8 f 9 9 1 a a d 5 c 6 3 0 " ;
} ;
# Only needed for tests
buildInputs = [ pkgs . openssl ] ;
meta = {
description = " E C D S A c r y p t o g r a p h i c s i g n a t u r e l i b r a r y " ;
homepage = " h t t p s : / / g i t h u b . c o m / w a r n e r / p y t h o n - e c d s a " ;
license = stdenv . lib . licenses . mit ;
maintainers = [ stdenv . lib . maintainers . aszlig ] ;
} ;
} ;
2013-05-07 11:27:10 +01:00
elpy = buildPythonPackage rec {
name = " e l p y - 1 . 0 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / e / e l p y / e l p y - 1 . 0 . 1 . t a r . g z " ;
md5 = " 5 4 5 3 f 0 8 5 f 7 8 7 1 e d 8 f c 1 1 d 5 1 f 0 b 6 8 c 7 8 5 " ;
} ;
buildInputs = [ ] ;
propagatedBuildInputs = [ flake8 ] ;
doCheck = false ; # there are no tests
meta = {
description = " B a c k e n d f o r t h e e l p y E m a c s m o d e " ;
homepage = " h t t p s : / / g i t h u b . c o m / j o r g e n s c h a e f e r / e l p y " ;
} ;
} ;
2011-08-30 20:50:36 +01:00
enum = buildPythonPackage rec {
name = " e n u m - 0 . 4 . 4 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / e / e n u m / ${ name } . t a r . g z " ;
md5 = " c e 7 5 c 7 c 3 c 8 6 7 4 1 1 7 5 a 8 4 4 5 6 c c 5 b d 5 3 1 e " ;
} ;
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 = " R o b u s t e n u m e r a t e d t y p e s u p p o r t i n P y t h o n . " ;
} ;
} ;
2013-04-21 15:04:12 +01:00
epc = buildPythonPackage rec {
name = " e p c - 0 . 0 . 3 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / e / e p c / ${ name } . t a r . g z " ;
md5 = " 0 4 a 9 3 c 0 c d 3 2 b 4 9 6 9 6 9 e a d 0 9 f 4 1 4 d a c 7 4 " ;
} ;
propagatedBuildInputs = [ sexpdata ] ;
doCheck = false ;
meta = {
description = " E P C ( R P C s t a c k f o r E m a c s L i s p ) i m p l e m e n t a t i o n i n P y t h o n " ;
homepage = " h t t p s : / / g i t h u b . c o m / t k f / p y t h o n - e p c " ;
} ;
} ;
2011-02-21 21:49:20 +00:00
eventlet = buildPythonPackage rec {
2011-06-09 18:10:59 +01:00
name = " e v e n t l e t - 0 . 9 . 1 6 " ;
2011-02-21 21:49:20 +00:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / e / e v e n t l e t / ${ name } . t a r . g z " ;
2011-06-09 18:10:59 +01:00
md5 = " 4 7 2 8 e 3 b d 7 f 7 2 7 6 3 c 1 e 5 d c c a c 0 2 9 6 f 8 e a " ;
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 = " ` p w d ` / . e g g - c a c h e " ;
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 c o n c u r r e n t n e t w o r k i n g l i b r a r y f o r P y t h o n " ;
} ;
} ;
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 = " f e e d p a r s e r - 5 . 1 . 3 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / f / f e e d p a r s e r / ${ name } . t a r . g z " ;
md5 = " f 2 2 5 3 d e 7 8 0 8 5 a 1 d 5 7 3 8 f 6 2 6 f c c 1 d 8 f 7 1 " ;
} ;
meta = {
homepage = http://code.google.com/p/feedparser/ ;
description = " U n i v e r s a l f e e d p a r s e r " ;
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 = " f l a k e 8 - 2 . 0 " ;
2012-09-28 16:06:07 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / f / f l a k e 8 / ${ name } . t a r . g z " ;
2013-03-17 14:23:56 +00:00
md5 = " 1 7 6 c 6 b 3 6 1 3 7 7 7 1 2 2 7 2 1 d b 1 8 1 5 6 0 a a 1 e 3 " ;
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 = " c o d e c h e c k i n g u s i n g p e p 8 a n d p y f l a k e s . " ;
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 = " f l a s k - 0 . 9 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / F / F l a s k / F l a s k - 0 . 9 . t a r . g z " ;
md5 = " 4 a 8 9 e f 2 b 3 a b 0 f 1 5 1 f 7 8 1 1 8 2 b d 0 c c 8 9 3 3 " ;
} ;
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 m i c r o f r a m e w o r k b a s e d o n W e r k z e u g , J i n j a 2 , a n d g o o d i n t e n t i o n s " ;
license = " B S D " ;
} ;
} ;
2013-09-15 11:17:38 +01:00
flexget = buildPythonPackage rec {
name = " F l e x G e t - 1 . 1 . 1 2 1 " ;
2013-02-18 10:33:24 +00:00
src = fetchurl {
2013-09-15 11:17:38 +01:00
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / F / F l e x G e t / ${ name } . t a r . g z " ;
md5 = " 4 4 5 2 1 b c b c 2 c 1 e 9 4 1 b 6 5 6 e c f a 3 5 8 a d c a a " ;
2013-02-18 10:33:24 +00:00
} ;
buildInputs = [ nose ] ;
2013-09-15 11:17:38 +01:00
propagatedBuildInputs = [ beautifulsoup4 pyrss2gen feedparser pynzb html5lib dateutil
beautifulsoup flask jinja2 requests sqlalchemy pyyaml cherrypy progressbar deluge
python_tvrage jsonschema ] ;
2013-02-18 10:33:24 +00:00
meta = {
homepage = http://flexget.com/ ;
description = " M u l t i p u r p o s e a u t o m a t i o n t o o l f o r c o n t e n t l i k e t o r r e n t s , . . . " ;
license = stdenv . lib . licenses . mit ;
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
2013-09-15 11:17:38 +01:00
} ;
python_tvrage = buildPythonPackage ( rec {
version = " 0 . 4 . 1 " ;
name = " t v r a g e - ${ version } " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y t h o n - t v r a g e / p y t h o n - t v r a g e - ${ version } . t a r . g z " ;
md5 = " c d f e c 2 5 2 1 5 8 c 5 0 4 7 b 6 2 6 8 6 1 9 0 0 1 8 6 d f b " ;
} ;
# has mostly networking dependent tests
doCheck = false ;
propagatedBuildInputs = [ beautifulsoup ] ;
meta = {
homepage = https://github.com/ckreutzer/python-tvrage ;
description = " C l i e n t i n t e r f a c e f o r t v r a g e . c o m ' s X M L - b a s e d a p i f e e d s " ;
license = stdenv . lib . licenses . bsd3 ;
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
2013-02-18 10:33:24 +00:00
} ) ;
2013-09-15 11:17:38 +01:00
jsonschema = buildPythonPackage ( rec {
version = " 2 . 0 . 0 " ;
name = " j s o n s c h e m a - ${ version } " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / j / j s o n s c h e m a / j s o n s c h e m a - ${ version } . t a r . g z " ;
md5 = " 1 7 9 3 d 9 7 a 6 6 8 7 6 0 e f 5 4 0 f a d d 3 4 2 a a 0 8 e 5 " ;
} ;
buildInputs = [ nose mock ] ;
checkPhase = ''
nosetests
'' ;
meta = {
homepage = https://github.com/Julian/jsonschema ;
description = " A n i m p l e m e n t a t i o n o f J S O N S c h e m a v a l i d a t i o n f o r P y t h o n " ;
license = stdenv . lib . licenses . mit ;
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ) ;
2013-02-18 10:33:24 +00:00
2010-10-04 10:49:09 +01:00
flup = buildPythonPackage ( rec {
name = " f l u p - 1 . 0 . 2 " ;
src = fetchurl {
url = " h t t p : / / w w w . s a d d i . c o m / s o f t w a r e / f l u p / d i s t / ${ name } . t a r . g z " ;
sha256 = " 1 n b x 1 7 4 g 4 0 l 1 z 3 a 8 a r w 7 2 q z 0 5 a 1 q x i 3 d i d p 9 w m 7 k v k n 1 b x x 3 3 b a b " ;
} ;
meta = {
homepage = " h t t p : / / t r a c . s a d d i . c o m / f l u p " ;
description = " F a s t C G I P y t h o n m o d u l e s e t " ;
} ;
} ) ;
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 = " f o o l s c a p - 0 . 6 . 4 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
url = " h t t p : / / f o o l s c a p . l o t h a r . c o m / r e l e a s e s / ${ name } . t a r . g z " ;
2013-04-24 19:40:19 +01:00
sha256 = " 1 6 c d d y k 5 i s 0 g j f n 0 i a 5 n 2 l 4 l h d z v b j z l x 6 s f p y 7 d d j d 3 d 3 f q 7 c k l " ;
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 = " F o o l s c a p , a n R P C p r o t o c o l f o r P y t h o n t h a t f o l l o w s t h e d i s t r i b u t e d o b j e c t - c a p a b i l i t y m o d e l " ;
longDescription = ''
" F o o l s c a p " 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 = " M I T " ;
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 = " f u s e " ;
version = " 0 . 2 . 1 " ;
name = " ${ baseName } - ${ version } " ;
src = fetchurl {
2013-07-14 02:17:07 +01:00
url = " m i r r o r : / / s o u r c e f o r g e / f u s e / f u s e - p y t h o n - ${ version } . t a r . g z " ;
2012-08-05 12:50:56 +01:00
sha256 = " 0 6 r m p 1 a p 6 f l h 6 4 m 8 1 j 0 n 3 a 3 5 7 i j 2 v j 9 z w c v v w 0 p 3 1 y 6 h z 1 i d 9 s h i " ;
} ;
buildInputs = [ pkgs . pkgconfig pkgs . fuse ] ;
meta = {
description = " P y t h o n b i n d i n g s f o r F U S E . " ;
license = stdenv . lib . licenses . lgpl21 ;
} ;
} ) ;
2013-02-05 15:04:09 +00:00
gcovr = buildPythonPackage rec {
name = " g c o v r - 2 . 4 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / g / g c o v r / ${ name } . t a r . g z " ;
md5 = " 6 7 2 d b 6 2 9 4 6 9 8 8 2 b 9 3 c 4 0 0 1 6 a e b f f 5 0 a c " ;
} ;
meta = {
description = " A P y t h o n s c r i p t f o r s u m m a r i z i n g g c o v d a t a " ;
license = " B S D " ;
} ;
} ;
2010-04-21 11:51:15 +01:00
genshi = buildPythonPackage {
2013-07-03 03:26:02 +01:00
name = " g e n s h i - 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 = " 0 l k k b p 6 f b w z v 0 z d a 5 i q c 2 1 r r 7 r d l d k w h 3 h f a b f j l 9 i 4 b w q 1 4 8 5 8 x " ;
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 = " P y t h o n c o m p o n e n t s f o r p a r s i n g H T M L , X M L a n d o t h e r t e x t u a l c o n t e n t " ;
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 = " B S D " ;
} ;
} ;
2013-07-07 14:32:29 +01:00
gevent = buildPythonPackage rec {
name = " g e v e n t - 0 . 1 3 . 8 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / g / g e v e n t / ${ name } . t a r . g z " ;
sha256 = " 0 p l m x n b 5 3 q b x x f 6 m a c q 8 4 d v c l s i y r p v 3 x r m 3 2 q 4 q q h 6 f 0 1 i x 5 f 2 l " ;
} ;
buildInputs = [ pkgs . libevent ] ;
propagatedBuildInputs = [ greenlet ] ;
meta = with stdenv . lib ; {
description = " C o r o u t i n e - b a s e d n e t w o r k i n g l i b r a r y " ;
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 = " g e n z s h c o m p - 0 . 5 . 1 " ;
2011-07-20 16:30:35 +01:00
src = fetchurl {
2013-07-24 08:58:00 +01:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / g / g e n z s h c o m p / g e n z s h c o m p - 0 . 5 . 1 . t a r . g z " ;
md5 = " 7 a 9 5 4 f 1 8 3 5 8 7 5 0 0 2 e 9 0 4 4 f e 5 5 e d 1 b 4 8 8 " ;
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 = " a u t o m a t i c a l l y g e n e r a t e d z s h c o m p l e t i o n f u n c t i o n f o r P y t h o n ' s o p t i o n p a r s e r m o d u l e s " ;
license = " B S D " ;
} ;
} ;
2011-02-21 16:56:49 +00:00
gflags = buildPythonPackage rec {
name = " g f l a g s - 1 . 5 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y t h o n - g f l a g s . g o o g l e c o d e . c o m / f i l e s / p y t h o n - ${ name } . t a r . g z " ;
sha256 = " 1 p 8 b l s c 3 z 1 w a s i 9 d h b j i j 7 m 2 c z p s 1 7 d l l 3 c p j 3 7 v 9 7 f v 5 w w 7 a l 9 v " ;
} ;
meta = {
homepage = http://code.google.com/p/python-gflags/ ;
description = " A m o d u l e f o r c o m m a n d l i n e h a n d l i n g , s i m i l a r t o G o o g l e ' s g f l a g s f o r C + + " ;
} ;
} ;
2011-07-20 16:30:40 +01:00
2011-03-30 18:03:49 +01:00
glance = buildPythonPackage rec {
name = " g l a n c e - 0 . 1 . 7 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / g / g l a n c e / ${ name } . t a r . g z " ;
md5 = " e 7 3 3 7 1 3 c c d 2 3 e 4 a 6 2 5 3 3 8 6 a 4 7 9 7 1 c f b 5 " ;
} ;
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 = " ` p w d ` / . e g g - c a c h e " ;
meta = {
homepage = https://launchpad.net/glance ;
description = " S e r v i c e s f o r d i s c o v e r i n g , r e g i s t e r i n g , a n d r e t r i e v i n g v i r t u a l m a c h i n e i m a g e s " ;
} ;
} ;
2013-10-18 08:11:47 +01:00
glances = buildPythonPackage rec {
name = " g l a n c e s - ${ meta . version } " ;
src = fetchurl {
url = " h t t p s : / / g i t h u b . c o m / n i c o l a r g o / g l a n c e s / a r c h i v e / v ${ meta . version } . t a r . g z " ;
sha256 = " 0 g 2 y g 9 q f 7 q g j w v 1 3 x 0 r x 5 1 r z h n 9 9 p c m j p b 3 v k 0 g 3 g m m d s q y q i 0 d 6 " ;
} ;
buildInputs = [ pkgs . hddtemp ] ;
propagatedBuildInputs = [ psutil jinja2 modules . curses modules . curses_panel ] ;
doCheck = false ;
preConfigure = ''
sed - i - r - e ' /data_files.append [ ( ] [ ( ] ( conf | etc ) _path/ietc_path = " e t c / g l a n c e s " ; conf_path = " e t c / g l a n c e s " ' setup . py ;
'' ;
meta = {
version = " 1 . 7 . 1 " ;
homepage = " h t t p : / / n i c o l a r g o . g i t h u b . i o / g l a n c e s / " ;
description = " C r o s s - p l a t f o r m c u r s e s - b a s e d m o n i t o r i n g t o o l " ;
} ;
} ;
2011-07-20 16:30:40 +01:00
2011-02-21 17:26:19 +00:00
greenlet = buildPythonPackage rec {
name = " g r e e n l e t - 0 . 3 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / g / g r e e n l e t / ${ name } . t a r . g z " ;
md5 = " 8 d 7 5 d 7 f 3 f 6 5 9 e 9 1 5 e 2 8 6 e 1 b 0 f a 0 e 1 c 4 d " ;
} ;
meta = {
homepage = http://pypi.python.org/pypi/greenlet ;
description = " M o d u l e f o r l i g h t w e i g h t i n - p r o c e s s c o n c u r r e n t p r o g r a m m i n g " ;
} ;
} ;
2011-07-20 16:30:40 +01:00
2012-07-25 15:55:49 +01:00
gyp = buildPythonPackage rec {
2013-09-26 07:23:26 +01:00
rev = " 1 7 3 8 " ;
2012-07-25 15:55:49 +01:00
name = " g y p - r ${ rev } " ;
src = fetchsvn {
url = " h t t p : / / g y p . g o o g l e c o d e . c o m / s v n / t r u n k " ;
inherit rev ;
2013-09-26 07:23:26 +01:00
sha256 = " 1 5 5 k 7 v 6 4 5 3 j 2 k g 0 2 x q f q b k z k b a q c 8 a y n x s 2 k 4 6 2 j m r p 6 3 8 v x i a 9 s " ;
2012-07-25 15:55:49 +01:00
} ;
2013-09-26 07:23:26 +01:00
patches = optionals pkgs . stdenv . isDarwin [
../development/python-modules/gyp/no-xcode.patch
../development/python-modules/gyp/no-darwin-cflags.patch
] ;
2012-07-25 15:55:49 +01:00
meta = {
homepage = http://code.google.com/p/gyp ;
2013-09-26 07:23:26 +01:00
license = stdenv . lib . licenses . bsd3 ;
2012-07-25 15:55:49 +01:00
description = " G e n e r a t e Y o u r P r o j e c t s " ;
} ;
} ;
2013-07-09 10:28:39 +01:00
hetzner = buildPythonPackage rec {
name = " h e t z n e r - ${ version } " ;
2013-10-02 14:05:07 +01:00
version = " 0 . 6 . 0 " ;
2013-07-09 10:28:39 +01:00
src = fetchurl {
url = " h t t p s : / / g i t h u b . c o m / R e d M o o n S t u d i o s / h e t z n e r / a r c h i v e / "
+ " v ${ version } . t a r . g z " ;
2013-10-02 14:05:07 +01:00
sha256 = " 1 c g i 7 7 f 4 5 3 a h w 3 a d 6 h v q w b y p 6 f w n h 9 0 r l z f g l 9 c p 7 9 w g 5 8 w y a r 4 w " ;
2013-07-09 10:28:39 +01:00
} ;
# not there yet, but coming soon.
doCheck = false ;
meta = {
homepage = " h t t p s : / / g i t h u b . c o m / R e d M o o n S t u d i o s / h e t z n e r " ;
description = " H i g h - l e v e l P y t h o n A P I f o r a c c e s s i n g t h e H e t z n e r r o b o t " ;
license = stdenv . lib . licenses . bsd3 ;
maintainers = [ stdenv . lib . maintainers . aszlig ] ;
} ;
} ;
2013-09-20 17:08:24 +01:00
htmllaundry = buildPythonPackage rec {
name = " h t m l l a u n d r y - 2 . 0 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / h / h t m l l a u n d r y / ${ name } . t a r . g z " ;
md5 = " 6 d b 6 9 0 9 d e 7 6 c 4 b 2 5 9 e 6 5 d 9 0 b 5 d e b d b d a " ;
} ;
buildInputs = [ nose ] ;
propagatedBuildInputs = [ six lxml ] ;
# some tests fail, probably because of changes in lxml
# not relevant for me, if releavnt for you, fix it...
doCheck = false ;
meta = {
description = " S i m p l e H T M L c l e a n u p u t i l i t i e s " ;
license = stdenv . lib . licenses . bsd3 ;
} ;
} ;
2013-02-18 15:12:43 +00:00
html5lib = buildPythonPackage ( rec {
2013-02-18 10:33:24 +00:00
name = " h t m l 5 l i b - 0 . 9 5 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / h / h t m l 5 l i b / ${ name } . t a r . g z " ;
md5 = " f e 6 0 7 f 9 9 1 7 d 8 1 7 6 3 e 8 4 2 f 8 1 8 f 2 3 4 6 4 e e " ;
} ;
meta = {
homepage = http://code.google.com/p/html5lib/ ;
description = " H T M L p a r s e r b a s e d o n W H A T - W G H T M L 5 s p e c i f i c a t i o n " ;
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 = " h t t p _ s i g n a t u r e - 0 . 1 . 4 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / h / h t t p _ s i g n a t u r e / ${ name } . t a r . g z " ;
md5 = " 0 1 5 0 6 1 8 4 6 2 5 4 b d 5 d 8 c 5 d b c 2 9 1 3 9 8 5 1 5 3 " ;
} ;
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 = " h t t p l i b 2 - 0 . 8 " ;
2011-02-21 17:26:19 +00:00
src = fetchurl {
url = " h t t p : / / h t t p l i b 2 . g o o g l e c o d e . c o m / f i l e s / ${ name } . t a r . g z " ;
2013-03-17 14:17:20 +00:00
sha256 = " 0 g w w 8 a x b 4 j 1 v y s b k 9 k f s k 5 v r w s 9 a 4 0 3 g h 3 0 d x c h m g a 8 h r g 1 r n s 5 g " ;
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 c o m p r e h e n s i v e H T T P c l i e n t l i b r a r y " ;
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 = " i m p o r t l i b - 1 . 0 . 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / i / i m p o r t l i b / i m p o r t l i b - 1 . 0 . 2 . t a r . g z " ;
md5 = " 4 a a 2 3 3 9 7 d a 8 b d 7 c 7 4 2 6 8 6 4 e 8 8 e 4 d b 7 e 1 " ;
} ;
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 = " i p t o o l s - ${ version } " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / i / i p t o o l s / i p t o o l s - ${ version } . t a r . g z " ;
md5 = " d e 6 0 e 5 f a b 8 6 1 f 2 9 d b f 5 f 4 4 4 6 f 8 5 7 6 5 3 2 " ;
} ;
meta = {
description = " U t i l i t i e s f o r m a n i p u l a t i n g I P a d d r e s s e s i n c l u d i n g a c l a s s t h a t c a n b e u s e d t o i n c l u d e C I D R n e t w o r k b l o c k s i n D j a n g o ' s I N T E R N A L _ I P S s e t t i n g . " ;
homepage = http://pypi.python.org/pypi/iptools ;
} ;
} ;
2011-03-30 12:54:17 +01:00
ipy = buildPythonPackage rec {
version = " 0 . 7 4 " ;
name = " i p y - ${ version } " ;
2011-07-20 16:30:40 +01:00
2011-03-30 12:54:17 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / I / I P y / I P y - ${ version } . t a r . g z " ;
md5 = " f 4 f 7 d d c 7 c 5 e 5 5 a 4 7 2 2 2 a 5 c c 6 c 0 a 8 7 b 6 d " ;
} ;
2012-12-03 05:38:11 +00:00
# error: invalid command 'test'
2011-03-30 12:54:17 +01:00
doCheck = false ;
meta = {
description = " C l a s s a n d t o o l s f o r h a n d l i n g o f I P v 4 a n d I P v 6 a d d r e s s e s a n d n e t w o r k s " ;
homepage = http://pypi.python.org/pypi/IPy ;
} ;
} ;
2013-01-21 05:50:10 +00:00
ipdb = buildPythonPackage {
name = " i p d b - 0 . 7 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / i / i p d b / i p d b - 0 . 7 . t a r . g z " ;
md5 = " d 8 7 9 f 9 b 2 b 0 f 2 6 e 0 e 9 9 9 8 0 9 5 8 5 d c a e c 6 1 " ;
} ;
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 {
2013-09-15 13:34:22 +01:00
name = " i p d b p l u g i n - 1 . 4 " ;
2013-03-19 17:56:55 +00:00
src = fetchurl {
2013-09-15 13:34:22 +01:00
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / i / i p d b p l u g i n / i p d b p l u g i n - 1 . 4 . t a r . g z " ;
md5 = " f 9 a 4 1 5 1 2 e 5 d 9 0 1 e a 0 f a 1 9 9 c 3 f 6 4 8 b b a 7 " ;
2013-03-19 17:56:55 +00:00
} ;
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 = " j e d i - 0 . 6 . 0 " ;
2013-01-03 18:28:12 +00:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / j / j e d i / ${ name } . t a r . g z " ;
2013-05-21 13:52:26 +01:00
sha256 = " 0 k 2 7 n a i 6 9 y p i 9 w h i p g 4 5 s 1 m y q r 4 7 7 w j 7 j a r y q v 3 7 b q q i j 4 j c 8 5 h g " ;
2013-01-03 18:28:12 +00:00
} ;
meta = {
homepage = " h t t p s : / / g i t h u b . c o m / d a v i d h a l t e r / j e d i " ;
description = " A n a u t o c o m p l e t i o n t o o l f o r P y t h o n t h a t c a n b e u s e d f o r t e x t e d i t o r s . " ;
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 = " J i n j a 2 - 2 . 7 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
2013-07-28 10:12:13 +01:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / J / J i n j a 2 / ${ name } . t a r . g z " ;
sha256 = " 0 k g s d 7 h 2 7 j l 2 j p q a 1 k s 8 8 h 9 3 z 5 0 b s g 0 y r 7 q k i c q p x b l 9 s 4 c 1 a k s 7 " ;
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 = " S t a n d - a l o n e t e m p l a t e e n g i n e " ;
license = " B S D " ;
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 = " j m e s p a t h - 0 . 0 . 2 " ;
2013-04-07 14:34:35 +01:00
src = fetchurl {
2013-07-31 12:32:25 +01:00
url = " h t t p s : / / g i t h u b . c o m / b o t o / j m e s p a t h / a r c h i v e / 0 . 0 . 2 . t a r . g z " ;
sha256 = " 0 w r 1 g q 3 g d y n 3 n 2 1 p v j 6 2 c s d m 0 9 5 5 1 2 z x d 1 0 g k g 5 a i 1 v v x h 0 m b n 3 r " ;
2013-04-07 14:34:35 +01:00
} ;
propagatedBuildInputs = [ ply ] ;
meta = {
homepage = " h t t p s : / / g i t h u b . c o m / b o t o / j m e s p a t h " ;
description = " J M E S P a t h a l l o w s y o u t o d e c l a r a t i v e l y s p e c i f y h o w t o e x t r a c t e l e m e n t s f r o m a J S O N d o c u m e n t " ;
license = " B S D " ;
} ;
} ;
2012-08-31 13:47:47 +01:00
pylast = buildPythonPackage rec {
name = " p y l a s t - ${ version } " ;
version = " 0 . 5 . 1 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y l a s t / ${ name } . t a r . g z " ;
md5 = " 5 0 6 c f 1 b 1 3 0 2 0 b 3 e d 2 f 3 c 8 4 5 e a 0 c 9 8 3 0 e " ;
} ;
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 p y t h o n i n t e r f a c e t o l a s t . f m ( a n d c o m p a t i b l e s ) " ;
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 = " l i b c l o u d - 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 = " 1 1 q i l r s 4 s d 4 c 1 m k d 6 4 i k r j s c 2 v w r s h h c 5 4 n 5 m h 4 x r a r k 9 c 7 a y p 0 y " ;
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 = " c p t e s t / s e c r e t s . p y - d i s t t e s t / s e c r e t s . p y " ;
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 u n i f i e d i n t e r f a c e t o m a n y c l o u d p r o v i d e r s " ;
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 = " l i m n o r i a - 2 0 1 3 0 3 2 7 " ;
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 = " l i m n o r i a - 2 0 1 3 - 0 6 - 0 1 . t a r . g z " ;
sha256 = " 1 i 8 q 9 z z f 4 3 s r 3 n 1 q 4 h 6 h 1 z 8 n z 3 1 g 4 a a 8 d q 9 4 y w v f b h 7 h k l m c h q 6 n " ;
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 m o d i f i e d v e r s i o n o f S u p y b o t , a n I R C b o t " ;
homepage = http://supybot.fr.cr ;
license = licenses . bsd3 ;
maintainers = [ maintainers . goibhniu ] ;
} ;
} ) ;
2011-06-09 16:02:39 +01:00
lockfile = buildPythonPackage rec {
name = " l o c k f i l e - 0 . 9 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y l o c k f i l e . g o o g l e c o d e . c o m / f i l e s / ${ name } . t a r . g z " ;
sha1 = " 1 e e b a e e 3 7 5 6 4 1 c 9 f 2 9 a e b 2 1 7 6 8 f 9 1 7 d d 2 b 9 8 5 7 5 2 " ;
} ;
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 = " P l a t f o r m - i n d e p e n d e n t a d v i s o r y f i l e l o c k i n g c a p a b i l i t y f o r P y t h o n a p p l i c a t i o n s " ;
} ;
} ;
2012-10-11 16:05:33 +01:00
logilab_common = buildPythonPackage rec {
name = " l o g i l a b - c o m m o n - 0 . 5 8 . 2 " ;
2011-07-19 17:02:37 +01:00
src = fetchurl {
2012-10-11 16:05:33 +01:00
url = " h t t p : / / d o w n l o a d . l o g i l a b . o r g / p u b / c o m m o n / ${ name } . t a r . g z " ;
sha256 = " 0 q f d y j 2 i s 0 s c p n k g p n q m 1 2 l h 4 y l 2 7 6 1 7 l 0 i r l i l h k 2 5 c p g b b f b f 9 " ;
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
" l x m l - 2 . 3 . 6 " = buildPythonPackage rec {
name = " l x m l - 2 . 3 . 6 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / l / l x m l / l x m l - 2 . 3 . 6 . t a r . g z " ;
md5 = " d 5 d 8 8 6 0 8 8 e 7 8 b 1 b d b f d 6 6 d 3 2 8 f c 2 d 0 b c " ;
} ;
buildInputs = [ pkgs . libxml2 pkgs . libxslt ] ;
propagatedBuildInputs = [ ] ;
doCheck = false ;
installCommand = ''
easy_install - - always-unzip - - no-deps - - prefix = " $ o u t " .
'' ;
meta = {
description = " P y t h o n i c b i n d i n g f o r t h e l i b x m l 2 a n d l i b x s l t l i b r a r i e s " ;
homepage = http://codespeak.net/lxml/index.html ;
license = " B S D " ;
} ;
} ;
2010-04-21 11:51:15 +01:00
lxml = buildPythonPackage ( rec {
2013-02-05 23:54:17 +00:00
name = " l x m l - 3 . 0 . 2 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
2013-02-05 23:54:17 +00:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / l / l x m l / ${ name } . t a r . g z " ;
md5 = " 3 8 b 1 5 b 0 d d 5 e 9 2 9 2 c f 9 8 b e 8 0 0 e 8 4 a 3 c e 4 " ;
2010-04-21 11:51:15 +01:00
} ;
buildInputs = [ pkgs . libxml2 pkgs . libxslt ] ;
meta = {
description = " P y t h o n i c b i n d i n g f o r t h e l i b x m l 2 a n d l i b x s l t l i b r a r i e s " ;
homepage = http://codespeak.net/lxml/index.html ;
license = " B S D " ;
} ;
} ) ;
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 = " p y t h o n - m a g i c - 0 . 4 . 3 " ;
2011-03-30 11:02:23 +01:00
2013-08-13 14:13:56 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y t h o n - m a g i c / ${ name } . t a r . g z " ;
md5 = " e e c 9 e 2 b 1 b c a f 4 3 3 0 8 b 7 d a c b 3 f 2 e c d 8 c 1 " ;
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 " c t y p e s . C D L L ( d l l ) " " c t y p e s . C D L L ( ' ${ pkgs . file } / l i b / l i b m a g i c . s o ' ) "
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 = " p y t h o n - m a g i c i s a p y t h o n i n t e r f a c e t o t h e l i b m a g i c f i l e t y p e i d e n t i f i c a t i o n l i b r a r y " ;
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 = " p y t h o n - ${ pkgs . file . name } " ;
src = pkgs . file . src ;
patches = [ ../tools/misc/file/python.patch ] ;
buildInputs = [ python pkgs . file ] ;
configurePhase = " c d p y t h o n " ;
buildPhase = " ${ python } / b i n / ${ python . executable } s e t u p . p y b u i l d " ;
installPhase = ''
$ { python } /bin / $ { python . executable } setup . py install - - prefix = $ out
'' ;
meta = {
description = " A P y t h o n w r a p p e r a r o u n d l i b m a g i c " ;
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 . 2 1 . 1 " ;
name = " m 2 c r y p t o - ${ version } " ;
2011-07-20 16:30:40 +01:00
2011-03-30 12:54:17 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / M / M 2 C r y p t o / M 2 C r y p t o - ${ version } . t a r . g z " ;
md5 = " f 9 3 d 8 4 6 2 f f 7 6 4 6 3 9 7 a 9 f 7 7 a 2 f e 6 0 2 d 1 7 " ;
} ;
buildInputs = [ pkgs . swig pkgs . openssl ] ;
2013-07-29 13:52:19 +01:00
buildPhase = " ${ python } / b i n / ${ python . executable } s e t u p . p y b u i l d _ e x t - - o p e n s s l = ${ pkgs . openssl } " ;
2011-03-30 12:54:17 +01:00
doCheck = false ; # another test that depends on the network.
meta = {
description = " A P y t h o n c r y p t o a n d S S L t o o l k i t " ;
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 = " M a k o - 0 . 8 . 1 " ;
2013-02-17 22:39:00 +00:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / M / M a k o / ${ name } . t a r . g z " ;
2013-08-14 09:42:35 +01:00
md5 = " 9 6 d 9 6 2 4 6 4 c e 6 3 1 6 0 0 4 a f 0 c c 4 8 4 9 5 d 7 3 e " ;
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 = " S u p e r - f a s t t e m p l a t i n g l a n g u a g e . " ;
homepage = http://www.makotemplates.org ;
license = " M I T " ;
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
2013-07-28 10:12:13 +01:00
markupsafe = buildPythonPackage rec {
name = " m a r k u p s a f e - 0 . 1 5 " ;
2013-02-17 22:39:00 +00:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / M / M a r k u p S a f e / ${ name } . t a r . g z " ;
md5 = " 4 e 7 c 4 d 9 6 5 f e 5 e 0 3 3 f a 2 d 7 b b 7 7 4 6 b b 1 8 6 " ;
} ;
meta = {
description = " I m p l e m e n t s a X M L / H T M L / X H T M L M a r k u p s a f e s t r i n g " ;
homepage = http://dev.pocoo.org ;
license = " B S D " ;
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
2013-01-18 01:21:24 +00:00
manuel = buildPythonPackage rec {
name = " m a n u e l - ${ version } " ;
version = " 1 . 6 . 0 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / m / m a n u e l / ${ name } . t a r . g z " ;
md5 = " 5 3 d 6 a 6 9 0 5 3 0 1 a 2 0 f 6 0 9 5 e 4 1 d 1 1 9 6 8 f f f " ;
} ;
propagatedBuildInputs = [ six zope_testing ] ;
meta = {
description = " A d o c u m e n t a t i o n b u i l d e r " ;
homepage = http://pypi.python.org/pypi/manuel ;
license = " Z P L " ;
} ;
} ;
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 = " m a r k d o w n - ${ version } " ;
src = fetchurl {
2013-07-29 15:38:29 +01:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / M / M a r k d o w n / M a r k d o w n - ${ version } . t a r . g z " ;
sha256 = " 1 4 7 j 9 h z n v 2 r 1 8 7 a 8 6 d 2 8 g l m g 3 p c k f r d p 0 n z 9 y h 7 s 1 a q p a w w d k s z z " ;
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 = " m a t p l o t l i b - 1 . 2 . 1 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
2013-07-14 04:41:56 +01:00
url = " h t t p : / / d o w n l o a d s . s o u r c e f o r g e . n e t / m a t p l o t l i b / ${ name } . t a r . g z " ;
sha256 = " 1 6 x 2 k s d x x 5 p 9 2 v 9 8 q n g h 2 9 h d z 1 b n q y 7 7 f h g g b j q 3 0 p y q m r r 8 k q a j " ;
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 = " p y t h o n s e t u p . p y b u i l d " ;
installPhase = " p y t h o n s e t u p . p y i n s t a l l - - p r e f i x = $ o u t " ;
meta = with stdenv . lib ; {
2010-04-21 11:51:15 +01:00
description = " p y t h o n p l o t t i n g l i b r a r y , m a k i n g p u b l i c a t i o n q u a l i t y p l o t s " ;
2013-07-14 04:41:56 +01:00
homepage = " h t t p : / / m a t p l o t l i b . s o u r c e f o r g e . n e t / " ;
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 = " m c c a b e - 0 . 2 . 1 " ;
2013-03-17 14:23:56 +00:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / m / m c c a b e / ${ name } . t a r . g z " ;
2013-07-18 07:21:41 +01:00
md5 = " 5 a 3 f 3 f a 6 a 4 b a d 1 2 6 c 8 8 a a a a 7 d a b 6 8 2 f 5 " ;
2013-03-17 14:23:56 +00:00
} ;
buildInputs = [ ] ;
meta = {
description = " M c C a b e c h e c k e r , p l u g i n f o r f l a k e 8 " ;
homepage = " h t t p s : / / g i t h u b . c o m / f l i n t w o r k / m c c a b e " ;
license = pkgs . lib . licenses . mit ;
maintainers = [ stdenv . lib . maintainers . garbas ] ;
} ;
} ) ;
2010-04-21 11:51:15 +01:00
mechanize = buildPythonPackage ( rec {
name = " m e c h a n i z e - 0 . 1 . 1 1 " ;
src = fetchurl {
url = " h t t p : / / w w w s e a r c h . s o u r c e f o r g e . n e t / m e c h a n i z e / s r c / ${ name } . t a r . g z " ;
sha256 = " 1 h 6 2 m w y 4 i z 0 9 j q z 1 7 n r b 9 j 8 y 0 d j d 5 0 0 z d f q w r z 9 x m d w q z q w i x k j 2 " ;
} ;
propagatedBuildInputs = [ clientform ] ;
meta = {
description = " S t a t e f u l p r o g r a m m a t i c w e b b r o w s i n g i n P y t h o n " ;
homepage = http://wwwsearch.sourceforge.net/ ;
license = " B S D - s t y l e " ;
} ;
} ) ;
2011-07-20 16:30:40 +01:00
2013-06-22 13:10:10 +01:00
meld3 = buildPythonPackage rec {
name = " m e l d 3 - 0 . 6 . 1 0 " ;
src = fetchurl {
url = https://pypi.python.org/packages/source/m/meld3/meld3-0.6.10.tar.gz ;
md5 = " 4 2 e 5 8 6 2 4 e 9 d 4 2 7 b e 7 6 5 9 d 7 a 2 8 e 2 b 0 b 6 f " ;
} ;
doCheck = false ;
meta = {
description = " A n H T M L / X M L t e m p l a t i n g e n g i n e u s e d b y s u p e r v i s o r " ;
homepage = https://github.com/supervisor/meld3 ;
license = " Z P L " ;
} ;
} ;
2012-05-30 22:12:40 +01:00
memcached = buildPythonPackage rec {
name = " m e m c a c h e d - 1 . 4 8 " ;
src = fetchurl {
url = " f t p : / / f t p . t u m m y . c o m / p u b / p y t h o n - m e m c a c h e d / o l d - r e l e a s e s / p y t h o n - m e m c a c h e d - 1 . 4 8 . t a r . g z " ;
sha256 = " 1 i 0 h 0 5 z 9 j 0 z l 6 5 r g v w 8 6 p 4 f 5 4 p i g k x y n h z p p n 4 q x b y 8 r j l n w d f v 6 " ;
} ;
meta = {
description = " P y t h o n A P I f o r c o m m u n i c a t i n g w i t h t h e m e m c a c h e d d i s t r i b u t e d m e m o r y o b j e c t c a c h e d a e m o n " ;
homepage = http://www.tummy.com/Community/software/python-memcached/ ;
} ;
} ;
2013-09-20 17:00:03 +01:00
memory_profiler = buildPythonPackage rec {
name = " m e m o r y _ p r o f i l e r - 0 . 2 7 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / m / m e m o r y _ p r o f i l e r / m e m o r y _ p r o f i l e r - 0 . 2 7 . t a r . g z " ;
md5 = " 2 1 2 c 0 d 7 4 5 2 d b a f f b 6 b 0 9 4 7 4 a c 0 7 b 0 6 6 8 " ;
} ;
# error: invalid command 'test'
doCheck = false ;
meta = {
description = " A m o d u l e f o r m o n i t o r i n g m e m o r y u s a g e o f a p y t h o n p r o g r a m " ;
homepage = http://pypi.python.org/pypi/memory_profiler ;
} ;
} ;
2013-06-04 16:12:07 +01:00
mitmproxy = buildPythonPackage rec {
baseName = " m i t m p r o x y " ;
name = " ${ baseName } - ${ meta . version } " ;
src = fetchurl {
url = " ${ meta . homepage } / d o w n l o a d / ${ name } . t a r . g z " ;
sha256 = " 1 d d q n i 6 d 4 k c 8 y p l 6 y i g 4 n c 0 0 i z v b k 3 5 9 s z 6 h y k b 9 g 0 l f c p f q l n g j " ;
} ;
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 " $ o u t / b i n / " * ; do
2013-06-04 16:12:07 +01:00
wrapProgram " $ p r o g " \
- - prefix PYTHONPATH : " $ P Y T H O N P A T H "
done
'' ;
meta = {
version = " 0 . 9 " ;
description = '' M a n - i n - t h e - m i d d l e p r o x y '' ;
homepage = " h t t p : / / m i t m p r o x y . o r g / " ;
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 = " m o c k - 1 . 0 . 1 " ;
2010-06-20 16:52:28 +01:00
src = fetchurl {
2011-04-04 15:38:53 +01:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / m / m o c k / ${ name } . t a r . g z " ;
2013-03-27 01:24:55 +00:00
md5 = " c 3 9 7 1 9 9 1 7 3 8 c a a 5 5 e c 7 c 3 5 6 b b c 1 5 4 e e 2 " ;
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 = " M o c k o b j e c t s f o r P y t h o n " ;
homepage = http://python-mock.sourceforge.net/ ;
license = " m B S D " ;
} ;
} ) ;
2011-03-30 18:03:49 +01:00
mox = buildPythonPackage rec {
name = " m o x - 0 . 5 . 3 " ;
src = fetchurl {
url = " h t t p : / / p y m o x . g o o g l e c o d e . c o m / f i l e s / ${ name } . t a r . g z " ;
sha1 = " b 7 1 a e a a c f 3 1 8 9 8 c 3 b 3 8 d 8 b 9 c a 5 b c c 0 6 6 4 4 9 9 c 0 d e " ;
} ;
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 m o c k o b j e c t f r a m e w o r k f o r P y t h o n . " ;
} ;
} ;
2011-07-20 16:30:40 +01:00
2013-01-17 23:20:45 +00:00
mrbob = buildPythonPackage rec {
name = " m r b o b - ${ version } " ;
2013-06-26 23:36:28 +01:00
version = " 0 . 1 a 9 " ;
2013-01-17 23:20:45 +00:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / m / m r . b o b / m r . b o b - ${ version } . z i p " ;
2013-06-26 23:36:28 +01:00
md5 = " 2 d 2 7 d 9 b d 1 f c 6 2 6 9 a 3 e c f d 1 a 1 a e 4 7 c d 8 a " ;
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 t o o l t o g e n e r a t e c o d e s k e l e t o n s f r o m t e m p l a t e s " ;
} ;
} ;
2013-02-18 13:08:48 +00:00
munkres = buildPythonPackage rec {
name = " m u n k r e s - 1 . 0 . 5 . 4 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / m / m u n k r e s / ${ name } . t a r . g z " ;
md5 = " c b 9 d 1 1 4 f b 5 2 3 4 2 8 b a b 4 7 4 2 e 8 8 b c 8 3 6 9 6 " ;
} ;
# error: invalid command 'test'
doCheck = false ;
meta = {
homepage = http://bmc.github.com/munkres/ ;
description = " M u n k r e s a l g o r i t h m f o r t h e A s s i g n m e n t P r o b l e m " ;
license = pkgs . lib . licenses . bsd3 ;
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
musicbrainzngs = buildPythonPackage rec {
name = " m u s i c b r a i n z n g s - 0 . 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / m / m u s i c b r a i n z n g s / ${ name } . t a r . g z " ;
md5 = " b c 3 2 a a 1 c f 1 2 1 f 2 9 c 3 c a 1 c 0 6 e 9 6 6 8 8 6 5 f " ;
} ;
meta = {
homepage = http://alastair/python-musicbrainz-ngs ;
description = " P y t h o n b i n d i n g s f o r m u s i c b r a i n z N G S w e b s e r v i c e " ;
license = pkgs . lib . licenses . bsd2 ;
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
2010-09-26 20:40:22 +01:00
mutagen = buildPythonPackage ( rec {
name = " m u t a g e n - 1 . 2 0 " ;
src = fetchurl {
url = " h t t p : / / m u t a g e n . g o o g l e c o d e . c o m / f i l e s / ${ name } . t a r . g z " ;
sha256 = " 1 r z 6 3 n h 7 r 6 q j 3 z s i d f 8 d 3 a 7 i h 6 4 7 p r v v q z i 5 1 p 8 d q k q m v r w c 8 m k y " ;
} ;
meta = {
description = " P y t h o n m u l t i m e d i a t a g g i n g l i b r a r y " ;
homepage = http://code.google.com/p/mutagen ;
license = " L G P L v 2 " ;
} ;
} ) ;
2010-07-28 14:09:04 +01:00
2013-08-23 08:57:12 +01:00
muttils = buildPythonPackage ( rec {
name = " m u t t i l s - 1 . 3 " ;
src = fetchurl {
url = http://www.blacktrash.org/hg/muttils/archive/8bb26094df06.tar.bz2 ;
sha256 = " 1 a 4 k x a 0 f p g g 6 r d j 5 p 4 k g g f n 8 x p n i q h 8 v 5 k b i a q c 6 w i d s 0 2 m 7 k a g 6 " ;
} ;
# Tests don't work
doCheck = false ;
meta = {
description = " U t i l i t i e s f o r u s e w i t h c o n s o l e m a i l c l i e n t s , l i k e m u t t " ;
homepage = http://www.blacktrash.org/hg/muttils ;
license = " G P L v 2 + " ;
} ;
} ) ;
2011-03-30 11:02:23 +01:00
MySQL_python = buildPythonPackage {
name = " M y S Q L - p y t h o n - 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 = " 0 v k y g 9 d m j 2 9 h z k 7 f y 7 7 f 4 2 p 7 b f j 2 8 s k y z s j s j r y 4 w q r 3 z 6 x n z r k x " ;
} ;
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 = " M y S Q L d a t a b a s e b i n d i n g f o r P y t h o n " ;
homepage = http://sourceforge.net/projects/mysql-python ;
} ;
} ;
2013-03-27 01:24:55 +00:00
mysql_connector_repackaged = buildPythonPackage rec {
name = " m y s q l - c o n n e c t o r - r e p a c k a g e d - 0 . 3 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / m / m y s q l - c o n n e c t o r - r e p a c k a g e d / ${ name } . t a r . g z " ;
md5 = " 0 b 1 7 a d 1 c b 3 f e 7 6 3 f d 4 4 4 8 7 c b 9 7 c f 4 5 b 2 " ;
} ;
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 = " n a m e b e n c h - 1 . 0 . 5 " ;
src = fetchurl {
url = " h t t p : / / n a m e b e n c h . g o o g l e c o d e . c o m / f i l e s / ${ name } . t g z " ;
sha256 = " 6 c b d e 3 5 c e 9 4 d 1 f 3 1 e 7 d 4 8 f 5 d 8 e e c 1 3 2 3 8 b 4 d b c 5 0 5 6 7 5 a 3 3 f 1 e 1 8 3 e 6 0 0 c 1 4 8 2 c 3 " ;
} ;
# 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 = " F i n d f a s t e s t D N S s e r v e r s a v a i l a b l e " ;
license = [
" A p a c h e - 2 . 0 "
# third-party program licenses (embedded in the sources)
" L G P L " # Crystal_Clear
" f r e e " # dns
" A p a c h e - 2 . 0 " # graphy
" B S D " # 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 = " n e t a d d r - 0 . 7 . 5 " ;
src = fetchurl {
url = " h t t p s : / / g i t h u b . c o m / d o w n l o a d s / d r k j a m / n e t a d d r / ${ name } . t a r . g z " ;
sha256 = " 0 s s x i c 3 8 9 r d c 7 9 z k z 8 d x c j p q d i 5 q s 8 0 h 1 2 k h k a g 4 1 0 c l 9 c w k 1 1 f 2 " ;
} ;
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 n e t w o r k a d d r e s s m a n i p u l a t i o n l i b r a r y f o r P y t h o n " ;
} ;
} ;
2013-07-26 12:18:08 +01:00
netifaces = buildPythonPackage rec {
version = " 0 . 8 " ;
name = " n e t i f a c e s - ${ version } " ;
src = fetchurl {
url = " h t t p : / / a l a s t a i r s - p l a c e . n e t / p r o j e c t s / n e t i f a c e s / ${ name } . t a r . g z " ;
sha256 = " 1 v 5 i 3 9 k x 4 y z 1 p w g j f b z i 6 3 w 5 5 l 2 z 3 1 8 z g m i 9 f 7 7 y b m m k i l 1 i 3 9 s k " ;
} ;
meta = {
homepage = http://alastairs-place.net/projects/netifaces/ ;
description = " P o r t a b l e a c c e s s t o n e t w o r k i n t e r f a c e s f r o m P y t h o n " ;
} ;
} ;
2013-06-04 16:12:07 +01:00
netlib = buildPythonPackage rec {
baseName = " n e t l i b " ;
name = " ${ baseName } - ${ meta . version } " ;
src = fetchurl {
url = " h t t p s : / / g i t h u b . c o m / c o r t e s i / n e t l i b / a r c h i v e / v ${ meta . version } . t a r . g z " ;
name = " ${ name } . t a r . g z " ;
sha256 = " 1 y 8 l x 2 j 1 j r r 9 3 m q f b 0 6 z g 1 x 5 j m 9 l l l w 7 4 4 s b 6 1 i b 8 d a g w 4 3 n n q 3 v " ;
} ;
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 = '' M a n - i n - t h e - m i d d l e p r o x y '' ;
homepage = " h t t p s : / / g i t h u b . c o m / c o r t e s i / n e t l i b " ;
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 = " n e v o w - ${ version } " ;
version = " 0 . 1 0 . 0 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
2012-12-03 05:54:13 +00:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / N / N e v o w / N e v o w - ${ version } . t a r . g z " ;
2010-07-28 00:52:02 +01:00
sha256 = " 9 0 6 3 1 f 6 8 f 6 2 6 c 8 9 3 4 9 8 4 9 0 8 d 3 d f 1 5 e 7 c 1 9 8 9 3 9 d 3 6 b e 7 e a d 1 3 0 5 4 7 9 d f c 6 7 f f 6 d 0 " ;
2010-04-21 11:51:15 +01:00
name = " ${ name } . t a r . g z " ;
} ;
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 = " t w i s t d - - h e l p > / d e v / n u l l " ;
2010-04-21 11:51:15 +01:00
2013-06-27 19:04:36 +01:00
meta = {
description = " N e v o w , a w e b a p p l i c a t i o n c o n s t r u c t i o n k i t f o r P y t h o n " ;
longDescription = ''
Nevow - Pronounced as the French " n o u v e a u " , or " n o o - v o h " , 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 = " B S D - s t y l e " ;
} ;
} ) ;
2010-04-21 11:51:15 +01:00
2011-11-18 17:07:40 +00:00
nose = buildPythonPackage rec {
2013-09-22 09:35:50 +01:00
version = " 1 . 3 . 0 " ;
name = " n o s e - ${ version } " ;
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 = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / n / n o s e / ${ name } . t a r . g z " ;
2013-07-28 10:31:41 +01:00
sha256 = " 0 q 2 j 9 z z 3 9 h 3 l i w b p 6 l b 9 4 k l 3 s x b 9 z 9 r b w h 5 d z y c c y x f y 4 l r w q q s f " ;
2010-12-22 17:03:30 +00:00
} ;
2011-02-11 22:49:27 +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
'' e l s e " " + ''
$ { python } /bin / $ { python . executable } selftest . py
'' ;
2013-09-22 09:35:50 +01:00
meta = {
description = " A u n i t t e s t - b a s e d t e s t i n g f r a m e w o r k f o r p y t h o n t h a t m a k e s w r i t i n g a n d r u n n i n g t e s t s e a s i e r " ;
} ;
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 = " n o s e 2 - 0 . 4 . 5 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / n / n o s e 2 / ${ name } . t a r . g z " ;
md5 = " d 7 e 5 1 c 8 4 8 2 2 7 4 8 8 e 3 c c 0 4 2 4 f a f 5 5 1 1 c d " ;
} ;
meta = {
description = " n o s e 2 i s t h e n e x t g e n e r a t i o n o f n i c e r t e s t i n g f o r P y t h o n " ;
} ;
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 = " n o s e 2 - c o v - 1 . 0 a 4 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / n / n o s e 2 - c o v / n o s e 2 - c o v - 1 . 0 a 4 . t a r . g z " ;
md5 = " 6 4 4 2 f 0 3 e 2 e a 7 3 2 b 0 e 3 8 e b 5 b 0 0 f b e 0 b 3 1 " ;
} ;
meta = {
description = " n o s e 2 p l u g i n f o r c o v e r a g e r e p o r t i n g , i n c l u d i n g s u b p r o c e s s e s a n d m u l t i p r o c e s s i n g " ;
} ;
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 = " n o s e j s - 0 . 9 . 4 " ;
src = fetchurl {
url = https://pypi.python.org/packages/source/N/NoseJS/NoseJS-0.9.4.tar.gz ;
sha256 = " 0 q r h k d 3 s g a 5 6 q f 6 k 0 s q y h w f c l a d w i 0 5 g l 6 a q m r 0 x r i i q 1 s g v a 5 d y " ;
} ;
buildInputs = [ nose ] ;
} ;
2013-06-10 12:52:45 +01:00
nose-cprof = buildPythonPackage rec {
name = " n o s e - c p r o f - 0 . 1 - 0 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / n / n o s e - c p r o f / ${ name } . t a r . g z " ;
md5 = " 5 d b 2 7 c 3 b 8 f 0 1 9 1 5 3 3 5 a e 6 f c 5 f d 3 a f d 4 4 " ;
} ;
meta = {
description = " A p y t h o n n o s e p l u g i n t o p r o f i l e u s i n g c P r o f i l e r a t h e r t h a n t h e d e f a u l t H o t s h o t p r o f i l e r . " ;
} ;
buildInputs = [ nose ] ;
} ;
2010-07-06 15:54:22 +01:00
notify = pkgs . stdenv . mkDerivation ( rec {
name = " p y t h o n - n o t i f y - 0 . 1 . 1 " ;
src = fetchurl {
url = http://www.galago-project.org/files/releases/source/notify-python/notify-python-0.1.1.tar.bz2 ;
sha256 = " 1 k h 4 s p w g q x m 5 3 4 q l z z f 2 i j c h c k v s 0 p w j x l 1 i r h i c j m l g 7 m y b n f v x " ;
} ;
2013-05-27 09:05:15 +01:00
patches = pkgs . lib . singleton ( fetchurl {
name = " l i b n o t i f y 0 7 . p a t c h " ;
url = " h t t p : / / p k g s . f e d o r a p r o j e c t . o r g / c g i t / n o t i f y - p y t h o n . g i t / p l a i n / "
+ " l i b n o t i f y 0 7 . p a t c h ? i d 2 = 2 8 9 5 7 3 d 5 0 a e 4 8 3 8 a 1 6 5 8 d 5 7 3 d 2 c 9 f 4 c 7 5 e 8 6 d b 0 c " ;
sha256 = " 1 l q d l i 1 3 m f b 5 9 x x b q 4 r b q 1 f 0 z n h 6 x r 1 7 l j j h w m z q b 7 9 j l 3 d i g 1 2 z " ;
} ) ;
postPatch = ''
sed - i - e ' / ^ PYGTK_CODEGEN/s | = . * | = " ${ pygtk } / b i n / p y g t k - c o d e g e n - 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 = " c d $ o u t / l i b / p y t h o n * / s i t e - p a c k a g e s & & l n - s g t k - * / p y n o t i f y . " ;
2011-09-13 21:10:37 +01:00
2010-07-06 15:54:22 +01:00
meta = {
description = " P y t h o n b i n d i n g s f o r l i b n o t i f y " ;
homepage = http://www.galago-project.org/ ;
} ;
} ) ;
2012-04-30 15:34:57 +01:00
notmuch = pkgs . stdenv . mkDerivation rec {
name = " p y t h o n - ${ pkgs . notmuch . name } " ;
src = pkgs . notmuch . src ;
buildInputs = [ python pkgs . notmuch ] ;
#propagatedBuildInputs = [ python pkgs.notmuch ];
configurePhase = " c d b i n d i n g s / p y t h o n " ;
buildPhase = " p y t h o n s e t u p . p y b u i l d " ;
installPhase = " p y t h o n s e t u p . p y i n s t a l l - - p r e f i x = $ o u t " ;
meta = {
description = " A P y t h o n w r a p p e r a r o u n d n o t m u c h " ;
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 = " n u m p y - 1 . 7 . 1 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
2010-05-03 21:06:09 +01:00
url = " m i r r o r : / / s o u r c e f o r g e / n u m p y / ${ name } . t a r . g z " ;
2013-07-29 16:10:40 +01:00
sha256 = " 0 j h 8 3 2 j 4 3 9 j j 2 b 7 m 1 z 5 a 4 r v 5 c p d n 1 y i w 1 r 6 g w r h d i h w 5 6 2 d 0 2 9 a m " ;
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 = " g n u 9 5 "
$ { 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 = " S c i e n t i f i c t o o l s f o r P y t h o n " ;
homepage = " h t t p : / / n u m p y . s c i p y . o r g / " ;
} ;
} ) ;
2013-09-21 18:48:54 +01:00
nwdiag = buildPythonPackage rec {
name = " n w d i a g - 0 . 9 . 4 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / n / n w d i a g / ${ name } . t a r . g z " ;
md5 = " 1 9 9 b 2 2 f 6 6 e c 3 0 1 2 c 3 9 9 9 1 7 7 d 3 7 6 a 3 8 4 2 " ;
} ;
buildInputs = [ pep8 nose unittest2 docutils ] ;
propagatedBuildInputs = [ blockdiag ] ;
# tests fail
doCheck = false ;
meta = with stdenv . lib ; {
description = " G e n e r a t e n e t w o r k - d i a g r a m i m a g e f r o m s p e c - t e x t f i l e ( s i m i l a r t o G r a p h v i z ) " ;
homepage = http://blockdiag.com/ ;
license = licenses . asl20 ;
platforms = platforms . linux ;
maintainers = [ maintainers . bjornfor ] ;
} ;
} ;
2012-10-01 12:05:57 +01:00
oauth2 = buildPythonPackage ( rec {
2012-12-03 05:38:11 +00:00
name = " o a u t h 2 - 1 . 5 . 2 1 1 " ;
2012-10-01 12:05:57 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / o / o a u t h 2 / o a u t h 2 - 1 . 5 . 2 1 1 . t a r . g z " ;
sha256 = " 8 2 a 3 8 f 6 7 4 d a 1 f a 4 9 6 c 0 f c 4 d f 7 1 4 c b b 0 5 8 5 4 0 b e d 7 2 a 3 0 c 5 0 a 2 e 3 4 4 b 0 d 9 8 4 c 4 d 2 1 " ;
} ;
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 = " h t t p s : / / g i t h u b . c o m / s i m p l e g e o / p y t h o n - o a u t h 2 " ;
description = " l i b r a r y f o r O A u t h v e r s i o n 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 = " o a u t h l i b - 0 . 5 . 0 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / o / o a u t h l i b / ${ name } . t a r . g z " ;
md5 = " d 1 2 c 5 0 7 d e 3 3 4 0 3 e b d f 2 9 0 f b f f d b 9 8 2 1 3 " ;
} ;
buildInputs = [ mock nose unittest2 ] ;
propagatedBuildInputs = [ pycrypto ] ;
meta = {
homepage = https://github.com/idan/oauthlib ;
description = " A g e n e r i c , s p e c - c o m p l i a n t , t h o r o u g h i m p l e m e n t a t i o n o f t h e O A u t h r e q u e s t - s i g n i n g l o g i c " ;
} ;
} ;
2013-06-04 10:35:59 +01:00
obfsproxy = buildPythonPackage ( rec {
name = " o b f s p r o x y - 0 . 2 . 2 " ;
src = fetchgit {
url = https://git.torproject.org/pluggable-transports/obfsproxy.git ;
rev = " 3 c 4 e 8 4 3 a 3 0 c 4 3 0 a e c 1 d e 0 3 e 0 e 0 9 e f 6 5 4 0 7 2 e f c 0 3 " ;
2013-06-19 00:02:57 +01:00
sha256 = " 8 f d 1 e 6 3 a 3 7 b c 4 2 a d d 7 6 0 9 d 9 7 d 5 0 e c d 8 1 d a 8 1 8 8 1 b c f 7 0 1 5 a 9 e 2 9 5 8 5 3 1 d b f 3 9 0 1 8 " ;
2013-06-04 10:35:59 +01:00
} ;
propagatedBuildInputs = [ pyptlib argparse twisted pycrypto ] ;
meta = {
description = " a p l u g g a b l e t r a n s p o r t p r o x y " ;
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 = " o r d e r e d d i c t - 1 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / o / o r d e r e d d i c t / o r d e r e d d i c t - 1 . 1 . t a r . g z " ;
md5 = " a 0 e d 8 5 4 e e 4 4 2 0 5 1 b 2 4 9 b f a d 0 f 6 3 8 b b e c " ;
} ;
doCheck = false ;
} ) else null ;
2010-04-21 11:51:15 +01:00
ply = buildPythonPackage ( rec {
2013-04-07 14:34:35 +01:00
name = " p l y - 3 . 4 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
url = " h t t p : / / w w w . d a b e a z . c o m / p l y / ${ name } . t a r . g z " ;
2013-04-07 14:34:35 +01:00
sha256 = " 0 s s l n b p w s 8 4 7 r 1 j 1 f 4 1 f j p n 7 6 w 0 a s y w f q g x w z y j r v m m x n w 8 m y h x g " ;
2010-04-21 11:51:15 +01:00
} ;
meta = {
homepage = http://www.dabeaz.com/ply/ ;
description = " P L Y ( P y t h o n L e x - Y a c c ) , a n i m p l e m e n t a t i o n o f t h e l e x a n d y a c c p a r s i n g t o o l s f o r P y t h o n " ;
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 = " r e v i s e d - B S D " ;
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 {
2013-09-17 15:41:56 +01:00
name = " p a n d a s - 0 . 1 2 . 0 " ;
2013-06-18 08:51:35 +01:00
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p a n d a s / ${ name } . t a r . g z " ;
2013-09-17 15:41:56 +01:00
sha256 = " 0 v f 8 6 5 w h 1 k c q 3 3 1 8 9 y k q g n g b 2 5 n x h x x c h 6 s k f d l 3 c 6 w 0 2 4 v 4 r 6 x y " ;
2013-06-18 08:51:35 +01:00
} ;
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 = " h t t p : / / p a n d a s . p y d a t a . o r g / " ;
description = " P y t h o n D a t a A n a l y s i s L i b r a r y " ;
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-10-02 10:36:04 +01:00
name = " p a r a m i k o - 1 . 1 2 . 0 " ;
2010-09-28 10:33:35 +01:00
src = fetchurl {
2013-08-03 06:27:12 +01:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p a r a m i k o / ${ name } . t a r . g z " ;
2013-10-02 10:36:04 +01:00
md5 = " 4 1 8 7 f 7 7 b 1 a 5 a 3 1 3 c 8 9 9 9 9 3 9 3 0 e 3 0 c 3 2 1 " ;
2010-09-28 10:33:35 +01:00
} ;
2013-10-02 10:36:04 +01:00
propagatedBuildInputs = [ pycrypto ecdsa ] ;
2010-10-26 02:42:22 +01:00
2013-08-14 17:50:47 +01:00
checkPhase = " p y t h o n t e s t . p y " ;
2010-09-28 10:33:35 +01:00
meta = {
2013-10-02 10:57:49 +01:00
homepage = " h t t p s : / / g i t h u b . c o m / p a r a m i k o / p a r a m i k o / " ;
description = " N a t i v e P y t h o n S S H v 2 p r o t o c o l l i b r a r y " ;
license = stdenv . lib . licenses . lgpl21Plus ;
2013-10-02 11:03:42 +01:00
maintainer = [ stdenv . lib . maintainers . aszlig ] ;
2010-09-28 10:33:35 +01:00
longDescription = ''
2013-10-02 10:57:49 +01:00
This is a library for making SSH2 connections ( client or server ) .
Emphasis is on using SSH2 as an alternative to SSL for making secure
connections between python scripts . All major ciphers and hash methods
are supported . SFTP client and server mode are both supported too .
'' ;
2010-09-28 10:33:35 +01:00
} ;
} ;
2011-03-30 12:54:17 +01:00
paste = buildPythonPackage rec {
name = " p a s t e - 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 = " 7 e a 5 f a b e d 7 d c a 4 8 e b 4 6 d c 6 1 3 c 4 b 6 c 4 e d " ;
} ;
buildInputs = [ nose ] ;
doCheck = false ; # some files required by the test seem to be missing
meta = {
description = " T o o l s f o r u s i n g a W e b S e r v e r G a t e w a y I n t e r f a c e s t a c k " ;
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 = " p a s t e - d e p l o y - ${ version } " ;
2011-07-20 16:30:40 +01:00
2011-03-30 12:54:17 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / P / P a s t e D e p l o y / P a s t e D e p l o y - ${ version } . t a r . g z " ;
2013-03-27 01:24:55 +00:00
md5 = " f 1 a 0 6 8 a 0 b 6 8 0 4 9 3 b 6 e a f f 3 d d 7 6 9 0 6 9 0 f " ;
2011-03-30 12:54:17 +01:00
} ;
buildInputs = [ nose ] ;
meta = {
description = " L o a d , c o n f i g u r e , a n d c o m p o s e W S G I a p p l i c a t i o n s a n d s e r v e r s " ;
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 = " p e p 8 - ${ version } " ;
2013-07-18 07:21:41 +01:00
version = " 1 . 4 . 6 " ;
2012-08-31 14:03:27 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p e p 8 / ${ name } . t a r . g z " ;
2013-07-18 07:21:41 +01:00
md5 = " a 0 3 b b 4 9 4 8 5 9 e 8 7 b 4 2 6 0 1 b 6 1 b 1 b 0 4 3 a 0 c " ;
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 = " h t t p : / / p e p 8 . r e a d t h e d o c s . o r g / " ;
2012-08-31 14:03:27 +01:00
description = " P y t h o n s t y l e g u i d e c h e c k e r " ;
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 = " p e x p e c t - 2 . 3 " ;
src = fetchurl {
2013-07-14 02:17:07 +01:00
url = " m i r r o r : / / s o u r c e f o r g e / p e x p e c t / p e x p e c t - 2 . 3 . t a r . g z " ;
2010-08-26 13:03:17 +01:00
sha256 = " 0 x 8 b f j j q y g r i r y 1 i y y g m 5 0 4 8 y k l 5 q p b p z q f p 6 i 8 d h k s l m 3 r y f 5 f k " ;
} ;
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 = " h t t p : / / w w w . n o a h . o r g / w i k i / P e x p e c t " ;
description = " A u t o m a t e i n t e r a c t i v e c o n s o l e a p p l i c a t i o n s s u c h a s s s h , f t p , e t c . " ;
license = " M I T " ;
longDescription = ''
Pexpect is similar to the Don Libes " E x p e c t " 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 " l y n x " , " w 3 m " , 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 = " p g 8 0 0 0 - 1 . 0 9 " ;
2013-03-27 01:24:55 +00:00
src = fetchurl {
2013-05-16 10:04:20 +01:00
url = " h t t p : / / p g 8 0 0 0 . g o o g l e c o d e . c o m / f i l e s / ${ name } . z i p " ;
2013-05-16 09:05:39 +01:00
sha256 = " 0 k d c 4 r g 4 7 k 1 q k q 2 2 i n g h d 5 0 x l x j d k f c i l y m 8 m x f f 8 w y 4 h 0 9 1 x y k w " ;
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-09-13 11:37:43 +01:00
pip = buildPythonPackage rec {
version = " 1 . 4 . 1 " ;
name = " p i p - ${ version } " ;
2013-01-21 15:12:56 +00:00
src = fetchurl {
2013-09-13 11:37:43 +01:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p i p / p i p - ${ version } . t a r . g z " ;
sha256 = " 0 k n h j 3 c 1 n q q z x g q i n 8 l 0 g z y 6 n z s b c x i n y r 0 c b p 1 j 9 9 h i 8 x a h c y j f " ;
2013-01-21 15:12:56 +00:00
} ;
buildInputs = [ mock scripttest virtualenv nose ] ;
# ValueError: Working directory tests not found, or not a directory
2013-09-13 11:37:43 +01:00
# see https://github.com/pypa/pip/issues/92
2013-01-21 15:12:56 +00:00
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 = " p i k a - 0 . 9 . 1 2 " ;
src = fetchurl {
url = https://pypi.python.org/packages/source/p/pika/pika-0.9.12.tar.gz ;
md5 = " 7 1 7 4 f c 7 c c 5 5 7 0 3 1 4 f a 3 c f a a 7 2 9 1 0 6 4 8 2 " ;
} ;
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 = " P i l l o w - 2 . 1 . 0 " ;
2013-02-07 23:52:59 +00:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / P / P i l l o w / ${ name } . z i p " ;
2013-07-28 14:56:38 +01:00
md5 = " e c 6 3 0 d 8 a e 1 5 d 4 a 3 c 4 a e 7 b 7 e f d e a c 8 2 0 0 " ;
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 " s e t u p . p y " \
- 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 = " F o r k o f T h e P y t h o n I m a g i n g L i b r a r y ( P I L ) " ;
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 = " h t t p : / / w w w . p y t h o n w a r e . c o m / p r o d u c t s / p i l / l i c e n s e . h t m " ;
maintainers = [ stdenv . lib . maintainers . goibhniu ] ;
} ;
} ;
2013-07-25 11:42:36 +01:00
plumbum = buildPythonPackage rec {
name = " p l u m b u m - 1 . 2 . 0 " ;
buildInputs = [ pythonPackages . six ] ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p l u m b u m / p l u m b u m - 1 . 2 . 0 . t a r . g z " ;
md5 = " 1 8 b 7 f 8 8 8 d f a f 6 2 a 4 8 d f 9 3 7 a b f f e 0 7 8 9 7 " ;
} ;
} ;
2013-02-07 23:52:59 +00:00
2012-10-02 15:51:04 +01:00
polib = buildPythonPackage rec {
name = " p o l i b - ${ version } " ;
version = " 1 . 0 . 1 " ;
src = fetchurl {
url = " h t t p : / / b i t b u c k e t . o r g / i z i / p o l i b / d o w n l o a d s / ${ name } . t a r . g z " ;
sha256 = " 1 s r 2 b b 3 g 7 r l 7 g r 6 1 5 6 j 5 q v 7 1 k g 0 6 q 1 x 0 1 r 1 l b p s 9 k s n y z 3 7 d j n 2 q " ;
} ;
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 l i b r a r y t o m a n i p u l a t e g e t t e x t f i l e s ( p o a n d m o f i l e s ) " ;
homepage = " h t t p : / / b i t b u c k e t . o r g / i z i / p o l i b / " ;
license = pkgs . lib . licenses . mit ;
} ;
} ;
2013-05-10 21:12:37 +01:00
powerline = buildPythonPackage rec {
2013-09-08 02:11:24 +01:00
rev = " d b 8 0 f c 9 5 e d 0 1 d 2 c 5 5 9 c 4 b d c 7 d a 8 5 1 4 e d 3 c c 7 f c d 9 " ;
2013-05-10 21:12:37 +01:00
name = " p o w e r l i n e - b e t a _ ${ rev } " ;
src = fetchurl {
2013-09-08 02:11:24 +01:00
url = " h t t p s : / / g i t h u b . c o m / L o k a l t o g / p o w e r l i n e / t a r b a l l / ${ rev } " ;
name = " ${ name } . t a r . b z " ;
sha256 = " 1 c s d 4 v a s y 0 a v w f x r p d r 6 1 p l j 6 k 1 n z f 3 6 f 6 q v d 9 k l 1 5 s 3 l n s p s f a z " ;
2013-05-10 21:12:37 +01:00
} ;
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 " $ o u t / s h a r e / f o n t s / O T F / "
install - dm755 " $ o u t / e t c / f o n t s / c o n f . d "
install - m644 " f o n t / P o w e r l i n e S y m b o l s . o t f " " $ o u t / s h a r e / f o n t s / O T F / P o w e r l i n e S y m b o l s . o t f "
install - m644 " f o n t / 1 0 - p o w e r l i n e - s y m b o l s . c o n f " " $ o u t / e t c / f o n t s / c o n f . d / 1 0 - p o w e r l i n e - s y m b o l s . c o n f "
install - dm755 " $ o u t / s h a r e / v i m / v i m f i l e s / p l u g i n "
install - m644 " p o w e r l i n e / b i n d i n g s / v i m / p l u g i n / p o w e r l i n e . v i m " " $ o u t / s h a r e / v i m / v i m f i l e s / p l u g i n / p o w e r l i n e . v i m "
install - dm755 " $ o u t / s h a r e / z s h / s i t e - c o n t r i b "
install - m644 " p o w e r l i n e / b i n d i n g s / z s h / p o w e r l i n e . z s h " " $ o u t / s h a r e / z s h / s i t e - c o n t r i b / p o w e r l i n e . z s h "
install - dm755 " $ o u t / s h a r e / t m u x "
install - m644 " p o w e r l i n e / b i n d i n g s / t m u x / p o w e r l i n e . c o n f " " $ o u t / s h a r e / t m u x / p o w e r l i n e . c o n f "
'' ;
2013-09-08 02:11:24 +01:00
meta = with stdenv . lib ; {
homepage = https://github.com/Lokaltog/powerline ;
2013-05-10 21:12:37 +01:00
description = " T h e u l t i m a t e s t a t u s l i n e / p r o m p t u t i l i t y . " ;
2013-09-08 02:11:24 +01:00
license = licenses . mit ;
maintainers = with maintainers ; [ lovek323 ] ;
platforms = 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 = " p r e t t y t a b l e - 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 = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / P / P r e t t y T a b l e / ${ name } . t a r . b z 2 " ;
sha1 = " a d 3 4 6 a 1 8 d 9 2 c 1 d 9 5 f 2 2 9 5 3 9 7 c 7 a 8 a 4 f 4 8 9 e 4 8 8 5 1 " ;
2011-06-09 16:02:39 +01:00
} ;
meta = {
description = " S i m p l e P y t h o n l i b r a r y f o r e a s i l y d i s p l a y i n g t a b u l a r d a t a i n a v i s u a l l y a p p e a l i n g A S C I I t a b l e f o r m a t " ;
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 } / p y t h o n " ;
meta = {
description = " P r o t o c o l B u f f e r s a r e G o o g l e ' s d a t a i n t e r c h a n g e f o r m a t . " ;
homepage = http://code.google.com/p/protobuf/ ;
} ;
} ;
2013-01-17 16:43:56 +00:00
psutil = buildPythonPackage rec {
2013-09-20 17:01:02 +01:00
name = " p s u t i l - 1 . 0 . 1 " ;
2013-01-17 16:43:56 +00:00
src = fetchurl {
url = " h t t p : / / p s u t i l . g o o g l e c o d e . c o m / f i l e s / ${ name } . t a r . g z " ;
2013-09-20 17:01:02 +01:00
sha256 = " 1 z r z h 7 h i 0 f 7 9 s f 9 a x w r w 3 c 2 k l 8 6 q s 7 2 k v x 8 x b b r d w l p 3 9 r f a 1 i 1 f " ;
2013-01-17 16:43:56 +00:00
} ;
2013-09-20 17:01:02 +01:00
# failed tests: https://code.google.com/p/psutil/issues/detail?id=434
doCheck = false ;
2013-01-17 16:43:56 +00:00
meta = {
description = " P r o c e s s a n d s y s t e m u t i l i z a t i o n i n f o r m a t i o n i n t e r f a c e f o r p y t h o n " ;
homepage = http://code.google.com/p/psutil/ ;
} ;
} ;
2013-10-11 09:44:18 +01:00
psycopg2 = buildPythonPackage rec {
name = " p s y c o p g 2 - 2 . 5 . 1 " ;
# error: invalid command 'test'
doCheck = false ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p s y c o p g 2 / p s y c o p g 2 - 2 . 5 . 1 . t a r . g z " ;
sha256 = " 1 v 7 g l z z z y k b a q j 7 d h p r 0 q d s 9 c f 4 m a x m n 7 f 5 a a z p q n b g 0 l y 4 0 r 9 v 5 " ;
} ;
propagatedBuildInputs = [ pkgs . postgresql ] ;
meta = {
description = " P o s t g r e S Q L d a t a b a s e a d a p t e r f o r t h e P y t h o n p r o g r a m m i n g l a n g u a g e " ;
license = " G P L v 2 / Z P L " ;
} ;
} ;
2012-10-13 08:54:37 +01:00
publicsuffix = buildPythonPackage rec {
name = " p u b l i c s u f f i x - ${ version } " ;
version = " 1 . 0 . 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p u b l i c s u f f i x / ${ name } . t a r . g z " ;
md5 = " f 8 6 b a b f 5 6 f 6 e 5 8 b 5 6 4 d 3 8 5 3 a d e b c f 3 7 a " ;
} ;
meta = {
description = " A l l o w s t o g e t t h e p u b l i c s u f f i x o f a d o m a i n n a m e " ;
homepage = " h t t p : / / p y p i . p y t h o n . o r g / p y p i / p u b l i c s u f f i x / " ;
license = pkgs . lib . licenses . mit ;
} ;
} ;
2013-04-13 07:42:23 +01:00
py = buildPythonPackage rec {
name = " p y - 1 . 4 . 1 3 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y / p y - 1 . 4 . 1 3 . t a r . g z " ;
md5 = " 3 8 5 7 d c 8 3 0 9 d 5 f 2 8 4 6 6 9 b 8 1 1 8 4 2 5 3 c 2 b b " ;
} ;
} ;
2010-06-20 16:52:23 +01:00
pyasn1 = buildPythonPackage ( {
2013-06-04 16:12:07 +01:00
name = " p y a s n 1 - 0 . 1 . 7 " ;
2010-06-20 16:52:23 +01:00
src = fetchurl {
2013-06-04 16:12:07 +01:00
url = " m i r r o r : / / s o u r c e f o r g e / p y a s n 1 / 0 . 1 . 7 / p y a s n 1 - 0 . 1 . 7 . t a r . g z " ;
sha256 = " 1 a q y 2 1 f b 5 6 4 g m n k w 2 f b k n 5 5 c 4 0 d i y x 3 z 0 i x h 4 s a v v x i k q m 9 i v y 7 4 " ;
2010-06-20 16:52:23 +01:00
} ;
meta = {
description = " A S N . 1 t o o l s f o r P y t h o n " ;
homepage = http://pyasn1.sourceforge.net/ ;
license = " m B S D " ;
platforms = stdenv . lib . platforms . gnu ; # arbitrary choice
} ;
} ) ;
2012-10-07 06:15:03 +01:00
pyaudio = pkgs . stdenv . mkDerivation rec {
name = " p y t h o n - p y a u d i o - ${ version } " ;
version = " 0 . 2 . 4 " ;
src = fetchurl {
url = " h t t p : / / p e o p l e . c s a i l . m i t . e d u / h u b e r t / p y a u d i o / p a c k a g e s / p y a u d i o - ${ version } . t a r . g z " ;
md5 = " 6 2 3 8 0 9 7 7 8 f 3 d 7 0 2 5 4 a 2 5 4 9 2 b a e 6 3 b 5 7 5 " ;
} ;
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
'' e l s e ''
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 } / b i n / ${ python . executable } s e t u p . p y i n s t a l l - - p r e f i x = $ o u t " ;
2013-07-06 09:00:45 +01:00
2012-10-07 06:15:03 +01:00
meta = {
description = " P y t h o n b i n d i n g s f o r P o r t A u d i o " ;
homepage = " h t t p : / / p e o p l e . c s a i l . m i t . e d u / h u b e r t / p y a u d i o / " ;
license = stdenv . lib . licenses . mit ;
} ;
} ;
2013-05-10 21:12:37 +01:00
pygit2 = buildPythonPackage rec {
name = " p y g i t 2 - 0 . 1 8 . 1 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y g i t 2 / ${ name } . t a r . g z " ;
md5 = " 8 d 2 7 f 8 4 5 0 9 a 9 6 d 6 7 9 1 a 6 c 3 9 3 a e 6 7 d 7 c 8 " ;
} ;
2013-05-27 04:43:53 +01:00
preConfigure = ( if stdenv . isDarwin then ''
export DYLD_LIBRARY_PATH = " ${ pkgs . libgit2 } / l i b "
'' e l s e " " ) ;
2013-05-10 21:12:37 +01:00
propagatedBuildInputs = [ pkgs . libgit2 ] ;
meta = {
homepage = https://pypi.python.org/pypi/pygit2 ;
description = " P y g i t 2 i s a s e t o f P y t h o n b i n d i n g s t o t h e l i b g i t 2 s h a r e d l i b r a r y . " ;
license = with stdenv . lib . licenses ; gpl2 ;
platforms = with stdenv . lib . platforms ; all ;
} ;
} ;
2012-04-30 15:34:57 +01:00
Babel = buildPythonPackage ( rec {
name = " B a b e l - 0 . 9 . 6 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / B / B a b e l / ${ name } . t a r . g z " ;
sha256 = " 4 a 3 a 0 8 5 e c f 1 f c d 2 7 3 6 5 7 3 5 3 8 f f a 1 1 4 f 1 f 4 3 3 1 b 3 b b b d d 6 9 3 8 1 e 6 e 1 7 2 c 4 9 c 9 7 5 0 f " ;
} ;
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 c o l l e c t i o n o f t o o l s f o r i n t e r n a t i o n a l i z i n g P y t h o n a p p l i c a t i o n s . " ;
license = " B S D " ;
maintainers = [ stdenv . lib . maintainers . garbas ] ;
platforms = stdenv . lib . platforms . linux ;
} ;
} ) ;
2013-06-24 08:16:04 +01:00
pyblock = stdenv . mkDerivation rec {
2013-09-17 06:00:44 +01:00
name = " p y b l o c k - ${ version } " ;
version = " 0 . 5 3 " ;
2013-06-24 08:16:04 +01:00
2013-09-17 06:00:44 +01:00
src = fetchurl rec {
url = " h t t p : / / p k g s . f e d o r a p r o j e c t . o r g / r e p o / p k g s / p y t h o n - p y b l o c k / "
+ " ${ name } . t a r . b z 2 / ${ md5 } / ${ name } . t a r . b z 2 " ;
md5 = " f 6 d 3 3 a 8 3 6 2 d e e 3 5 8 5 1 7 d 0 a 9 e 2 e b d d 0 4 4 " ;
2013-06-24 08:16:04 +01:00
} ;
postPatch = ''
sed - i - e ' s | /usr/include/python | $ { python } /include/python | ' \
- e ' s/-Werror * // ' - e ' s | /usr / | ' " $ o u t " ' / | ' Makefile
'' ;
buildInputs = [ python pkgs . lvm2 pkgs . dmraid ] ;
makeFlags = [
" U S E S E L I N U X = 0 "
" S I T E L I B = $ ( o u t ) / l i b / ${ python . libPrefix } / s i t e - p a c k a g e s "
] ;
meta = {
description = " I n t e r f a c e f o r w o r k i n g w i t h b l o c k d e v i c e s " ;
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 = " p y c r y p t o p p - 0 . 5 . 2 9 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y c r y p t o p p / ${ name } . t a r . g z " ;
2011-09-13 21:10:33 +01:00
sha256 = " d 5 0 4 7 7 5 b 7 3 d 3 0 f b 0 5 a 3 2 3 7 f 8 3 c 4 e 9 e 1 f f 3 3 1 2 c b b a 9 0 a 4 a 2 3 e 6 c b b 7 d 3 2 2 1 9 5 0 2 b " ;
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 = " e x p o r t P Y C R Y P T O P P _ D I S A B L E _ E M B E D D E D _ C R Y P T O P P = 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 = " P y t h o n w r a p p e r s f o r t h e C r y p t o + + l i b r a r y " ;
license = " G P L v 2 + " ;
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 = " p y c u r l - 7 . 1 9 . 0 " ;
src = fetchurl {
2012-05-17 14:33:08 +01:00
url = " h t t p : / / p y c u r l . s o u r c e f o r g e . n e t / d o w n l o a d / ${ name } . t a r . g z " ;
2011-03-26 18:23:25 +00:00
sha256 = " 0 h h 6 i c d b p 7 s v c q 0 p 5 7 z f 5 2 0 i f z h n 7 j w 6 4 x 0 7 k 9 9 j 7 h 5 7 q p y 2 s y 7 b " ;
} ;
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 = " P y t h o n w r a p p e r f o r l i b c u r l " ;
platforms = stdenv . lib . platforms . linux ;
} ;
} ) ;
2013-08-10 14:06:01 +01:00
pycurl2 = buildPythonPackage ( rec {
name = " p y c u r l 2 - 7 . 2 0 . 0 " ;
src = fetchgit {
url = " h t t p s : / / g i t h u b . c o m / L i s p y t h o n / p y c u r l . g i t " ;
rev = " 0 f 0 0 1 0 9 9 5 0 b 8 8 3 d 6 8 0 b d 8 5 d c 6 e 8 a 9 c 7 3 1 a 7 d 0 d 1 3 " ;
sha256 = " 0 m h g 7 f 9 y 5 z l 0 m 2 x g z 3 r f 1 y q j d 6 l 8 n 0 q h f k 7 b p f 3 6 r 4 4 j f n h j 7 5 l d " ;
} ;
2013-09-24 20:41:12 +01:00
# error: (6, "Couldn't resolve host 'h.wrttn.me'")
doCheck = false ;
2013-08-10 14:06:01 +01:00
buildInputs = [ pkgs . curl simplejson unittest2 nose ] ;
meta = {
homepage = https://pypi.python.org/pypi/pycurl2 ;
description = " A f o r k f r o m o r i g i n a l P y c U R L l i b r a r y t h a t n o m a i n t a i n e d f r o m 7 . 1 9 . 0 " ;
platforms = stdenv . lib . platforms . linux ;
} ;
} ) ;
2011-09-19 22:00:37 +01:00
pydot = buildPythonPackage rec {
name = " p y d o t - 1 . 0 . 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y d o t / ${ name } . t a r . g z " ;
md5 = " c d 7 3 9 6 5 1 a e 5 e 1 0 6 3 a 8 9 f 7 e f d 5 a 9 e c 7 2 b " ;
} ;
propagatedBuildInputs = [ pyparsing pkgs . graphviz ] ;
meta = {
homepage = http://code.google.com/p/pydot/ ;
description = " p y d o t a l l o w s t o e a s i l y c r e a t e b o t h d i r e c t e d a n d n o n d i r e c t e d g r a p h s f r o m P y t h o n . " ;
} ;
} ;
2012-09-13 11:28:05 +01:00
pyfeed = buildPythonPackage rec {
url = " h t t p : / / w w w . b l a r g . n e t / % 7 E s t e v e h a / p y f e e d - 0 . 7 . 4 . t a r . g z " ;
name = stdenv . lib . nameFromURL url " . t a r " ;
src = fetchurl {
inherit url ;
sha256 = " 1 h 4 m s q 5 7 3 m 7 w m 4 6 h 3 c q l x 4 r s n 9 9 f 0 l 1 1 r h d q g f 5 0 l v 1 7 j 8 a 8 v v y 1 " ;
} ;
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 = " h t t p : / / h o m e . b l a r g . n e t / ~ s t e v e h a / p y f e e d . h t m l " ;
description = " T o o l s f o r s y n d i c a t i o n f e e d s " ;
} ;
} ;
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 = " p y f l a k e s - 0 . 7 . 3 " ;
2013-03-17 14:23:56 +00:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y f l a k e s / ${ name } . t a r . g z " ;
2013-07-18 07:21:41 +01:00
md5 = " e c 9 4 a c 1 1 c b 1 1 0 e 6 e 7 2 c c a 2 3 c 1 0 4 b 6 6 b 1 " ;
2013-03-17 14:23:56 +00:00
} ;
buildInputs = [ unittest2 ] ;
meta = {
homepage = " h t t p s : / / l a u n c h p a d . n e t / p y f l a k e s " ;
description = " A s i m p l e p r o g r a m w h i c h c h e c k s P y t h o n s o u r c e f i l e s f o r e r r o r s . " ;
license = pkgs . lib . licenses . mit ;
maintainers = [ stdenv . lib . maintainers . garbas ] ;
} ;
} ;
2013-02-20 05:12:52 +00:00
pyglet = buildPythonPackage rec {
name = " p y g l e t - 1 . 1 . 4 " ;
src = fetchurl {
url = " h t t p : / / p y g l e t . g o o g l e c o d e . c o m / f i l e s / ${ name } . t a r . g z " ;
sha256 = " 0 4 8 n 2 0 d 6 0 6 i 3 n j n z h a j a d n z n n f m 8 p w c h s 4 3 h x s 5 0 d a 9 p 7 9 g 2 m 6 q x " ;
} ;
patchPhase = let
libs = [ pkgs . mesa pkgs . xlibs . libX11 pkgs . freetype pkgs . fontconfig ] ;
paths = pkgs . lib . concatStringsSep " , " ( map ( l : " \" ${ l } / l i b \" " ) libs ) ;
in " s e d - i - e ' s | d i r e c t o r i e s \. e x t e n d . * l i b [ ^ ] ] * | & , ${ paths } | ' p y g l e t / l i b . p y " ;
doCheck = false ;
meta = {
homepage = " h t t p : / / w w w . p y g l e t . o r g / " ;
description = " A c r o s s - p l a t f o r m w i n d o w i n g a n d m u l t i m e d i a l i b r a r y " ;
license = stdenv . lib . licenses . bsd3 ;
2013-10-07 16:36:47 +01:00
platforms = stdenv . lib . platforms . mesaPlatforms ;
2013-02-20 05:12:52 +00:00
} ;
} ;
2011-09-19 22:00:37 +01:00
pygments = buildPythonPackage rec {
2012-05-30 22:12:40 +01:00
name = " P y g m e n t s - 1 . 5 " ;
2011-09-19 22:00:37 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / P / P y g m e n t s / ${ name } . t a r . g z " ;
2012-05-30 22:12:40 +01:00
md5 = " e f 9 9 7 0 6 6 c c 9 e e 7 a 4 7 d 0 1 f b 4 f 3 d a 0 b 5 f f " ;
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 g e n e r i c s y n t a x h i g h l i g h t e r " ;
2011-09-19 22:00:37 +01:00
} ;
} ;
2012-07-10 18:45:59 +01:00
pygpgme = buildPythonPackage rec {
version = " 0 . 3 " ;
name = " p y g p g m e - ${ version } " ;
src = fetchurl {
url = " h t t p s : / / l a u n c h p a d . n e t / p y g p g m e / t r u n k / ${ version } / + d o w n l o a d / ${ name } . t a r . g z " ;
sha256 = " 5 f d 8 8 7 c 4 0 7 0 1 5 2 9 6 a 8 f d 3 f 4 b 8 6 7 f e 0 f c c a 3 1 7 9 d e 9 7 c c d e 9 0 4 4 9 8 5 3 a 3 d f b 8 0 2 e 1 " ;
} ;
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 = " h t t p s : / / l a u n c h p a d . n e t / p y g p g m e " ;
description = " A P y t h o n w r a p p e r f o r t h e G P G M E l i b r a r y . " ;
license = pkgs . lib . licenses . lgpl21 ;
maintainers = [ stdenv . lib . maintainers . garbas ] ;
} ;
} ;
2012-09-02 12:13:18 +01:00
pyinotify = pkgs . stdenv . mkDerivation rec {
name = " p y t h o n - p y i n o t i f y - ${ version } " ;
version = " 0 . 9 . 3 " ;
src = fetchgit {
url = " g i t : / / g i t h u b . c o m / s e b - m / p y i n o t i f y . g i t " ;
rev = " r e f s / t a g s / ${ version } " ;
sha256 = " d 3 8 c e 9 5 e 4 a f 0 0 3 9 1 e 5 8 2 4 6 a 8 d 7 f e 4 2 b d b 5 1 d 6 3 0 5 4 b 0 9 8 0 9 6 0 0 b 2 f a e f 2 a 8 0 3 4 7 2 " ;
} ;
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 = " M o n i t o r f i l e s y s t e m s e v e n t s o n L i n u x p l a t f o r m s w i t h i n o t i f y " ;
license = pkgs . lib . licenses . mit ;
} ;
} ;
2013-06-24 07:35:03 +01:00
pykickstart = buildPythonPackage rec {
name = " p y k i c k s t a r t - ${ version } " ;
2013-09-17 06:02:46 +01:00
version = " 1 . 9 9 . 3 9 " ;
2013-06-24 07:35:03 +01:00
2013-09-17 06:02:46 +01:00
src = fetchurl rec {
url = " h t t p : / / p k g s . f e d o r a p r o j e c t . o r g / r e p o / p k g s / p y k i c k s t a r t / "
+ " ${ name } . t a r . g z / ${ md5 } / ${ name } . t a r . g z " ;
md5 = " d 2 4 9 f 6 0 a a 8 9 b 1 b 4 f a c d 6 3 f 7 7 6 9 2 5 1 1 6 d " ;
2013-06-24 07:35:03 +01:00
} ;
2013-06-24 13:06:30 +01:00
postPatch = ''
sed - i - e " s / f o r t s t i n t s t L i s t / f o r t s t i n s o r t e d ( t s t L i s t , \
key = lambda m : m . __name__ ) / " t e s t s / b a s e c l a s s . p y
'' ;
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 = " h t t p : / / f e d o r a p r o j e c t . o r g / w i k i / P y k i c k s t a r t " ;
description = " R e a d a n d w r i t e F e d o r a k i c k s t a r t f i l e s " ;
license = pkgs . lib . licenses . gpl2Plus ;
} ;
} ;
2013-07-07 18:12:46 +01:00
pyodbc = buildPythonPackage rec {
name = " p y o d b c - 3 . 0 . 6 " ;
src = fetchurl {
url = " h t t p s : / / p y o d b c . g o o g l e c o d e . c o m / f i l e s / ${ name } . z i p " ;
sha256 = " 0 v 9 n y m l l w 5 z q 5 2 9 4 r q p 8 i p 3 l 0 g 6 l 3 l 3 m l j w h x n 5 j a j y z x l n z 3 9 z 5 " ;
} ;
buildInputs = [ pkgs . unzip pkgs . libiodbc ] ;
meta = with stdenv . lib ; {
description = " P y t h o n O D B C m o d u l e t o c o n n e c t t o a l m o s t a n y d a t a b a s e " ;
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 = " p y p a r s i n g - 1 . 5 . 6 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y p a r s i n g / ${ name } . t a r . g z " ;
md5 = " 1 e 4 1 c b 2 1 9 d a e 9 f c 3 5 3 b d 4 c d 4 7 6 3 6 b 2 8 3 " ;
} ;
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 = " T h e p y p a r s i n g m o d u l e i s a n a l t e r n a t i v e a p p r o a c h t o c r e a t i n g a n d e x e c u t i n g s i m p l e g r a m m a r s , v s . t h e t r a d i t i o n a l l e x / y a c c a p p r o a c h , o r t h e u s e o f r e g u l a r e x p r e s s i o n s . " ;
} ;
} ;
2013-06-24 07:33:09 +01:00
pyparted = buildPythonPackage rec {
name = " p y p a r t e d - ${ version } " ;
version = " 3 . 1 0 " ;
src = fetchurl {
url = " h t t p s : / / f e d o r a h o s t e d . o r g / r e l e a s e s / p / y / p y p a r t e d / ${ name } . t a r . g z " ;
sha256 = " 1 7 w q 4 i n v m v 1 n f a z a k s f 5 9 y m q y v g v 3 i 8 h 4 q 0 3 r y 2 a z 0 s 9 l l d y g 3 d v " ;
} ;
postPatch = ''
sed - i - e ' s | /sbin/mke2fs | $ { pkgs . e2fsprogs } & | ' tests/baseclass.py
sed - i - e '
s | e \ . path \ . startswith ( " / t m p / t e m p - d e v i c e - " ) | " t e m p - d e v i c e - " in e . path |
' tests/test__ped_ped.py
2013-06-24 11:36:44 +01:00
'' + p k g s . l i b . o p t i o n a l S t r i n g s t d e n v . i s i 6 8 6 ''
# 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 } / s b i n : $ P A T H "
'' ;
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 = " h t t p s : / / f e d o r a h o s t e d . o r g / p y p a r t e d / " ;
description = " P y t h o n i n t e r f a c e f o r l i b p a r t e d " ;
2013-10-07 16:36:47 +01:00
license = stdenv . lib . licenses . gpl2Plus ;
platforms = stdenv . lib . platforms . linux ;
2013-06-24 07:33:09 +01:00
} ;
} ;
2013-06-04 10:35:59 +01:00
pyptlib = buildPythonPackage ( rec {
name = " p y p t l i b - ${ version } " ;
version = " 0 . 0 . 3 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y p t l i b / p y p t l i b - ${ version } . t a r . g z " ;
sha256 = " 0 m k l a k 4 5 6 j q i f x 5 7 j 9 j m p b 6 9 h 3 y b x c 8 8 0 q k 8 6 p g 4 g 8 j k 0 i 1 4 p x h 3 " ;
} ;
meta = {
description = " A p y t h o n i m p l e m e n t a t i o n o f t h e P l u g g a b l e T r a n s p o r t s f o r C i r c u m v e n t i o n s p e c i f i c a t i o n f o r T o r " ;
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 = " P y R S S 2 G e n - 1 . 0 . 0 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / P / P y R S S 2 G e n / ${ name } . t a r . g z " ;
md5 = " e a e 2 b c 6 4 1 2 c 5 6 7 9 c 2 8 7 e c c 1 a 5 9 5 8 8 f 7 5 " ;
} ;
meta = {
homepage = http://www.dalkescientific.om/Python/PyRSS2Gen.html ;
description = " L i b r a r y f o r g e n e r a t i n g R S S 2 . 0 f e e d s " ;
license = stdenv . lib . licenses . bsd2 ;
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ) ;
2013-06-24 07:40:12 +01:00
pyudev = buildPythonPackage rec {
name = " p y u d e v - ${ version } " ;
version = " 0 . 1 6 . 1 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y u d e v / ${ name } . t a r . g z " ;
md5 = " 4 0 3 4 d e 5 8 4 b 6 d 9 e f c b f c 5 9 0 a 0 4 7 c 6 3 2 8 5 " ;
} ;
postPatch = ''
sed - i - e ' /udev_library_name / , / ^ * libudev / {
s | CDLL ( [ ^ , ] * | CDLL ( " ${ pkgs . udev } / l i b / l i b u d e v . s o . 1 " | p ; d
} ' pyudev/_libudev.py
'' ;
propagatedBuildInputs = [ pkgs . udev ] ;
meta = {
homepage = " h t t p : / / p y u d e v . r e a d t h e d o c s . o r g / " ;
description = " P u r e P y t h o n l i b u d e v b i n d i n g " ;
license = stdenv . lib . licenses . lgpl21Plus ;
2013-10-07 16:36:47 +01:00
platforms = stdenv . lib . platforms . linux ;
2013-06-24 07:40:12 +01:00
} ;
} ;
2013-02-18 15:12:43 +00:00
pynzb = buildPythonPackage ( rec {
2013-02-18 10:33:24 +00:00
name = " p y n z b - 0 . 1 . 0 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y n z b / ${ name } . t a r . g z " ;
md5 = " 6 3 c 7 4 a 3 6 3 4 8 a c 2 8 a a 9 9 7 3 2 d c b 8 b e 8 c 5 9 " ;
} ;
meta = {
homepage = http://github.com/ericflo/pynzb ;
description = " U n i f i e d A P I f o r p a r s i n g N Z B f i l e s " ;
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 = " p r o g r e s s b a r - 2 . 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p r o g r e s s b a r / ${ name } . t a r . g z " ;
md5 = " 8 e a 4 e 2 c 1 7 a 8 e c 9 e 7 d 1 5 3 7 6 7 c 5 f 2 a 7 b 2 8 " ;
} ;
# invalid command 'test'
doCheck = false ;
meta = {
homepage = http://code.google.com/p/python-progressbar/ ;
description = " T e x t p r o g r e s s b a r l i b r a r y f o r p y t h o n " ;
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 = " l d a p - 2 . 4 . 1 0 " ;
2011-10-19 11:27:57 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y t h o n - l d a p / ${ name } . t a r . g z " ;
2013-03-03 12:20:58 +00:00
sha256 = " 0 m 6 f m 2 a l c b 5 v 9 x d c j v 2 n w 2 l h z 9 n n d 3 m n r 5 l r m f 3 9 7 h i 4 p w 0 p i k 3 7 " ;
2011-10-19 11:27:57 +01:00
} ;
NIX_CFLAGS_COMPILE = " - I ${ pkgs . cyrus_sasl } / i n c l u d e / s a s l " ;
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 = " p y l i b a c l - 0 . 5 . 1 " ;
src = fetchurl {
url = " h t t p s : / / g i t h u b . c o m / d o w n l o a d s / i u s t i n / p y l i b a c l / ${ name } . t a r . g z " ;
sha256 = " 1 i d k s 7 j 9 b n 6 2 x z s a x k v h l 7 b d q 6 w s 8 k v 8 a a 0 w a h f h 7 7 2 4 q l b b c f 1 k " ;
} ;
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 P y t h o n e x t e n s i o n m o d u l e f o r P O S I X A C L s . I t c a n b e u s e d t o q u e r y , l i s t , a d d , a n d r e m o v e A C L s f r o m f i l e s a n d d i r e c t o r i e s u n d e r o p e r a t i n g s y s t e m s t h a t s u p p o r t t h e m . " ;
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 = " v 0 . 2 5 " ;
2011-02-12 13:38:23 +00:00
name = " P y m a c s - ${ version } " ;
src = fetchurl {
url = " h t t p s : / / g i t h u b . c o m / p i n a r d / P y m a c s / t a r b a l l / ${ version } " ;
name = " ${ name } . t a r . g z " ;
2013-01-03 22:03:02 +00:00
sha256 = " 1 h m y 7 6 c 5 i g m 9 5 r q b l d 7 g v k 0 a z 2 4 s m v c 8 h p l f w x 2 f 5 r h n 6 f r j 3 p 2 i " ;
2011-02-12 13:38:23 +00:00
} ;
buildInputs = [ python ] ;
2013-01-03 22:03:02 +00:00
patchPhase = ''
sed - e " s @ i n s t a l l @ i n s t a l l - - p r e f i x = $ o u t @ g " - i Makefile
2011-02-12 13:38:23 +00:00
'' ;
meta = with stdenv . lib ; {
description = " E m a c s L i s p t o P y t h o n i n t e r f a c e " ;
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 . 0 b 5 " ;
in
buildPythonPackage {
name = " p y o p e n g l - ${ version } " ;
src = fetchurl {
url = " m i r r o r : / / s o u r c e f o r g e / p y o p e n g l / P y O p e n G L - ${ version } . t a r . g z " ;
sha256 = " 1 r j p l 2 q d c q n 4 w a m k i k 8 4 0 m y w d y c d 3 9 q 8 d n 3 w q f a i v 3 5 j d s b i f x x 3 " ;
} ;
propagatedBuildInputs = with pkgs ; [ mesa freeglut pil ] ;
meta = {
homepage = http://pyopengl.sourceforge.net/ ;
description = " P y O p e n G L , t h e P y t h o n O p e n G L b i n d i n g s " ;
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 = " B S D - s t y l e " ;
2013-10-07 16:36:47 +01:00
platforms = stdenv . lib . platforms . mesaPlatforms ;
2010-04-21 11:51:15 +01:00
} ;
} ;
2012-09-13 13:54:10 +01:00
2013-01-15 18:04:41 +00:00
pyquery = buildPythonPackage rec {
name = " p y q u e r y - 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 = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y q u e r y / ${ name } . t a r . g z " ;
2013-01-15 18:04:41 +00:00
md5 = " 2 6 8 f 0 8 2 5 8 7 3 8 d 2 1 b c 1 9 2 0 d 7 5 2 2 f 2 a 6 3 b " ;
} ;
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 = " p y r e p o r t - 0 . 3 . 4 c " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y r e p o r t / ${ name } . t a r . g z " ;
md5 = " 3 0 7 6 1 6 4 a 7 0 7 9 8 9 1 d 1 4 9 a 2 3 f 9 4 3 5 5 8 1 d b " ;
} ;
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 = " B S D " ;
description = " P y r e p o r t m a k e s n o t e s o u t o f a p y t h o n s c r i p t . " ;
} ;
} ) ;
2013-02-20 05:11:40 +00:00
pyserial = buildPythonPackage rec {
name = " p y s e r i a l - 2 . 6 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y s e r i a l / ${ name } . t a r . g z " ;
md5 = " c d e 7 9 9 9 7 0 b 7 c 1 c e 1 f 7 d 6 e 9 c e e b e 6 4 c 9 8 " ;
} ;
doCheck = false ;
meta = {
homepage = " h t t p : / / p y s e r i a l . s o u r c e f o r g e . n e t / " ;
license = stdenv . lib . licenses . psfl ;
description = " P y t h o n s e r i a l p o r t e x t e n s i o n " ;
} ;
} ;
2010-04-21 11:51:15 +01:00
pysqlite = buildPythonPackage ( rec {
name = " p y s q l i t e - 2 . 5 . 5 " ;
src = fetchurl {
url = " h t t p : / / p y s q l i t e . g o o g l e c o d e . c o m / f i l e s / ${ name } . t a r . g z " ;
sha256 = " e f 7 c a 7 f 4 4 8 9 3 7 9 0 e 1 a 7 0 8 4 b 1 0 e a 0 8 3 7 7 0 e 1 3 8 6 8 9 4 0 6 f d d c 7 0 7 6 d 1 2 d 6 b f f 4 d 4 4 f " ;
} ;
# 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 " s e t u p . c f g " \
- - replace " / u s r / l o c a l / i n c l u d e " " ${ pkgs . sqlite } / i n c l u d e " \
- - replace " / u s r / l o c a l / l i b " " ${ pkgs . sqlite } / l i b "
'' ;
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 = " P y t h o n b i n d i n g s f o r t h e S Q L i t e e m b e d d e d r e l a t i o n a l d a t a b a s e e n g i n e " ;
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 = " r e v i s e d B S D " ;
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 = " p y s v n - 1 . 7 . 6 " ;
2011-03-30 11:02:23 +01:00
src = fetchurl {
2012-04-04 17:16:07 +01:00
url = " h t t p : / / p y s v n . b a r r y s - e m a c s . o r g / s o u r c e _ k i t s / p y s v n - 1 . 7 . 6 . t a r . g z " ;
sha256 = " 0 w w b 9 h 3 r w 2 r 8 h z q y a 8 m v 5 z 8 p g j p a 6 y 3 i 1 5 a 3 c c c d v 2 m i l 4 4 2 8 9 a 7 " ;
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 } / i n c l u d e / a p r - 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 }
'' + ( i f ! s t d e n v . i s D a r w i n t h e n " " e l s e ''
sed - i - e ' s | libpython2 .7 . dylib | lib/libpython2.7.dylib | ' Makefile
'' ) ;
checkPhase = " m a k e - C . . / T e s t s " ;
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 = " P y t h o n b i n d i n g s f o r S u b v e r s i o n " ;
homepage = " h t t p : / / p y s v n . t i g r i s . o r g / " ;
} ;
} ;
2011-07-20 16:30:40 +01:00
2012-05-30 22:12:40 +01:00
pytz = buildPythonPackage rec {
name = " p y t z - 2 0 1 2 c " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y t z / ${ name } . t a r . b z 2 " ;
md5 = " 6 6 0 e 0 c e e 7 f 6 c 4 1 9 c a 2 6 6 5 d b 4 6 0 f 6 5 1 3 1 " ;
} ;
meta = {
description = " W o r l d t i m e z o n e d e f i n i t i o n s , m o d e r n a n d h i s t o r i c a l " ;
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 = " p y u t i l - 1 . 7 . 9 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y u t i l / ${ name } . t a r . g z " ;
2010-07-28 00:51:36 +01:00
sha256 = " c 3 0 3 b b 7 7 9 f 9 6 0 7 3 8 2 0 e 2 e b 7 c 9 6 9 2 f e 1 5 a 5 7 d f 4 9 1 e b 3 5 6 8 3 9 f 3 c b 3 3 7 7 e d 0 3 b 8 4 4 " ;
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 = " P y u t i l , a c o l l e c t i o n o f m a t u r e u t i l i t i e s f o r P y t h o n p r o g r a m m e r s " ;
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 = " G P L v 2 + " ;
} ;
} ) ;
2012-08-05 12:50:24 +01:00
pyxattr = buildPythonPackage ( rec {
name = " p y x a t t r - 0 . 5 . 1 " ;
src = fetchurl {
url = " h t t p s : / / g i t h u b . c o m / d o w n l o a d s / i u s t i n / p y x a t t r / ${ name } . t a r . g z " ;
sha256 = " 0 j m k f f i k 6 h d z s 7 n g 8 c 6 5 b g g s s 2 a i 4 0 n m 5 9 j y k s w d f 5 l p d 3 6 c x d d q " ;
} ;
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 P y t h o n e x t e n s i o n m o d u l e w h i c h g i v e s a c c e s s t o t h e e x t e n d e d a t t r i b u t e s f o r f i l e s y s t e m o b j e c t s a v a i l a b l e i n s o m e o p e r a t i n g s y s t e m s . " ;
license = stdenv . lib . licenses . lgpl21Plus ;
} ;
} ) ;
2010-04-21 11:51:15 +01:00
pyyaml = buildPythonPackage ( rec {
name = " P y Y A M L - 3 . 0 9 " ;
src = fetchurl {
url = " h t t p : / / p y y a m l . o r g / d o w n l o a d / p y y a m l / P y Y A M L - 3 . 0 9 . z i p " ;
sha256 = " 2 0 4 a c a 8 b 4 2 d b e 9 0 e 4 6 0 7 9 4 d 7 4 3 d d 1 6 1 8 2 0 1 1 d a 8 5 5 0 7 b f d 4 f 0 9 2 f 9 f 7 6 e 0 6 8 8 0 4 0 " ;
} ;
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 = " T h e n e x t g e n e r a t i o n Y A M L p a r s e r a n d e m i t t e r f o r P y t h o n " ;
homepage = http://pyyaml.org ;
license = " f r e e " ; # !?
} ;
} ) ;
2012-09-13 13:54:10 +01:00
2012-05-30 22:12:40 +01:00
recaptcha_client = buildPythonPackage rec {
name = " r e c a p t c h a - c l i e n t - 1 . 0 . 6 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / r / r e c a p t c h a - c l i e n t / ${ name } . t a r . g z " ;
md5 = " 7 4 2 2 8 1 8 0 f 7 e 1 f b 7 6 c 4 d 7 0 8 9 1 6 0 b 0 d 9 1 9 " ;
} ;
meta = {
description = " A C A P T C H A f o r P y t h o n u s i n g t h e r e C A P T C H A s e r v i c e " ;
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 = " - - e n a b l e - s t a t i c - - e n a b l e - s h a r e d " ; } ) ;
in buildPythonPackage rec {
name = " r e p o r t l a b - 2 . 5 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / r / r e p o r t l a b / ${ name } . t a r . g z " ;
md5 = " c d f 8 b 8 7 a 6 c f 1 5 0 1 d e 1 b 0 a 8 d 3 4 1 a 2 1 7 d 3 " ;
} ;
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 = " T h e R e p o r t L a b T o o l k i t . A n O p e n S o u r c e P y t h o n l i b r a r y f o r g e n e r a t i n g P D F s a n d g r a p h i c s . " ;
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 = " r e q u e s t s - 1 . 2 . 0 " ;
2013-01-30 14:42:40 +00:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / r / r e q u e s t s / ${ name } . t a r . g z " ;
2013-04-22 10:16:42 +01:00
md5 = " 2 2 a f 2 6 8 2 2 3 3 7 7 0 e 5 4 6 8 a 9 8 6 f 4 5 1 c 5 1 c 0 " ;
2013-01-30 14:42:40 +00:00
} ;
meta = {
description = " R e q u e s t s i s a n A p a c h e 2 L i c e n s e d H T T P l i b r a r y , w r i t t e n i n P y t h o n , f o r h u m a n b e i n g s . . " ;
homepage = http://docs.python-requests.org/en/latest/ ;
} ;
} ;
2013-07-17 21:19:29 +01:00
requests_oauthlib = buildPythonPackage rec {
name = " r e q u e s t s - o a u t h l i b - 0 . 3 . 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / r / r e q u e s t s - o a u t h l i b / ${ name } . t a r . g z " ;
md5 = " 3 5 b 3 b 7 5 0 4 9 3 c 2 3 1 1 4 5 c 3 9 d b 0 2 1 6 8 1 3 e 7 " ;
} ;
propagatedBuildInputs = [ oauthlib requests ] ;
meta = {
description = " O A u t h l i b a u t h e n t i c a t i o n s u p p o r t f o r R e q u e s t s " ;
homepage = https://github.com/requests/requests-oauthlib ;
} ;
} ;
2013-09-24 22:06:28 +01:00
qutip = buildPythonPackage rec {
name = " q u t i p - 2 . 2 . 0 " ;
src = fetchurl {
url = " h t t p s : / / q u t i p . g o o g l e c o d e . c o m / f i l e s / Q u T i P - 2 . 2 . 0 . t a r . g z " ;
sha1 = " 7 6 b a 4 9 9 1 3 2 2 a 9 9 1 d 5 8 0 e 7 8 a 1 9 7 a d c 8 0 d 5 8 b d 5 f b 3 " ;
} ;
propagatedBuildInputs = [ numpy scipy matplotlib pkgs . pyqt4
pkgs . cython ] ;
buildInputs = with pkgs ; [ gcc qt4 blas ] ++ [ nose ] ;
meta = {
description = " Q u T i P - Q u a n t u m T o o l b o x i n P y t h o n " ;
longDescription = ''
QuTiP is open-source software for simulating the dynamics of
open quantum systems . The QuTiP library depends on the
excellent Numpy and Scipy numerical packages . In addition ,
graphical output is provided by Matplotlib . QuTiP aims to
provide user-friendly and efficient numerical simulations of a
wide variety of Hamiltonians , including those with arbitrary
time-dependence , commonly found in a wide range of physics
applications such as quantum optics , trapped ions ,
superconducting circuits , and quantum nanomechanical
resonators .
'' ;
homepage = http://qutip.org/ ;
} ;
} ;
2013-07-17 21:19:29 +01:00
requests_oauth2 = buildPythonPackage rec {
name = " r e q u e s t s - o a u t h 2 - 0 . 1 . 1 " ;
src = fetchurl {
url = https://github.com/maraujop/requests-oauth2/archive/0.1.1.tar.gz ;
sha256 = " 1 a i j 6 6 q g 9 j 5 j 4 v z y h 6 4 n b g 7 2 y 7 p c a f g j d d x s i 8 6 5 r a c s a y 4 3 x f q g " ;
} ;
propagatedBuildInputs = [ requests_oauthlib ] ;
meta = {
description = " P y t h o n ' s R e q u e s t s O A u t h 2 ( O p e n A u t h e n t i c a t i o n ) p l u g i n " ;
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 = " R e v i e w B o a r d - 1 . 6 . 1 6 " ;
2012-05-30 22:12:40 +01:00
src = fetchurl {
url = " h t t p : / / d o w n l o a d s . r e v i e w b o a r d . o r g / r e l e a s e s / R e v i e w B o a r d / 1 . 6 / ${ name } . t a r . g z " ;
2013-05-22 16:03:20 +01:00
sha256 = " 0 v g 3 y p m 5 7 m 4 3 b s c v 8 v s w j d l l v 3 d 2 j 8 l x q w w v p d 6 5 c l 7 j d 1 i n 0 y r 1 " ;
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
2013-10-11 09:44:18 +01: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 = " r d f l i b - 3 . 0 . 0 " ;
src = fetchurl {
url = " h t t p : / / w w w . r d f l i b . n e t / ${ name } . t a r . g z " ;
sha256 = " 1 c 7 i p k 5 v w q n l n 8 3 r m a i 5 j z y x k j d a j d z b k 5 c g y 1 z 8 3 n y r 5 h b k g k q r " ;
} ;
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 = " R D F L i b i s a P y t h o n l i b r a r y f o r w o r k i n g w i t h R D F , a s i m p l e y e t p o w e r f u l l a n g u a g e f o r r e p r e s e n t i n g i n f o r m a t i o n . " ;
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 = " r o p e - ${ version } " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / r / r o p e / ${ name } . t a r . g z " ;
2013-01-04 00:58:22 +00:00
sha256 = " 1 f m 6 a h f f 5 0 b 1 0 m l n c 0 a r 4 x 1 f v 9 s x m c p 1 g 6 5 1 m y y q y 7 c 5 0 h k 3 9 h 1 d " ;
2011-02-11 23:06:54 +00:00
} ;
meta = with stdenv . lib ; {
description = " p y t h o n r e f a c t o r i n g l i b r a r y " ;
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 = " r o p e m a c s - ${ version } " ;
src = fetchurl {
2013-01-04 00:58:22 +00:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / r / r o p e m a c s / ${ name } . t a r . g z " ;
sha256 = " 1 x 5 q f 1 d r c d z 9 j f i i a k c 6 0 k z q k b 3 a h s g 9 j 9 0 2 c 5 b y f 3 g j f a c d r m q j " ;
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 p l u g i n f o r p e r f o r m i n g p y t h o n r e f a c t o r i n g s i n e m a c s " ;
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 = " r o p e m o d e - ${ version } " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / r / r o p e m o d e / ${ name } . t a r . g z " ;
sha256 = " 0 j w 6 h 1 w v k 6 w k 0 w k n q d f 7 s 9 p w 7 6 m 8 4 7 2 j v 5 4 6 l q d d 8 8 j b l 2 s c g c j l " ;
} ;
propagatedBuildInputs = [ rope ] ;
meta = with stdenv . lib ; {
description = " a p l u g i n f o r p e r f o r m i n g p y t h o n r e f a c t o r i n g s i n e m a c s " ;
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 = " r o u t e s - 1 . 1 2 . 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 = " 9 7 4 0 f f 4 2 4 f f 6 b 8 4 1 6 3 2 c 7 8 4 a 3 8 f b 2 b e 3 " ;
} ;
propagatedBuildInputs = [ paste webtest ] ;
meta = {
description = " A P y t h o n r e - i m p l e m e n t a t i o n o f t h e R a i l s r o u t e s s y s t e m f o r m a p p i n g U R L s t o a p p l i c a t i o n a c t i o n s " ;
homepage = http://routes.groovie.org/ ;
} ;
} ;
2011-07-20 16:30:40 +01:00
2013-09-21 18:19:42 +01:00
seqdiag = buildPythonPackage rec {
name = " s e q d i a g - 0 . 8 . 2 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / s / s e q d i a g / ${ name } . t a r . g z " ;
md5 = " 6 1 b 3 d a 2 9 b 5 e f a a 8 9 7 0 1 b 4 d b 6 d 2 d 4 d 5 f a " ;
} ;
buildInputs = [ pep8 nose unittest2 docutils ] ;
propagatedBuildInputs = [ blockdiag ] ;
# Some tests fail (because of missing input files?):
# ...
# IOError: [Errno 2] No such file or directory: '/tmp/nix-build-python2.7-seqdiag-0.8.2.drv-0/seqdiag-0.8.2/src/seqdiag/tests/diagrams/separators.diag'
doCheck = false ;
meta = with stdenv . lib ; {
description = " G e n e r a t e s e q u e n c e - d i a g r a m i m a g e f r o m s p e c - t e x t f i l e ( s i m i l a r t o G r a p h v i z ) " ;
homepage = http://blockdiag.com/ ;
license = licenses . asl20 ;
platforms = platforms . linux ;
maintainers = [ maintainers . bjornfor ] ;
} ;
} ;
2011-09-09 15:20:43 +01:00
scipy = buildPythonPackage rec {
2013-09-24 21:55:49 +01:00
name = " s c i p y - 0 . 1 2 . 0 " ;
2011-09-09 15:20:43 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / s / s c i p y / ${ name } . t a r . g z " ;
2013-09-24 21:55:49 +01:00
md5 = " 8 f b 4 d a 3 2 4 6 4 9 f 6 5 5 e 8 5 5 7 e a 9 2 b 9 9 8 7 8 6 " ;
2011-09-09 15:20:43 +01:00
} ;
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 = " g n u 9 5 "
$ { python } /bin / $ { python . executable } setup . py install - - prefix = $ out
2011-09-09 15:20:43 +01:00
'' ;
meta = {
description = " S c i P y ( p r o n o u n c e d ' S i g h P i e ' ) i s o p e n - s o u r c e s o f t w a r e f o r m a t h e m a t i c s , s c i e n c e , a n d e n g i n e e r i n g . " ;
homepage = http://www.scipy.org/ ;
} ;
} ;
2011-03-30 13:27:54 +01:00
scripttest = buildPythonPackage rec {
version = " 1 . 1 . 1 " ;
name = " s c r i p t t e s t - ${ version } " ;
2011-07-20 16:30:40 +01:00
2011-03-30 13:27:54 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / S / S c r i p t T e s t / S c r i p t T e s t - ${ version } . t a r . g z " ;
md5 = " 5 9 2 c e 8 9 0 7 6 4 c 3 f 5 4 6 d 3 5 b 4 d 7 c 4 0 c 3 2 e f " ;
} ;
buildInputs = [ nose ] ;
meta = {
description = " A l i b r a r y f o r t e s t i n g i n t e r a c t i v e c o m m a n d - l i n e a p p l i c a t i o n s " ;
homepage = http://pypi.python.org/pypi/ScriptTest/ ;
} ;
} ;
2012-08-06 23:11:13 +01:00
selenium =
buildPythonPackage rec {
2013-09-18 19:42:12 +01:00
name = " s e l e n i u m - 2 . 3 5 . 0 " ;
2012-08-06 23:11:13 +01:00
src = pkgs . fetchurl {
2013-09-18 19:42:12 +01:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / s / s e l e n i u m / ${ name } . t a r . g z " ;
sha256 = " 0 c 8 a p d 5 3 8 j i 8 k m r y v c d i z 0 d n d f 3 3 m n f 8 w z p p 9 k 8 z m k p m f d f c w n k 0 " ;
2012-08-06 23:11:13 +01:00
} ;
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 = " 1 w i f 9 r 6 3 0 7 q h l c p 2 z b g 6 n 0 5 y v x x n 9 p p k x h 8 g p s p l c b y h 2 2 z i 7 b c d " ;
} ;
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 ( " l i b X 1 1 . s o . 6 " , | ' x_ignore_nofocus . c
gcc - c - fPIC x_ignore_nofocus . c - o x_ignore_nofocus . o
2013-09-24 07:59:51 +01:00
gcc - shared \
- Wl , $ { if stdenv . isDarwin then " - i n s t a l l _ n a m e " else " - s o n a m e " } , x_ignore_nofocus . so \
- o x_ignore_nofocus . so \
x_ignore_nofocus . o \
$ { if stdenv . isDarwin then " - l x 1 1 " else " " }
2012-08-06 23:11:13 +01:00
cp - v x_ignore_nofocus . so py/selenium/webdriver/firefox / $ { if pkgs . stdenv . is64bit then " a m d 6 4 " else " x 8 6 " } /
'' ;
} ;
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 = " s e t u p t o o l s - d a r c s - 1 . 2 . 9 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
2010-07-28 00:51:10 +01:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / s / s e t u p t o o l s _ d a r c s / s e t u p t o o l s _ d a r c s - 1 . 2 . 9 . t a r . g z " ;
sha256 = " d 3 7 c e 1 1 0 3 0 a d d b d 7 2 9 2 8 4 c 4 4 1 f a c d 0 8 6 9 c d c 6 e 5 c 8 8 8 d c 5 f a 0 a 6 f 1 e d f e 3 c 3 e 6 1 7 " ;
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 = " s e t u p t o o l s p l u g i n f o r t h e D a r c s v e r s i o n c o n t r o l s y s t e m " ;
homepage = http://allmydata.org/trac/setuptools_darcs ;
license = " B S D " ;
} ;
} ;
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 = " s e t u p t o o l s - t r i a l - 0 . 5 . 1 2 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
2011-04-04 14:31:52 +01:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / s / s e t u p t o o l s _ t r i a l / s e t u p t o o l s _ t r i a l - 0 . 5 . 1 2 . t a r . g z " ;
md5 = " f 1 6 f 4 2 3 7 c 9 e e 4 8 3 a 0 c d 1 3 2 0 8 8 4 9 d 9 6 a d " ;
2010-04-21 11:51:15 +01:00
} ;
propagatedBuildInputs = [ twisted ] ;
meta = {
description = " s e t u p t o o l s p l u g - i n t h a t h e l p s r u n u n i t t e s t s b u i l t w i t h t h e \" T r i a l \" f r a m e w o r k ( f r o m T w i s t e d ) " ;
homepage = http://allmydata.org/trac/setuptools_trial ;
license = " u n s p e c i f i e d " ; # !
} ;
} ;
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 = " s i m p l e j s o n - 3 . 3 . 0 " ;
2010-04-21 11:51:15 +01:00
2010-07-28 00:51:22 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / s / s i m p l e j s o n / ${ name } . t a r . g z " ;
2013-07-29 16:48:49 +01:00
md5 = " 0 e 2 9 b 3 9 3 b c e a c 8 0 8 1 f a 4 e 9 3 f f 9 f 6 a 0 0 1 " ;
2010-04-21 11:51:15 +01:00
} ;
meta = {
description = " s i m p l e j s o n i s a s i m p l e , f a s t , e x t e n s i b l e J S O N e n c o d e r / d e c o d e r f o r P y t h o n " ;
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 = " M I T " ;
} ;
} ) ;
2013-09-17 19:47:28 +01:00
sigal = buildPythonPackage rec {
name = " s i g a l - 0 . 5 . 0 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / s / s i g a l / ${ name } . t a r . g z " ;
md5 = " 9 3 c 9 3 7 2 5 6 7 4 c 0 7 0 2 5 8 3 a 6 3 8 f 5 a 0 9 c 9 e 4 " ;
} ;
propagatedBuildInputs = [ jinja2 markdown pillow pilkit clint argh ] ;
meta = with stdenv . lib ; {
description = " Y e t a n o t h e r s i m p l e s t a t i c g a l l e r y g e n e r a t o r " ;
homepage = http://sigal.saimon.org/en/latest/index.html ;
license = licenses . mit ;
maintainers = [ maintainers . iElectric ] ;
} ;
} ;
pilkit = buildPythonPackage rec {
name = " p i l k i t - 1 . 1 . 4 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p i l k i t / ${ name } . t a r . g z " ;
md5 = " 6 5 9 d d 6 7 4 4 0 f 4 b 5 7 6 8 8 9 f 2 c d 3 5 0 f 4 3 d 7 b " ;
} ;
preConfigure = ''
substituteInPlace setup . py - - replace ' nose == 1 .2 . 1 ' ' nose'
'' ;
# tests fail, see https://github.com/matthewwithanm/pilkit/issues/9
doCheck = false ;
buildInputs = [ pillow nose_progressive nose mock blessings ] ;
meta = with stdenv . lib ; {
maintainers = [ maintainers . iElectric ] ;
} ;
} ;
clint = buildPythonPackage rec {
name = " c l i n t - 0 . 3 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / c / c l i n t / ${ name } . t a r . g z " ;
md5 = " 7 d c d 4 3 f b 0 8 b f b 8 4 c 7 d 6 3 e 9 3 5 6 a d a 7 b 7 3 " ;
} ;
checkPhase = ''
nosetests
'' ;
buildInputs = [ pillow nose_progressive nose mock blessings nose ] ;
meta = with stdenv . lib ; {
maintainers = [ maintainers . iElectric ] ;
} ;
} ;
argh = buildPythonPackage rec {
name = " a r g h - 0 . 2 3 . 3 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / a / a r g h / ${ name } . t a r . g z " ;
md5 = " 2 5 b b 0 2 c 6 5 5 2 b 4 2 8 7 5 f 2 c 3 6 7 1 4 e 0 f f 1 6 c " ;
} ;
preCheck = ''
export LANG = " e n _ U S . U T F - 8 "
export LOCALE_ARCHIVE = $ { pkgs . glibcLocales } /lib/locale/locale-archive
'' ;
buildInputs = [ pytest py mock ] ;
meta = with stdenv . lib ; {
maintainers = [ maintainers . iElectric ] ;
} ;
} ;
nose_progressive = buildPythonPackage rec {
name = " n o s e - p r o g r e s s i v e - 1 . 3 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / n / n o s e - p r o g r e s s i v e / ${ name } . t a r . g z " ;
md5 = " 1 8 0 b e 9 3 9 2 9 c 5 9 6 2 0 4 4 a 3 5 4 8 9 f 1 9 3 2 5 9 d " ;
} ;
buildInputs = [ pillow blessings nose ] ;
propagatedBuildInputs = [ modules . curses ] ;
meta = with stdenv . lib ; {
maintainers = [ maintainers . iElectric ] ;
} ;
} ;
blessings = buildPythonPackage rec {
name = " b l e s s i n g s - 1 . 5 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / b / b l e s s i n g s / ${ name } . t a r . g z " ;
md5 = " f b b d d b f 2 0 b 1 f 9 a 1 3 e 3 f a 6 1 2 b 1 e 0 8 6 f d 8 " ;
} ;
# 4 failing tests
doCheck = false ;
buildInputs = [ nose modules . curses ] ;
meta = with stdenv . lib ; {
maintainers = [ maintainers . iElectric ] ;
} ;
} ;
2012-09-13 13:54:10 +01:00
2013-04-21 15:03:29 +01:00
sexpdata = buildPythonPackage rec {
name = " s e x p d a t a - 0 . 0 . 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / s / s e x p d a t a / ${ name } . t a r . g z " ;
md5 = " e f c 4 4 2 6 5 b c 2 7 c b 3 d 6 f f e d 4 f b f 5 7 3 3 f c 1 " ;
} ;
doCheck = false ;
meta = {
description = " S - e x p r e s s i o n p a r s e r f o r P y t h o n " ;
homepage = " h t t p s : / / g i t h u b . c o m / t k f / s e x p d a t a " ;
} ;
} ;
2013-07-17 21:19:29 +01:00
sh = buildPythonPackage rec {
name = " s h - 1 . 0 8 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / s / s h / ${ name } . t a r . g z " ;
md5 = " 4 0 2 8 b c b a 8 5 d a a 0 a e f 5 7 9 e d 2 4 2 6 1 e 8 8 a 3 " ;
} ;
doCheck = false ;
meta = {
description = " P y t h o n s u b p r o c e s s i n t e r f a c e " ;
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 = " s i x - 1 . 3 . 0 " ;
2012-05-30 22:12:40 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / s / s i x / ${ name } . t a r . g z " ;
2013-06-26 23:35:47 +01:00
md5 = " e c 4 7 f e 6 0 7 0 a 8 a 6 4 c 8 0 2 3 6 3 d 2 c 2 b 1 e 2 e e " ;
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 P y t h o n 2 a n d 3 c o m p a t i b i l i t y l i b r a r y " ;
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 = " S k y p e 4 P y - 1 . 0 . 3 2 . 0 " ;
src = fetchurl {
url = mirror://sourceforge/skype4py/Skype4Py-1.0.32.0.tar.gz ;
sha256 = " 0 c m k r v 4 5 0 w a 8 v 5 0 b n g 5 d f l p w k l 5 c 1 p 9 p z y s j k b 2 9 5 6 w 5 k v w h 6 f 5 b " ;
} ;
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 = " H i g h - l e v e l , p l a t f o r m i n d e p e n d e n t S k y p e A P I w r a p p e r f o r P y t h o n " ;
# 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 = " B S D " ;
} ;
} ) ;
2011-03-29 17:15:08 +01:00
2013-03-31 21:58:48 +01:00
smartdc = buildPythonPackage rec {
name = " s m a r t d c - 0 . 1 . 1 2 " ;
src = fetchurl {
url = https://pypi.python.org/packages/source/s/smartdc/smartdc-0.1.12.tar.gz ;
md5 = " b 9 6 0 f 6 1 f a c a f c 8 7 9 1 4 2 b 6 9 9 0 5 0 f 6 d 8 b 4 " ;
} ;
propagatedBuildInputs = [ requests http_signature ] ;
meta = {
description = " J o y e n t S m a r t D a t a C e n t e r C l o u d A P I c o n n e c t o r u s i n g h t t p - s i g n a t u r e a u t h e n t i c a t i o n v i a R e q u e s t s " ;
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 = " s u p e r v i s o r - 3 . 0 " ;
2013-06-22 13:10:10 +01:00
src = fetchurl {
2013-08-07 15:31:04 +01:00
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / s / s u p e r v i s o r / ${ name } . t a r . g z " ;
md5 = " 9 4 f f 3 c f 0 9 6 1 8 c 3 6 8 8 9 4 2 5 a 8 e 0 0 2 c d 5 1 a " ;
2013-06-22 13:10:10 +01:00
} ;
buildInputs = [ mock ] ;
propagatedBuildInputs = [ meld3 ] ;
meta = {
description = " A s y s t e m f o r c o n t r o l l i n g p r o c e s s s t a t e u n d e r U N I X " ;
homepage = http://supervisord.org/ ;
} ;
} ;
2011-09-19 22:00:37 +01:00
sphinx = buildPythonPackage ( rec {
2012-10-11 13:22:26 +01:00
name = " S p h i n x - 1 . 1 . 3 " ;
2011-09-19 22:00:37 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / S / S p h i n x / ${ name } . t a r . g z " ;
2012-10-11 13:22:26 +01:00
md5 = " 8 f 5 5 a 6 d 4 f 8 7 f c 6 d 5 2 8 1 2 0 c 5 d 1 f 9 8 3 e 9 8 " ;
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 = " S p h i n x i s a t o o l t h a t m a k e s i t e a s y t o c r e a t e i n t e l l i g e n t a n d b e a u t i f u l d o c u m e n t a t i o n f o r P y t h o n p r o j e c t s . " ;
homepage = http://sphinx.pocoo.org/ ;
license = " B S D " ;
} ;
} ) ;
2013-09-24 01:00:15 +01:00
sphinxcontrib_httpdomain = buildPythonPackage ( rec {
name = " s p h i n x c o n t r i b - h t t p d o m a i n - 1 . 1 . 9 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / s / s p h i n x c o n t r i b - h t t p d o m a i n / ${ name } . t a r . g z " ;
md5 = " 0 f 6 3 a e a 6 1 2 c c 9 e 0 b 5 5 a 6 c 3 9 e 5 b 0 f 8 7 b 7 " ;
} ;
propagatedBuildInputs = [ sphinx ] ;
meta = {
description = " P r o v i d e s a S p h i n x d o m a i n f o r d e s c r i b i n g R E S T f u l H T T P A P I s " ;
homepage = http://bitbucket.org/birkenfeld/sphinx-contrib ;
license = " B S D " ;
} ;
} ) ;
2013-09-24 01:01:14 +01:00
sphinx_pypi_upload = buildPythonPackage ( rec {
name = " S p h i n x - P y P I - u p l o a d - 0 . 2 . 1 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / S / S p h i n x - P y P I - u p l o a d / ${ name } . t a r . g z " ;
md5 = " b 9 f 1 d f 5 c 8 4 4 3 1 9 7 e 4 d 4 9 a b b b a 1 c f d d c 4 " ;
} ;
meta = {
description = " S e t u p t o o l s c o m m a n d f o r u p l o a d i n g S p h i n x d o c u m e n t a t i o n t o P y P I " ;
homepage = http://bitbucket.org/jezdez/sphinx-pypi-upload/ ;
license = " B S D " ;
} ;
} ) ;
2013-07-28 11:30:11 +01:00
sqlalchemy = buildPythonPackage rec {
name = " s q l a l c h e m y - ${ version } " ;
version = " 0 . 7 . 1 0 " ;
2011-03-29 17:15:08 +01:00
src = fetchurl {
2013-07-28 11:30:11 +01:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / S / S Q L A l c h e m y / S Q L A l c h e m y - ${ version } . t a r . g z " ;
sha256 = " 0 r h x g r 8 5 x d h j n 4 6 7 q f s 0 d k y j 8 x 4 6 z x c v 6 a d 3 d f x 3 w 1 4 x b k b 3 k a k p " ;
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 P y t h o n S Q L t o o l k i t a n d O b j e c t R e l a t i o n a l M a p p e r " ;
} ;
} ;
2013-09-20 17:02:51 +01:00
sqlalchemy8 = buildPythonPackage rec {
name = " S Q L A l c h e m y - ${ version } " ;
version = " 0 . 8 . 2 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / S / S Q L A l c h e m y / ${ name } . t a r . g z " ;
md5 = " 5 a 3 3 f b 4 3 d e a 9 3 4 6 8 d b b 2 a 6 5 6 2 e e 8 0 b 5 4 " ;
} ;
buildInputs = [ nose mock ] ;
propagatedBuildInputs = [ modules . sqlite3 ] ;
meta = {
homepage = http://www.sqlalchemy.org/ ;
description = " A P y t h o n S Q L t o o l k i t a n d O b j e c t R e l a t i o n a l M a p p e r " ;
} ;
} ;
2013-09-20 17:04:01 +01:00
sqlalchemy_imageattach = buildPythonPackage rec {
name = " S Q L A l c h e m y - I m a g e A t t a c h - ${ version } " ;
version = " 0 . 8 . 1 " ;
src = fetchgit {
url = https://github.com/crosspop/sqlalchemy-imageattach.git ;
rev = " r e f s / t a g s / ${ version } " ;
md5 = " 0 5 1 d d 9 d e 0 7 5 7 7 1 4 d 3 3 c 3 e c d 5 a b 3 7 b 9 7 d " ;
} ;
buildInputs = [ pytest webob pkgs . imagemagick ] ;
propagatedBuildInputs = [ sqlalchemy8 wand ] ;
checkPhase = " c d t e s t s & & L D _ L I B R A R Y _ P A T H = ${ pkgs . imagemagick } / l i b p y . t e s t " ;
meta = {
homepage = https://github.com/crosspop/sqlalchemy-imageattach ;
description = " S Q L A l c h e m y e x t e n s i o n f o r a t t a c h i n g i m a g e s t o e n t i t y o b j e c t s " ;
license = pkgs . lib . licenses . mit ;
} ;
} ;
2011-03-30 13:27:54 +01:00
sqlalchemy_migrate = buildPythonPackage rec {
name = " s q l a l c h e m y - m i g r a t e - 0 . 6 . 1 " ;
src = fetchurl {
url = " h t t p : / / s q l a l c h e m y - m i g r a t e . g o o g l e c o d e . c o m / f i l e s / ${ name } . t a r . g z " ;
sha1 = " 1 7 1 6 8 b 5 f a 0 6 6 b d 5 6 f d 9 3 f 2 6 3 4 5 5 2 5 3 7 7 e 8 a 8 3 d 8 a " ;
} ;
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 = " S c h e m a m i g r a t i o n t o o l s f o r S Q L A l c h e m y " ;
} ;
} ;
2013-09-20 17:08:55 +01:00
statd = buildPythonPackage rec {
name = " p y t h o n - s t a t s d - ${ version } " ;
version = " 1 . 6 . 0 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y t h o n - s t a t s d / ${ name } . t a r . g z " ;
md5 = " 3 a 0 c 7 1 a 1 6 0 b 5 0 4 b 8 4 3 7 0 3 c 3 0 4 1 c 7 d 7 f b " ;
} ;
buildInputs = [ mock nose coverage ] ;
meta = {
description = " A c l i e n t f o r E t s y ' s n o d e - j s s t a t s d s e r v e r " ;
homepage = https://github.com/WoLpH/python-statsd ;
license = pkgs . lib . licenses . bsd3 ;
} ;
} ;
2012-06-12 21:16:04 +01:00
stompclient = buildPythonPackage ( rec {
name = " s t o m p c l i e n t - 0 . 3 . 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / s / s t o m p c l i e n t / ${ name } . t a r . g z " ;
md5 = " a f 0 a 3 1 4 b 6 1 0 6 d d 8 0 d a 2 4 a 9 1 8 c 2 4 a 1 e a b " ;
} ;
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 = " L i g h t w e i g h t a n d e x t e n s i b l e S T O M P m e s s a g i n g c l i e n t " ;
homepage = http://bitbucket.org/hozn/stompclient ;
license = pkgs . lib . licenses . asl20 ;
} ;
} ) ;
2013-01-18 01:21:24 +00:00
subunit = buildPythonPackage rec {
name = " s u b u n i t - ${ version } " ;
2013-07-29 17:48:54 +01:00
version = " 0 . 0 . 1 3 " ;
2013-01-18 01:21:24 +00:00
src = fetchurl {
2013-07-29 17:48:54 +01:00
url = " h t t p s : / / l a u n c h p a d . n e t / s u b u n i t / t r u n k / ${ version } / + d o w n l o a d / p y t h o n - ${ name } . t a r . g z " ;
sha256 = " 0 f 3 x n i 4 z 1 h b m g 4 d q x a k 8 5 i b p f 9 p a j x n 6 q z w 1 x j 7 9 g w n r 8 x x b 6 6 z j " ;
2013-01-18 01:21:24 +00:00
} ;
propagatedBuildInputs = [ testtools ] ;
meta = {
description = " A s t r e a m i n g p r o t o c o l f o r t e s t r e s u l t s " ;
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 = " T a s k C o a c h - 1 . 3 . 2 2 " ;
2012-02-21 18:19:00 +00:00
src = fetchurl {
url = " m i r r o r : / / s o u r c e f o r g e / t a s k c o a c h / ${ name } . t a r . g z " ;
2013-01-23 22:22:47 +00:00
sha256 = " 1 d d x 5 6 b q m h 3 4 7 s y n h g j q 6 2 5 i j v 5 h q f l r 0 a p x g 0 n l 4 j q d s q k 1 z m x h " ;
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 = " T o d o m a n a g e r t o k e e p t r a c k o f p e r s o n a l t a s k s a n d t o d o l i s t s " ;
2012-02-21 18:19:00 +00:00
license = " G P L v 3 + " ;
} ;
} ;
2011-03-30 13:27:54 +01:00
tempita = buildPythonPackage rec {
version = " 0 . 4 " ;
name = " t e m p i t a - ${ version } " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / T / T e m p i t a / T e m p i t a - ${ version } . t a r . g z " ;
md5 = " 0 a b e 0 1 5 a 7 2 e 7 4 8 d 0 c 6 2 8 4 6 7 9 a 4 9 7 4 2 6 c " ;
} ;
buildInputs = [ nose ] ;
meta = {
homepage = http://pythonpaste.org/tempita/ ;
description = " A v e r y s m a l l t e x t t e m p l a t i n g l a n g u a g e " ;
} ;
} ;
2013-01-18 01:21:24 +00:00
testtools = buildPythonPackage rec {
name = " t e s t t o o l s - ${ version } " ;
2013-07-29 17:48:54 +01:00
version = " 0 . 9 . 3 2 " ;
2013-01-18 01:21:24 +00:00
src = fetchurl {
2013-07-29 17:48:54 +01:00
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / t / t e s t t o o l s / ${ name } . t a r . g z " ;
sha256 = " 1 s m g k 3 y 7 x f z h 5 x k 5 w y d b 6 n 5 l x 4 g 5 i 6 y 4 w 8 a j r d n s k x 1 j q r 6 7 w y y q " ;
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 s e t o f e x t e n s i o n s t o t h e P y t h o n s t a n d a r d l i b r a r y ' s u n i t t e s t i n g f r a m e w o r k " ;
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 = " p y t h o n - m i m e p a r s e - ${ version } " ;
version = " 0 . 1 . 4 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y t h o n - m i m e p a r s e / ${ name } . t a r . g z " ;
sha256 = " 1 h y x g 0 9 k a j 0 2 r i 0 r m w j q i 8 6 w k 4 n d 1 a k v v 7 n 0 d x 7 7 a z z 7 6 w g a 4 s 9 w " ;
} ;
# error: invalid command 'test'
doCheck = false ;
meta = {
description = " A m o d u l e p r o v i d e s b a s i c f u n c t i o n s f o r p a r s i n g m i m e - t y p e n a m e s a n d m a t c h i n g t h e m a g a i n s t a l i s t o f m e d i a - r a n g e s . " ;
homepage = https://code.google.com/p/mimeparse/ ;
license = pkgs . lib . licenses . mit ;
} ;
} ;
extras = buildPythonPackage rec {
name = " e x t r a s - ${ version } " ;
version = " 0 . 0 . 3 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / e / e x t r a s / e x t r a s - ${ version } . t a r . g z " ;
sha256 = " 1 h 7 z x 4 d f y c l a l g 0 f q n f j i j p n 0 f 7 9 3 a 9 m x 8 s y 3 b 2 7 g d 3 1 n r 6 d h q 3 s " ;
} ;
# error: invalid command 'test'
doCheck = false ;
meta = {
description = " A m o d u l e p r o v i d e s b a s i c f u n c t i o n s f o r p a r s i n g m i m e - t y p e n a m e s a n d m a t c h i n g t h e m a g a i n s t a l i s t o f m e d i a - r a n g e s . " ;
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 {
2013-09-10 18:19:27 +01:00
name = " t r a c - 1 . 0 . 1 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
2013-09-10 18:19:27 +01:00
url = http://ftp.edgewall.com/pub/trac/Trac-1.0.1.tar.gz ;
sha256 = " 1 n q a 9 5 f c n k p y q 4 j k 6 a z 7 l 7 s q g m 3 b 3 p j q 3 b x 1 n 7 y 4 v 3 b a d 5 j r 1 m 4 x " ;
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 = " ` p w d ` / . e g g - c a c h e " ;
2013-07-27 19:51:54 +01:00
propagatedBuildInputs = [ genshi pkgs . setuptools modules . sqlite3 ] ;
2010-04-21 11:51:15 +01:00
meta = {
description = " E n h a n c e d w i k i a n d i s s u e t r a c k i n g s y s t e m f o r s o f t w a r e d e v e l o p m e n t p r o j e c t s " ;
license = " B S D " ;
} ;
} ;
2013-01-18 01:21:24 +00:00
transaction = buildPythonPackage rec {
name = " t r a n s a c t i o n - ${ version } " ;
version = " 1 . 4 . 0 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / t / t r a n s a c t i o n / ${ name } . t a r . g z " ;
md5 = " b 7 c 2 f f 1 3 5 9 3 9 f 6 0 5 a 8 c 5 4 e 1 c 1 3 c d 5 d 6 6 " ;
} ;
2013-01-21 20:35:49 +00:00
propagatedBuildInputs = [ zope_interface ] ;
2013-01-18 01:21:24 +00:00
meta = {
description = " T r a n s a c t i o n m a n a g e m e n t " ;
homepage = http://pypi.python.org/pypi/transaction ;
license = " Z P L " ;
} ;
} ;
2013-01-19 00:28:15 +00:00
eggdeps = buildPythonPackage rec {
name = " e g g d e p s - ${ version } " ;
version = " 0 . 4 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / t / t l . e g g d e p s / t l . ${ name } . t a r . g z " ;
md5 = " 2 4 7 2 2 0 4 a 2 a b d 0 d 8 c d 4 d 1 1 f f 0 f b f 3 6 a e 7 " ;
} ;
2013-01-21 20:35:49 +00:00
propagatedBuildInputs = [ zope_interface zope_testing ] ;
2013-01-19 00:28:15 +00:00
meta = {
description = " A t o o l w h i c h c o m p u t e s a d e p e n d e n c y g r a p h b e t w e e n a c t i v e P y t h o n e g g s " ;
homepage = http://thomas-lotze.de/en/software/eggdeps/ ;
license = " Z P L " ;
} ;
} ;
2012-10-01 12:05:57 +01:00
turses = buildPythonPackage ( rec {
2013-03-17 14:24:45 +00:00
name = " t u r s e s - 0 . 2 . 1 3 " ;
2012-10-01 12:05:57 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / t / t u r s e s / ${ name } . t a r . g z " ;
2013-03-17 14:24:45 +00:00
sha256 = " 0 s y g m 4 0 z 0 4 z i f c f q w b y 8 w w w n j 3 i 1 b p l 4 1 r 7 x g n j c i p x w i r j m n p 2 k " ;
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 = " h t t p s : / / g i t h u b . c o m / a l e j a n d r o g o m e z / t u r s e s " ;
description = " A T w i t t e r c l i e n t f o r t h e c o n s o l e . " ;
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 = " t w e e p y - 2 . 0 " ;
2012-10-01 12:05:57 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / t / t w e e p y / ${ name } . t a r . g z " ;
2013-02-19 03:48:55 +00:00
sha256 = " 1 b 9 5 x c w 1 1 b 5 8 7 1 g d 4 b r 7 8 h x b v c q 8 y 9 f 0 i 0 s q g a 8 5 d g g 9 h n m v d c x 0 " ;
2012-10-01 12:05:57 +01:00
} ;
meta = {
homepage = " h t t p s : / / g i t h u b . c o m / t w e e p y / t w e e p y " ;
description = " T w i t t e r l i b r a r y f o r p y t h o n " ;
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 = " t w i s t e d - 1 0 . 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 = " 1 1 0 c 3 0 z 6 2 2 j n 1 4 y a n y 1 s x f a q j 5 q x 2 0 n 9 r c 9 z q a c x l w m a 3 0 f d c b j n " ;
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 = " $ o u t / b i n / t w i s t d - - h e l p > / d e v / n u l l " ;
meta = {
homepage = http://twistedmatrix.com/ ;
description = " T w i s t e d , a n e v e n t - d r i v e n n e t w o r k i n g e n g i n e w r i t t e n i n P y t h o n " ;
longDescription = ''
Twisted is an event-driven networking engine written in Python
and licensed under the MIT license .
'' ;
license = " M I T " ;
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 = " u n i t t e s t 2 - ${ 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 = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / u / u n i t t e s t 2 p y 3 k / u n i t t e s t 2 p y 3 k - ${ version } . t a r . g z " ;
sha256 = " 0 0 y l 6 l s k y g c r d d x 5 z s p k h r 0 i b g v p k n l 4 6 7 8 k k m 6 s 6 2 6 5 3 9 g r q 9 3 q " ;
}
else fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / u / u n i t t e s t 2 / u n i t t e s t 2 - ${ version } . t a r . g z " ;
md5 = " a 0 a f 5 c a c 9 2 b b b f a 0 c 3 b 0 e 9 9 5 7 1 3 9 0 e 0 f " ;
} ;
2011-03-30 13:27:54 +01:00
meta = {
description = " A b a c k p o r t o f t h e n e w f e a t u r e s a d d e d t o t h e u n i t t e s t t e s t i n g f r a m e w o r k i n P y t h o n 2 . 7 " ;
homepage = http://pypi.python.org/pypi/unittest2 ;
} ;
} ;
2012-07-20 23:17:21 +01:00
urlgrabber = buildPythonPackage rec {
name = " u r l g r a b b e r - 3 . 9 . 1 " ;
src = fetchurl {
url = " h t t p : / / u r l g r a b b e r . b a s e u r l . o r g / d o w n l o a d / ${ name } . t a r . g z " ;
sha256 = " 4 4 3 7 0 7 6 c 8 7 0 8 e 5 7 5 4 e a 0 4 5 4 0 e 4 6 c 7 f 4 f 2 3 3 7 3 4 e e 3 5 9 0 b b 8 a 9 6 3 8 9 2 6 4 f b 0 6 5 0 d 0 " ;
} ;
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 = " u r l g r a b b e r . b a s e u r l . o r g " ;
license = " L G P L v 2 + " ;
description = " P y t h o n m o d u l e f o r d o w n l o a d i n g f i l e s " ;
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 = " u r w i d - 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 = " h t t p : / / e x c e s s . o r g / u r w i d / ${ name } . t a r . g z " ;
2012-11-29 13:16:32 +00:00
md5 = " e c a 2 e 0 4 1 3 c f 7 2 1 6 b 0 1 c 8 4 b 9 9 e 0 f 2 5 7 6 d " ;
2012-04-30 15:34:57 +01:00
} ;
meta = {
description = " A f u l l - f e a t u r e d c o n s o l e ( x t e r m e t a l . ) u s e r i n t e r f a c e l i b r a r y " ;
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 = " v i r t u a l e n v - 1 . 1 0 " ;
2011-10-16 13:36:37 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / v / v i r t u a l e n v / ${ name } . t a r . g z " ;
2013-07-27 00:02:57 +01:00
md5 = " 9 7 4 5 c 2 8 2 5 6 c 7 0 c 7 6 d 3 6 a d b 3 7 6 7 a 0 0 2 1 2 " ;
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 t o o l t o c r e a t e i s o l a t e d P y t h o n e n v i r o n m e n t s " ;
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 = " w a i t r e s s - 0 . 8 . 5 " ;
2013-03-27 01:24:55 +00:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / w / w a i t r e s s / ${ name } . t a r . g z " ;
2013-05-28 23:05:31 +01:00
md5 = " 7 a 3 0 9 4 d 8 1 2 c 0 d f f b 9 4 8 d 1 3 3 4 e f 5 f d 5 6 f " ;
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
2013-09-21 17:15:18 +01:00
webcolors = buildPythonPackage rec {
name = " w e b c o l o r s - 1 . 4 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / w / w e b c o l o r s / ${ name } . t a r . g z " ;
md5 = " 3 5 d e 9 d 7 8 5 b 5 c 0 4 a 9 c c 6 6 a 2 e a e 0 5 1 9 2 5 4 " ;
} ;
# error: invalid command 'test'
doCheck = false ;
meta = with stdenv . lib ; {
description = " L i b r a r y f o r w o r k i n g w i t h c o l o r n a m e s / v a l u e s d e f i n e d b y t h e H T M L a n d C S S s p e c i f i c a t i o n s " ;
homepage = https://bitbucket.org/ubernostrum/webcolors/overview/ ;
license = licenses . bsd3 ;
platforms = platforms . linux ;
} ;
} ;
2013-09-20 17:02:04 +01:00
wand = buildPythonPackage rec {
name = " W a n d - 0 . 3 . 5 " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / W / W a n d / ${ name } . t a r . g z " ;
md5 = " 1 0 b a b 0 3 b f 8 6 c e 8 d a 2 a 9 5 a 3 b 1 5 1 9 7 a e 2 e " ;
} ;
buildInputs = [ pkgs . imagemagick pytest psutil memory_profiler pytest_xdist ] ;
meta = {
description = " C t y p e s - b a s e d s i m p l e M a g i c k W a n d A P I b i n d i n g f o r P y t h o n " ;
homepage = http://wand-py.org/ ;
platforms = stdenv . lib . platforms . all ;
} ;
} ;
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 = " w e b o b - ${ 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 = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / W / W e b O b / W e b O b - ${ version } . t a r . g z " ;
md5 = " 1 1 8 2 5 b 7 0 7 4 b a 7 0 4 3 e 1 5 7 8 0 5 e 4 e 6 e 0 f 5 5 " ;
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 = " W S G I r e q u e s t a n d r e s p o n s e o b j e c t " ;
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 = " w e b s o c k i f y - ${ version } " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / w / w e b s o c k i f y / w e b s o c k i f y - ${ version } . t a r . g z " ;
md5 = " 2 9 b 6 5 4 9 d 3 4 2 1 9 0 7 d e 4 b b d 8 8 1 e c c 2 e 1 b 1 " ;
} ;
2013-02-15 00:58:50 +00:00
propagatedBuildInputs = [ numpy ] ;
2013-02-15 00:54:00 +00:00
meta = {
description = " W e b S o c k e t s s u p p o r t f o r a n y a p p l i c a t i o n / s e r v e r " ;
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 = " w e b t e s t - ${ 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 = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / W / W e b T e s t / W e b T e s t - ${ version } . z i p " ;
md5 = " a 1 2 6 6 d 4 d b 4 2 1 9 6 3 f d 3 d e b 1 7 2 c 6 6 8 9 e 4 b " ;
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 = " H e l p e r t o t e s t W S G I a p p l i c a t i o n s " ;
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 = " w e r k z e u g - 0 . 8 . 3 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / W / W e r k z e u g / W e r k z e u g - 0 . 8 . 3 . t a r . g z " ;
md5 = " 1 2 a a 0 3 e 3 0 2 c e 4 9 d a 9 8 7 0 3 9 3 8 f 2 5 7 3 4 7 a " ;
} ;
meta = {
homepage = http://werkzeug.pocoo.org/ ;
description = " A W S G I u t i l i t y l i b r a r y f o r P y t h o n " ;
license = " B S D " ;
} ;
} ;
2012-09-13 11:09:08 +01:00
wokkel = buildPythonPackage ( rec {
url = " h t t p : / / w o k k e l . i k . n u / r e l e a s e s / 0 . 7 . 0 / w o k k e l - 0 . 7 . 0 . t a r . g z " ;
name = pkgs . lib . nameFromURL url " . t a r " ;
src = fetchurl {
inherit url ;
sha256 = " 0 r n s h r z w 8 6 0 5 x 0 5 m p d 8 n d r x 3 r i 8 h 6 c x 7 1 3 m p 8 s l 4 f 0 4 f 4 g c r z 8 m l " ;
} ;
2012-09-13 11:12:42 +01:00
propagatedBuildInputs = [ twisted dateutil ] ;
2012-09-13 11:09:08 +01:00
meta = {
description = " S o m e ( m a i n l y X M P P - r e l a t e d ) a d d i t i o n s t o t w i s t e d " ;
homepage = " h t t p : / / w o k k e l . i k . n u / " ;
license = stdenv . lib . licenses . mit ;
} ;
} ) ;
2013-03-27 01:24:55 +00:00
wsgiproxy2 = buildPythonPackage rec {
name = " W S G I P r o x y 2 - 0 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / W / W S G I P r o x y 2 / ${ name } . t a r . g z " ;
md5 = " 1 5 7 0 4 9 2 1 2 f 1 c 8 1 a 8 7 9 0 e f a 3 1 1 4 6 f b a b f " ;
} ;
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 = " h t t p : / / w w w . b l a r g . n e t / % 7 E s t e v e h a / x e - 0 . 7 . 4 . t a r . g z " ;
name = stdenv . lib . nameFromURL url " . t a r " ;
src = fetchurl {
inherit url ;
sha256 = " 0 v 9 8 7 8 c l 0 y 9 c c z d s r 6 x j y 8 v 9 l 1 3 9 l c 2 3 h 4 m 5 f 8 6 p 4 k p f 2 w l n p i 4 2 " ;
} ;
2012-12-03 05:38:11 +00:00
# error: invalid command 'test'
2012-09-13 11:32:16 +01:00
doCheck = false ;
meta = {
homepage = " h t t p : / / h o m e . b l a r g . n e t / ~ s t e v e h a / x e . h t m l " ;
description = " X M L e l e m e n t s " ;
} ;
} ;
2012-02-20 18:20:12 +00:00
xlib = buildPythonPackage ( rec {
name = " x l i b - 0 . 1 5 r c 1 " ;
src = fetchurl {
url = " m i r r o r : / / s o u r c e f o r g e / p y t h o n - x l i b / p y t h o n - ${ name } . t a r . b z 2 " ;
sha256 = " 0 m v z z 6 0 5 p x z j 7 l f p 2 w 6 z 4 q g l m r 4 r j z a 9 x r b 7 s l 8 y n 1 2 c k l z f k y 0 m " ;
} ;
# Tests require `pyutil' so disable them to avoid circular references.
doCheck = false ;
propagatedBuildInputs = [ pkgs . xlibs . libX11 ] ;
meta = {
description = " F u l l y f u n c t i o n a l X c l i e n t l i b r a r y f o r P y t h o n p r o g r a m s " ;
homepage = http://python-xlib.sourceforge.net/ ;
license = " G P L v 2 + " ;
} ;
} ) ;
2010-04-21 11:51:15 +01:00
zbase32 = buildPythonPackage ( rec {
2010-07-28 00:51:22 +01:00
name = " z b a s e 3 2 - 1 . 1 . 2 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z b a s e 3 2 / ${ name } . t a r . g z " ;
2010-07-28 00:51:22 +01:00
sha256 = " 2 f 4 4 b 3 3 8 f 7 5 0 b d 3 7 b 5 6 e 7 8 8 7 5 9 1 b f 2 f 1 9 6 5 b f a 7 9 f 1 6 3 b 6 a f c b c c f 2 8 d a 6 4 2 e c 5 6 " ;
2010-04-21 11:51:15 +01:00
} ;
# Tests require `pyutil' so disable them to avoid circular references.
doCheck = false ;
buildInputs = [ setuptoolsDarcs ] ;
meta = {
description = " z b a s e 3 2 , a b a s e 3 2 e n c o d e r / d e c o d e r " ;
homepage = http://pypi.python.org/pypi/zbase32 ;
license = " B S D " ;
} ;
} ) ;
2013-01-18 01:21:24 +00:00
zconfig = buildPythonPackage rec {
name = " z c o n f i g - ${ version } " ;
version = " 2 . 9 . 3 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / Z / Z C o n f i g / Z C o n f i g - ${ version } . t a r . g z " ;
md5 = " 2 c 5 f 7 3 c 2 1 6 1 4 0 a 7 0 5 b e 3 d 9 c 4 4 b 9 8 8 7 2 2 " ;
} ;
propagatedBuildInputs = [ zope_testrunner ] ;
meta = {
description = " S t r u c t u r e d C o n f i g u r a t i o n L i b r a r y " ;
homepage = http://pypi.python.org/pypi/ZConfig ;
license = " Z P L " ;
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 = " z c . l o c k f i l e - ${ version } " ;
2013-01-18 01:21:24 +00:00
version = " 1 . 0 . 2 " ;
src = fetchurl {
2013-01-21 21:31:32 +00:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z c . l o c k f i l e / ${ name } . t a r . g z " ;
2013-01-18 01:21:24 +00:00
md5 = " f 0 9 9 d 4 c f 2 5 8 3 a 0 c 7 b e a 0 1 4 6 a 4 4 d c 4 d 5 9 " ;
} ;
meta = {
description = " I n t e r - p r o c e s s l o c k s " ;
homepage = http://www.python.org/pypi/zc.lockfile ;
license = " Z P L " ;
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 = " z d a e m o n - ${ version } " ;
version = " 3 . 0 . 5 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z d a e m o n / ${ name } . t a r . g z " ;
md5 = " 9 7 5 f 7 7 0 5 4 4 b b 4 3 5 2 c 5 c f 3 2 f e c 2 2 e 6 3 c 9 " ;
} ;
propagatedBuildInputs = [ zconfig ] ;
meta = {
description = " A d a e m o n p r o c e s s c o n t r o l l i b r a r y a n d t o o l s f o r U n i x - b a s e d s y s t e m s " ;
homepage = http://pypi.python.org/pypi/zdaemon ;
license = " Z P L " ;
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 = " z f e c - 1 . 4 . 7 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z f e c / ${ name } . t a r . g z " ;
2010-07-28 00:51:29 +01:00
sha256 = " 3 3 3 5 c 9 0 5 4 f 4 5 e 2 c 5 9 1 8 8 4 0 0 e 8 9 2 6 3 4 b 6 8 7 6 1 b 2 9 d 0 6 f 3 c a f e 5 2 5 c 6 0 4 8 4 9 0 2 d 3 7 9 " ;
2010-04-21 11:51:15 +01:00
} ;
buildInputs = [ setuptoolsDarcs ] ;
propagatedBuildInputs = [ pyutil argparse ] ;
meta = {
homepage = http://allmydata.org/trac/zfec ;
description = " Z f e c , a f a s t e r a s u r e c o d e c w h i c h c a n b e u s e d w i t h t h e c o m m a n d - l i n e , C , P y t h o n , o r H a s k e l l " ;
longDescription = ''
Fast , portable , programmable erasure coding a . k . a . " f o r w a r d
error correction " : t h e g e n e r a t i o n o f r e d u n d a n t b l o c k s o f
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 = " G P L v 2 + " ;
} ;
} ) ;
2013-01-18 01:21:24 +00:00
zodb3 = buildPythonPackage rec {
name = " z o d b 3 - ${ version } " ;
version = " 3 . 1 0 . 5 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / Z / Z O D B 3 / Z O D B 3 - ${ version } . t a r . g z " ;
md5 = " 6 f 1 8 0 c 6 8 9 7 a 1 8 2 0 9 4 8 f e e 2 a 6 2 9 0 5 0 3 c d " ;
} ;
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 = " A n o b j e c t - o r i e n t e d d a t a b a s e f o r P y t h o n " ;
homepage = http://pypi.python.org/pypi/ZODB3 ;
license = " Z P L " ;
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 = " z o p e . b r o k e n - 3 . 6 . 0 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . b r o k e n / ${ name } . z i p " ;
md5 = " e f f 2 4 d 7 9 1 8 0 9 9 a 3 e 8 9 9 e e 6 3 a 9 c 3 1 b e e 6 " ;
} ;
buildInputs = [ pkgs . unzip zope_interface ] ;
meta = {
maintainers = [ stdenv . lib . maintainers . goibhniu ] ;
} ;
} ;
zope_browser = buildPythonPackage rec {
name = " z o p e . b r o w s e r - 1 . 3 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . b r o w s e r / ${ name } . z i p " ;
md5 = " 4 f f 0 d d b f 6 4 c 4 5 b f c c 3 1 8 9 e 3 5 f 4 2 1 4 d e d " ;
} ;
buildInputs = [ pkgs . unzip ] ;
propagatedBuildInputs = [ zope_interface ] ;
meta = {
maintainers = [ stdenv . lib . maintainers . goibhniu ] ;
} ;
} ;
zope_component = buildPythonPackage rec {
name = " z o p e . c o m p o n e n t - 4 . 0 . 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . c o m p o n e n t / z o p e . c o m p o n e n t - 4 . 0 . 2 . t a r . g z " ;
md5 = " 8 c 2 f d 4 4 1 4 c a 2 3 c b b e 0 1 4 d c a f 9 1 1 a c e b c " ;
} ;
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 = " z o p e . c o n f i g u r a t i o n - 4 . 0 . 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . c o n f i g u r a t i o n / z o p e . c o n f i g u r a t i o n - 4 . 0 . 2 . t a r . g z " ;
md5 = " 4 0 b 3 c 7 a d 0 b 7 4 8 e d e 5 3 2 d 8 c f e 2 5 4 4 e 4 4 e " ;
} ;
propagatedBuildInputs = [ zope_i18nmessageid zope_schema ] ;
meta = {
maintainers = [ stdenv . lib . maintainers . goibhniu ] ;
} ;
} ;
zope_container = buildPythonPackage rec {
name = " z o p e . c o n t a i n e r - 3 . 1 1 . 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . c o n t a i n e r / ${ name } . t a r . g z " ;
md5 = " f c 6 6 d 8 5 a 1 7 b 8 f f b 7 0 1 0 9 1 c 9 3 2 8 9 8 3 d c c " ;
} ;
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 = " z o p e . c o n t e n t t y p e - 3 . 5 . 5 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . c o n t e n t t y p e / ${ name } . z i p " ;
md5 = " c 6 a c 8 0 e 6 8 8 7 d e 4 1 0 8 a 3 8 3 f 3 4 9 f b d f 3 3 2 " ;
} ;
buildInputs = [ pkgs . unzip ] ;
meta = {
maintainers = [ stdenv . lib . maintainers . goibhniu ] ;
} ;
} ;
zope_dottedname = buildPythonPackage rec {
name = " z o p e . d o t t e d n a m e - 3 . 4 . 6 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . d o t t e d n a m e / ${ name } . t a r . g z " ;
md5 = " 6 2 d 6 3 9 f 7 5 b 3 1 d 2 d 8 6 4 f e 5 9 8 2 c b 2 3 9 5 9 c " ;
} ;
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 = " z o p e . e v e n t - ${ version } " ;
2013-01-18 01:21:24 +00:00
version = " 4 . 0 . 2 " ;
src = fetchurl {
2013-01-21 21:31:32 +00:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . e v e n t / ${ name } . t a r . g z " ;
2013-01-18 01:21:24 +00:00
md5 = " e 0 8 d d 2 9 9 d 4 2 8 d 7 7 a 1 c f c b f e 8 4 1 b 8 1 8 7 2 " ;
} ;
meta = {
description = " A n e v e n t p u b l i s h i n g s y s t e m " ;
homepage = http://pypi.python.org/pypi/zope.event ;
license = " Z P L " ;
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 = " z o p e . e x c e p t i o n s - ${ version } " ;
2013-01-18 01:21:24 +00:00
version = " 4 . 0 . 5 " ;
src = fetchurl {
2013-01-21 21:31:32 +00:00
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . e x c e p t i o n s / ${ name } . t a r . g z " ;
2013-01-18 01:21:24 +00:00
md5 = " c 9 5 5 6 9 f c b 4 4 4 a e 5 4 1 7 7 7 d e 7 a e 5 2 9 7 4 9 2 " ;
} ;
2013-01-21 20:35:49 +00:00
propagatedBuildInputs = [ zope_interface ] ;
2013-01-18 01:21:24 +00:00
meta = {
description = " E x c e p t i o n i n t e r f a c e s a n d i m p l e m e n t a t i o n s " ;
homepage = http://pypi.python.org/pypi/zope.exceptions ;
license = " Z P L " ;
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 = " z o p e . f i l e r e p r e s e n t a t i o n - 3 . 6 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . f i l e r e p r e s e n t a t i o n / ${ name } . t a r . g z " ;
md5 = " 4 a 7 a 4 3 4 0 9 4 f 4 b f a 9 9 a 7 f 2 2 e 7 5 9 6 6 c 3 5 9 " ;
} ;
propagatedBuildInputs = [ zope_schema ] ;
meta = {
maintainers = [ stdenv . lib . maintainers . goibhniu ] ;
} ;
} ;
zope_i18n = buildPythonPackage rec {
name = " z o p e . i 1 8 n - 3 . 7 . 4 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . i 1 8 n / ${ name } . t a r . g z " ;
md5 = " a 6 f e 9 d 9 a d 5 3 d d 7 e 9 4 e 8 7 c d 5 8 f b 6 7 d 3 b 7 " ;
} ;
propagatedBuildInputs = [ pytz zope_component ] ;
meta = {
maintainers = [ stdenv . lib . maintainers . goibhniu ] ;
} ;
} ;
zope_i18nmessageid = buildPythonPackage rec {
name = " z o p e . i 1 8 n m e s s a g e i d - 4 . 0 . 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . i 1 8 n m e s s a g e i d / z o p e . i 1 8 n m e s s a g e i d - 4 . 0 . 2 . t a r . g z " ;
md5 = " c 4 5 5 0 f 7 a 0 b 4 a 7 3 6 1 8 6 e 6 e 0 f a 3 b 2 4 7 1 f 7 " ;
} ;
meta = {
maintainers = [ stdenv . lib . maintainers . goibhniu ] ;
} ;
} ;
zope_lifecycleevent = buildPythonPackage rec {
name = " z o p e . l i f e c y c l e e v e n t - 3 . 6 . 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . l i f e c y c l e e v e n t / ${ name } . t a r . g z " ;
md5 = " 3 b a 9 7 8 f 3 b a 7 c 0 8 0 5 c 8 1 c 2 c 7 9 e a 3 e d b 3 3 " ;
} ;
propagatedBuildInputs = [ zope_event zope_component ] ;
meta = {
maintainers = [ stdenv . lib . maintainers . goibhniu ] ;
} ;
} ;
zope_location = buildPythonPackage rec {
name = " z o p e . l o c a t i o n - 4 . 0 . 0 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . l o c a t i o n / z o p e . l o c a t i o n - 4 . 0 . 0 . t a r . g z " ;
md5 = " c d 0 e 1 0 d 5 9 2 3 c 9 5 e 3 5 2 b c d e 5 0 5 c c 1 1 3 2 4 " ;
} ;
propagatedBuildInputs = [ zope_proxy ] ;
# ignore circular dependency on zope_schema
installCommand = ''
easy_install - - always-unzip - - no-deps - - prefix = " $ o u t " .
'' ;
doCheck = false ;
meta = {
maintainers = [ stdenv . lib . maintainers . goibhniu ] ;
} ;
} ;
zope_proxy = buildPythonPackage rec {
name = " z o p e . p r o x y - 4 . 1 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . p r o x y / z o p e . p r o x y - 4 . 1 . 1 . t a r . g z " ;
md5 = " c 3 6 6 9 1 f 0 a b e e 7 5 7 3 f 4 d d c c 3 7 8 6 0 3 c e f d " ;
} ;
propagatedBuildInputs = [ zope_interface ] ;
meta = {
maintainers = [ stdenv . lib . maintainers . goibhniu ] ;
} ;
} ;
zope_publisher = buildPythonPackage rec {
name = " z o p e . p u b l i s h e r - 3 . 1 2 . 6 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . p u b l i s h e r / ${ name } . t a r . g z " ;
md5 = " 4 9 5 1 3 1 9 7 0 c c 7 c b 1 4 d e 8 e 5 1 7 f b 3 8 5 7 a d e " ;
} ;
propagatedBuildInputs = [
zope_browser zope_contenttype zope_i18n zope_security
] ;
meta = {
maintainers = [ stdenv . lib . maintainers . goibhniu ] ;
} ;
} ;
zope_schema = buildPythonPackage rec {
name = " z o p e . s c h e m a - 4 . 2 . 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . s c h e m a / z o p e . s c h e m a - 4 . 2 . 2 . t a r . g z " ;
md5 = " e 7 e 5 8 1 a f 8 1 9 3 5 5 1 8 3 1 5 6 0 a 7 3 6 a 5 3 c f 5 8 " ;
} ;
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 = " $ o u t " .
'' ;
meta = {
maintainers = [ stdenv . lib . maintainers . goibhniu ] ;
} ;
} ;
zope_security = buildPythonPackage rec {
name = " z o p e . s e c u r i t y - 3 . 7 . 4 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . s e c u r i t y / z o p e . s e c u r i t y - 3 . 7 . 4 . t a r . g z " ;
md5 = " 0 7 2 a b 8 d 1 1 a d c 0 8 3 e a c e 1 1 2 6 2 d a 0 8 6 3 0 c " ;
} ;
propagatedBuildInputs = [
zope_component zope_configuration zope_i18nmessageid zope_schema
zope_proxy
] ;
meta = {
maintainers = [ stdenv . lib . maintainers . goibhniu ] ;
} ;
} ;
zope_size = buildPythonPackage rec {
name = " z o p e . s i z e - 3 . 4 . 1 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . s i z e / ${ name } . t a r . g z " ;
md5 = " 5 5 d 9 0 8 4 d f d 9 d c b d b 5 a d 2 1 9 1 c e b 5 e d 0 3 d " ;
} ;
propagatedBuildInputs = [ zope_i18nmessageid zope_interface ] ;
meta = {
maintainers = [ stdenv . lib . maintainers . goibhniu ] ;
} ;
} ;
2013-03-27 01:24:55 +00:00
zope_sqlalchemy = buildPythonPackage rec {
name = " z o p e . s q l a l c h e m y - 0 . 7 . 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . s q l a l c h e m y / ${ name } . z i p " ;
md5 = " b 6 5 4 e 5 d 1 4 4 e d 1 4 1 e 1 3 b 4 2 5 9 1 a 2 1 a 4 8 6 8 " ;
} ;
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 = " z o p e . t e s t i n g - ${ 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 = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . t e s t i n g / ${ name } . z i p " ;
md5 = " 0 1 c 3 0 c 3 4 2 c 6 a 1 8 0 0 2 a 7 6 2 b d 5 d 3 2 0 a 6 e 9 " ;
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 = " Z o p e t e s t i n g h e l p e r s " ;
homepage = http://pypi.python.org/pypi/zope.testing ;
license = " Z P L " ;
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 = " z o p e . t e s t r u n n e r - ${ 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 = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . t e s t r u n n e r / ${ name } . z i p " ;
2013-07-29 17:48:54 +01:00
md5 = " 1 d 6 8 9 a b a d 0 0 0 4 1 9 8 9 1 4 9 4 b 3 0 d d 7 d 8 1 9 0 " ;
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 f l e x i b l e t e s t r u n n e r w i t h l a y e r s u p p o r t " ;
homepage = http://pypi.python.org/pypi/zope.testrunner ;
license = " Z P L " ;
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 = " z o p e . t r a v e r s i n g - 3 . 1 3 . 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . t r a v e r s i n g / ${ name } . z i p " ;
md5 = " e a a d 8 f c 7 b b e f 1 2 6 f 9 f 8 6 1 6 b 0 7 4 e c 0 0 a a " ;
} ;
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 = " z o p e . i n t e r f a c e - 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 = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / z / z o p e . i n t e r f a c e / ${ name } . t a r . g z " ;
2013-01-22 00:45:41 +00:00
md5 = " 1 d d d 3 0 8 f 2 c 8 3 7 0 3 a c c d 1 6 9 6 1 5 8 c 3 0 0 e b " ;
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 = " Z o p e . I n t e r f a c e " ;
homepage = http://zope.org/Products/ZopeInterface ;
license = " Z P L " ;
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 = " c l i a p p - ${ version } " ;
2013-04-18 15:09:35 +01:00
version = " 1 . 2 0 1 3 0 3 1 3 " ;
2012-06-03 23:11:09 +01:00
src = fetchurl rec {
2013-01-03 12:25:02 +00:00
url = " h t t p : / / c o d e . l i w . f i / d e b i a n / p o o l / m a i n / p / p y t h o n - c l i a p p / p y t h o n - c l i a p p _ ${ version } . o r i g . t a r . g z " ;
2013-04-18 15:09:35 +01:00
sha256 = " 0 r k 1 3 a 6 8 6 6 8 g s r v 6 y q g z q x s k f f q n l y j a r 4 q a v 6 k 5 i y r p 7 7 a m n 7 q m " ;
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 = " P y t h o n f r a m e w o r k f o r U n i x c o m m a n d l i n e p r o g r a m s . " ;
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 = " t o r n a d o - 2 . 4 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / t / t o r n a d o / t o r n a d o - 2 . 4 . t a r . g z " ;
md5 = " c 7 3 8 a f 9 7 c 3 1 d d 7 0 f 4 1 f 6 7 2 6 c f 0 9 6 8 9 4 1 " ;
} ;
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 = " t a r m a n - ${ version } " ;
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / t / t a r m a n / t a r m a n - ${ version } . z i p " ;
2013-08-28 05:06:07 +01:00
sha256 = " 0 r i 6 g j 8 8 3 k 0 4 2 x a x a 2 d 5 y m m h b w 2 b f c x d z h h 4 b z 7 7 0 0 i b x w x x j 6 2 h " ;
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 = " l i b a r c h i v e - ${ version } " ;
src = fetchurl {
url = " h t t p : / / p y t h o n - l i b a r c h i v e . g o o g l e c o d e . c o m / f i l e s / p y t h o n - l i b a r c h i v e - ${ version } . t a r . g z " ;
sha256 = " 1 4 1 y x 9 y m 8 g v y b n 6 7 m w 0 l m g a f z s d 7 9 r m d 9 l 7 7 l k 0 k 6 m 2 f z c l q x 1 j 5 " ;
} ;
propagatedBuildInputs = [ pkgs . libarchive ] ;
} ;
2013-03-22 23:38:18 +00:00
pyzmq = buildPythonPackage rec {
name = " p y z m q - 1 3 . 0 . 0 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / p / p y z m q / p y z m q - 1 3 . 0 . 0 . z i p " ;
md5 = " f a 2 1 9 9 0 2 2 e 5 4 a 3 9 3 0 5 2 d 3 8 0 c 6 e 1 a 0 9 3 4 " ;
} ;
buildInputs = [ pkgs . unzip pkgs . zeromq3 ] ;
propagatedBuildInputs = [ ] ;
doCheck = false ;
} ;
2013-03-27 01:24:55 +00:00
tissue = buildPythonPackage rec {
name = " t i s s u e - 0 . 7 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / t / t i s s u e / ${ name } . t a r . g z " ;
md5 = " c 9 f 3 7 7 2 4 0 7 e b 7 4 9 9 a 9 4 9 d a a a 9 b 8 5 9 f d f " ;
} ;
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 = " t r a c i n g - 0 . 7 " ;
2012-06-03 23:11:09 +01:00
src = fetchurl rec {
2012-10-08 11:35:25 +01:00
url = " h t t p : / / c o d e . l i w . f i / d e b i a n / p o o l / m a i n / p / p y t h o n - t r a c i n g / p y t h o n - t r a c i n g _ 0 . 7 . o r i g . t a r . g z " ;
sha256 = " 9 9 5 4 a 1 b 0 c c 6 b 9 5 7 d 1 5 9 7 5 b 0 4 8 f 9 2 9 b b d d 4 6 7 6 6 d 3 9 7 a 6 f a 5 1 b f 8 f 6 4 9 8 b 9 4 5 9 2 7 6 " ;
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 = " P y t h o n d e b u g l o g g i n g h e l p e r . " ;
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 = " t r a n s l a t i o n s t r i n g - 1 . 1 " ;
2013-03-27 01:24:55 +00:00
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / t / t r a n s l a t i o n s t r i n g / ${ name } . t a r . g z " ;
2013-08-11 13:29:40 +01:00
md5 = " 0 9 7 9 b 4 6 d 8 f 0 f 8 5 2 8 1 0 c 8 e c 4 b e 5 c 2 6 c f 2 " ;
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 = " t t y s t a t u s - ${ version } " ;
version = " 0 . 2 2 " ;
2012-06-03 23:11:09 +01:00
src = fetchurl rec {
2013-04-18 15:09:35 +01:00
url = " h t t p : / / c o d e . l i w . f i / d e b i a n / p o o l / m a i n / p / p y t h o n - t t y s t a t u s / p y t h o n - t t y s t a t u s _ ${ version } . o r i g . t a r . g z " ;
sha256 = " 1 h z v 0 s b r v g c m a f f l h v z h 7 p l c i 0 d g 7 w c j l k 3 9 i 8 k q d a s g 6 r w 0 a g 6 f " ;
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 = " P r o g r e s s a n d s t a t u s u p d a t e s o n t e r m i n a l s f o r P y t h o n . " ;
maintainers = [ stdenv . lib . maintainers . rickynils ] ;
} ;
} ;
larch = buildPythonPackage rec {
2013-01-03 12:25:02 +00:00
name = " l a r c h - ${ version } " ;
2013-04-18 15:09:35 +01:00
version = " 1 . 2 0 1 3 0 3 1 6 " ;
2012-06-03 23:11:09 +01:00
src = fetchurl rec {
2013-01-03 12:25:02 +00:00
url = " h t t p : / / c o d e . l i w . f i / d e b i a n / p o o l / m a i n / p / p y t h o n - l a r c h / p y t h o n - l a r c h _ ${ version } . o r i g . t a r . g z " ;
2013-04-18 15:09:35 +01:00
sha256 = " 1 m k v m y 0 j d z d 7 d l v d x 2 a 7 5 w s b j 5 q w 1 c l a w c g n d x 9 j w l 8 1 6 a 9 i y 2 2 5 " ;
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 = " P y t h o n B - t r e e l i b r a r y . " ;
maintainers = [ stdenv . lib . maintainers . rickynils ] ;
} ;
} ;
2013-03-27 01:24:55 +00:00
webhelpers = buildPythonPackage rec {
name = " W e b H e l p e r s - 1 . 3 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / W / W e b H e l p e r s / ${ name } . t a r . g z " ;
md5 = " 3 2 7 4 9 f f a d f c 4 0 f e a 5 1 0 7 5 a 7 d e f 3 2 5 8 8 b " ;
} ;
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 = " w h i s p e r - ${ version } " ;
version = " 0 . 9 . 1 0 " ;
src = fetchurl rec {
url = " h t t p s : / / l a u n c h p a d . n e t / g r a p h i t e / 0 . 9 / ${ version } / + d o w n l o a d / ${ name } . t a r . g z " ;
sha256 = " 1 z y 4 z 4 h r b i q j 4 i p c v 2 m 9 1 9 7 h f 0 3 d 4 x p h l l q a v 9 w 4 c 8 i 6 f n 8 z m d 9 n " ;
} ;
# error: invalid command 'test'
doCheck = false ;
meta = {
homepage = http://graphite.wikidot.com/ ;
description = " F i x e d s i z e r o u n d - r o b i n s t y l e d a t a b a s e " ;
maintainers = [ stdenv . lib . maintainers . rickynils ] ;
} ;
} ;
carbon = buildPythonPackage rec {
name = " c a r b o n - ${ version } " ;
version = " 0 . 9 . 1 0 " ;
src = fetchurl rec {
url = " h t t p s : / / l a u n c h p a d . n e t / g r a p h i t e / 0 . 9 / ${ version } / + d o w n l o a d / ${ name } . t a r . g z " ;
sha256 = " 0 w j h d 8 7 p v p c p v a j 3 w q l 2 d 9 2 g 8 l p p 3 3 i w m x d k p 7 n p i c 5 m j l 2 y 0 d s g " ;
} ;
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 = " B a c k e n d d a t a c a c h i n g a n d p e r s i s t e n c e d a e m o n f o r G r a p h i t e " ;
maintainers = [ stdenv . lib . maintainers . rickynils ] ;
} ;
} ;
2013-02-18 13:08:48 +00:00
unidecode = buildPythonPackage rec {
name = " U n i d e c o d e - 0 . 0 4 . 1 2 " ;
src = fetchurl {
url = " h t t p : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / U / U n i d e c o d e / ${ name } . t a r . g z " ;
md5 = " 3 5 1 d c 9 8 f 4 5 1 2 b d d 2 e 9 3 f 7 a 6 c 4 9 8 7 3 0 e b " ;
} ;
meta = {
homepage = http://pypi.python.org/pypi/Unidecode/ ;
description = " A S C I I t r a n s l i t e r a t i o n s o f U n i c o d e t e x t " ;
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 = " t x a m q p - ${ version } " ;
version = " 0 . 3 " ;
src = fetchurl rec {
url = " h t t p s : / / l a u n c h p a d . n e t / t x a m q p / t r u n k / ${ version } / + d o w n l o a d / p y t h o n - t x a m q p _ ${ version } . o r i g . t a r . g z " ;
sha256 = " 1 r 2 h a 0 r 7 g 1 4 i 4 b 5 f i g v 2 s p i z j r m g f p s p d b l 1 m 0 3 1 l w 9 p x 2 h h m 4 6 3 " ;
} ;
buildInputs = [ twisted ] ;
meta = {
homepage = https://launchpad.net/txamqp ;
description = " L i b r a r y f o r c o m m u n i c a t i n g w i t h A M Q P p e e r s a n d b r o k e r s u s i n g T w i s t e d " ;
maintainers = [ stdenv . lib . maintainers . rickynils ] ;
} ;
} ;
graphite_web = buildPythonPackage rec {
name = " g r a p h i t e - w e b - ${ version } " ;
2013-08-21 09:10:11 +01:00
version = " 0 . 9 . 1 1 " ;
2013-01-03 12:08:23 +00:00
src = fetchurl rec {
2013-08-21 09:10:11 +01:00
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / g / g r a p h i t e - w e b / ${ name } . t a r . g z " ;
md5 = " 1 4 9 9 b 5 d d e d 3 d 1 0 5 4 d 5 9 8 7 6 0 f d 4 5 0 a 6 f 9 " ;
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 " j o i n ( W E B A P P _ D I R , ' c o n t e n t ' ) " " j o i n ( W E B A P P _ D I R , ' w e b a p p ' , ' c o n t e n t ' ) "
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 = " E n t e r p r i s e s c a l a b l e r e a l t i m e g r a p h i n g " ;
maintainers = [ stdenv . lib . maintainers . rickynils ] ;
} ;
} ;
2013-02-26 18:42:04 +00:00
pyspotify = buildPythonPackage rec {
name = " p y s p o t i f y - ${ version } " ;
2013-07-23 10:23:09 +01:00
2013-07-06 07:45:33 +01:00
version = " 1 . 1 1 " ;
2013-07-23 10:23:09 +01:00
2013-07-06 07:45:33 +01:00
src = fetchurl {
url = " h t t p s : / / g i t h u b . c o m / m o p i d y / p y s p o t i f y / a r c h i v e / v 1 . 1 1 . t a r . g z " ;
sha256 = " 0 8 9 m l 6 p q r 3 f 2 d 1 5 n 7 0 j p z b a q j p 5 p j g q l y v 4 a l g k x w 9 2 x s c j w 2 i z g " ;
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 " $ o u t " - 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 P y t h o n i n t e r f a c e t o S p o t i f y ’ s o n l i n e m u s i c s t r e a m i n g s e r v i c e " ;
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 = " p y k k a - ${ 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 = " h t t p s : / / g i t h u b . c o m / j o d a l / p y k k a . g i t " ;
rev = " r e f s / t a g s / v ${ version } " ;
sha256 = " 0 w 6 b c a q k z w m d 9 h a b s z l g j k p 3 k k h k n a 0 8 s 9 a i v n m n a 5 h d d s g h f q m z " ;
} ;
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 P y t h o n i m p l e m e n t a t i o n o f t h e a c t o r m o d e l " ;
maintainers = [ stdenv . lib . maintainers . rickynils ] ;
} ;
} ;
2013-03-03 19:53:48 +00:00
ws4py = buildPythonPackage rec {
name = " w s 4 p y - ${ version } " ;
2013-07-23 10:23:09 +01:00
2013-03-03 19:53:48 +00:00
version = " g i t - 2 0 1 3 0 3 0 3 " ;
2013-07-23 10:23:09 +01:00
2013-03-03 19:53:48 +00:00
src = fetchgit {
url = " h t t p s : / / g i t h u b . c o m / L a w o u a c h / W e b S o c k e t - f o r - P y t h o n . g i t " ;
rev = " a c e 2 7 6 5 0 0 c a 7 e 4 c 3 5 7 5 9 5 e 3 7 7 3 b e 1 5 1 d 3 7 b c d 6 e 2 " ;
sha256 = " 0 4 m 4 m 3 n c n 7 g 4 r b 8 1 x g 5 n 2 8 i m n s 7 r s q 8 d 2 w 9 8 g j p a i b 6 v l m y l y 3 g 1 " ;
} ;
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 W e b S o c k e t p a c k a g e f o r P y t h o n " ;
maintainers = [ stdenv . lib . maintainers . rickynils ] ;
} ;
} ;
2013-05-31 13:07:44 +01:00
gdata = buildPythonPackage rec {
name = " g d a t a - ${ version } " ;
version = " 2 . 0 . 1 7 " ;
src = fetchurl {
url = " h t t p s : / / g d a t a - p y t h o n - c l i e n t . g o o g l e c o d e . c o m / f i l e s / ${ name } . t a r . g z " ;
# sha1 = "d2d9f60699611f95dd8c328691a2555e76191c0c";
sha256 = " 0 b d a q m i c p b j 9 v 3 p 0 s w v y r q s 7 m 3 5 b z w d w 1 g y 5 6 d 3 k 0 9 n p 6 9 2 j f w m d " ;
} ;
# Fails with "error: invalid command 'test'"
doCheck = false ;
meta = {
homepage = https://code.google.com/p/gdata-python-client/ ;
description = " P y t h o n c l i e n t l i b r a r y f o r G o o g l e d a t a A P I s " ;
license = pkgs . lib . licenses . asl20 ;
} ;
} ;
IMAPClient = buildPythonPackage rec {
name = " I M A P C l i e n t - ${ version } " ;
version = " 0 . 9 . 2 " ;
src = fetchurl {
url = " h t t p : / / f r e s h f o o . c o m / p r o j e c t s / I M A P C l i e n t / ${ name } . t a r . g z " ;
sha256 = " 1 0 a l p j 7 0 7 4 d j s 0 4 8 x j c 4 j 7 g g d 1 n r q d q p y 0 f z l 7 f j 9 h d d p 0 r b c h s 9 " ;
} ;
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 = " E a s y - t o - u s e , P y t h o n i c a n d c o m p l e t e I M A P c l i e n t l i b r a r y " ;
license = pkgs . lib . licenses . bsd3 ;
} ;
} ;
Logbook = buildPythonPackage rec {
name = " L o g b o o k - ${ version } " ;
2013-07-29 17:01:30 +01:00
version = " 0 . 4 . 2 " ;
2013-05-31 13:07:44 +01:00
src = fetchurl {
url = " h t t p s : / / p y p i . p y t h o n . o r g / p a c k a g e s / s o u r c e / L / L o g b o o k / ${ name } . t a r . g z " ;
# md5 = "143cb15af4c4a784ca785a1546ad1b93";
2013-07-29 17:01:30 +01:00
sha256 = " 1 g 2 p n h x h 7 m 6 4 q s r s 0 i f w c m p f k 7 g q j v r a w d 8 z 6 6 i 0 0 1 r s d n q 7 7 8 v 0 " ;
2013-05-31 13:07:44 +01:00
} ;
meta = {
homepage = http://pythonhosted.org/Logbook/ ;
description = " A l o g g i n g r e p l a c e m e n t f o r P y t h o n " ;
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-09-23 04:52:51 +01:00
rev = " 0 4 a 6 8 d 8 5 7 7 a c b c e b 8 8 b d f 5 1 b 1 2 3 1 a 9 d b d e a d 7 0 0 3 " ;
2013-08-15 13:32:25 +01:00
name = " p y p i 2 n i x - 1 . 0 _ ${ rev } " ;
src = pkgs . fetchurl {
url = " h t t p s : / / g i t h u b . c o m / g a r b a s / p y p i 2 n i x / t a r b a l l / ${ rev } " ;
name = " ${ name } . t a r . b z " ;
2013-09-23 04:52:51 +01:00
sha256 = " 1 f v 8 5 x 2 b z 4 4 2 i y x s v k a 2 g 7 5 z i b j c q 4 8 g p 2 f c 7 s z a q c f q x q 4 2 s y y 9 " ;
2013-08-15 13:32:25 +01:00
} ;
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