2014-03-10 09:29:03 +00:00
{ pkgs , python }:
with pkgs . lib ;
2010-04-21 11:51:15 +01:00
2013-01-21 05:42:22 +00:00
let
2014-03-10 09:29:03 +00:00
isPy26 = python . majorVersion == " 2 . 6 " ;
isPy27 = python . majorVersion == " 2 . 7 " ;
isPy33 = python . majorVersion == " 3 . 3 " ;
isPy34 = python . majorVersion == " 3 . 4 " ;
isPyPy = python . executable == " p y p y " ;
2014-08-24 15:01:21 +01:00
isPy3k = strings . substring 0 1 python . majorVersion == " 3 " ;
2014-03-10 09:29:03 +00:00
# Unique python version identifier
pythonName =
if isPy26 then " p y t h o n 2 6 " else
if isPy27 then " p y t h o n 2 7 " else
if isPy33 then " p y t h o n 3 3 " else
if isPy34 then " p y t h o n 3 4 " else
if isPyPy then " p y p y " else " " ;
modules = python . modules or { readline = null ; sqlite3 = null ; curses = null ; curses_panel = 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 ;
2014-03-10 09:29:03 +00:00
} //
2011-03-28 10:48:57 +01:00
2014-03-10 09:29:03 +00:00
# Python packages for all python versions
rec {
2014-08-24 15:53:52 +01:00
inherit python isPy26 isPy27 isPy33 isPy34 isPyPy isPy3k pythonName ;
2014-03-08 18:47:23 +00:00
inherit ( pkgs ) fetchurl fetchsvn fetchgit stdenv unzip ;
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
2014-03-10 09:29:03 +00:00
callPackage = callPackageWith ( pkgs // pythonPackages ) ;
2013-07-02 15:57:10 +01:00
2014-01-06 22:24:05 +00:00
# global distutils config used by buildPythonPackage
distutils-cfg = callPackage ../development/python-modules/distutils-cfg { } ;
buildPythonPackage = callPackage ../development/python-modules/generic { } ;
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 ;
2014-03-07 13:33:59 +00:00
substitutions . executable = " ${ python } / b i n / ${ python . executable } " ;
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
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 ;
2014-01-06 22:35:39 +00:00
inherit python wrapPython distutils-cfg ;
2011-03-29 16:02:15 +01:00
} ;
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 { } ;
2014-01-08 08:39:05 +00:00
dbus = import ../development/python-modules/dbus {
inherit ( pkgs ) stdenv fetchurl pkgconfig dbus dbus_glib dbus_tools ;
inherit python ;
} ;
2014-07-01 01:59:51 +01:00
discid = buildPythonPackage rec {
name = " d i s c i d - 1 . 1 . 0 " ;
meta = with stdenv . lib ; {
description = " P y t h o n b i n d i n g o f l i b d i s c i d " ;
homepage = " h t t p s : / / p y t h o n - d i s c i d . r e a d t h e d o c s . o r g / " ;
license = licenses . lgpl3Plus ;
platforms = platforms . linux ;
maintainer = with maintainers ; [ iyzsong ] ;
} ;
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 i s c i d / ${ name } . t a r . g z " ;
md5 = " 2 a d 2 1 4 1 4 5 2 d d 1 0 b 0 3 a d 9 6 c c d a d 0 7 5 2 3 5 " ;
} ;
patchPhase = ''
substituteInPlace discid/libdiscid.py \
- - replace ' _open_library ( _LIB_NAME ) ' " _ o p e n _ l i b r a r y ( ' ${ pkgs . libdiscid } / l i b / l i b d i s c i d . s o . 0 ' ) "
'' ;
} ;
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 ;
2014-01-28 11:13:28 +00:00
qtconsoleSupport = ! pkgs . stdenv . isDarwin ; # qt is not supported on darwin
pylabQtSupport = ! pkgs . stdenv . isDarwin ;
pylabSupport = ! pkgs . stdenv . isDarwin ; # cups is not supported on darwin
2011-09-21 21:05:24 +01:00
} ;
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 ;
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 {
2014-05-20 11:42:39 +01:00
inherit ( pkgs ) stdenv fetchurl fetchpatch pkgconfig cairo x11 ;
2013-01-11 14:23:44 +00:00
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-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
2014-01-08 08:39:05 +00:00
pyqt4 = import ../development/python-modules/pyqt/4.x.nix {
inherit ( pkgs ) stdenv fetchurl pkgconfig qt4 makeWrapper ;
inherit ( pkgs . xorg ) lndir ;
inherit python sip ;
pythonDBus = dbus ;
} ;
2014-07-07 07:23:55 +01:00
pyqt5 = import ../development/python-modules/pyqt/5.x.nix {
inherit ( pkgs ) stdenv fetchurl pkgconfig qt5 makeWrapper ;
inherit ( pkgs . xorg ) lndir ;
inherit python ;
sip = sip_4_16 ;
pythonDBus = dbus ;
} ;
2014-01-08 08:06:08 +00:00
sip = import ../development/python-modules/sip {
inherit ( pkgs ) stdenv fetchurl ;
inherit python ;
} ;
2014-07-07 07:20:15 +01:00
sip_4_16 = import ../development/python-modules/sip/4.16.nix {
inherit ( pkgs ) stdenv fetchurl ;
inherit python ;
} ;
2014-06-14 17:24:50 +01:00
tables = import ../development/python-modules/tables {
inherit ( pkgs ) stdenv fetchurl bzip2 lzo ;
inherit python buildPythonPackage cython numpy numexpr ;
hdf5 = pkgs . hdf5 . override { zlib = pkgs . zlib ; } ;
} ;
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 {
2013-11-24 12:04:06 +00:00
name = " a c t d i a g - 0 . 5 . 1 " ;
2013-09-21 18:31:40 +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 / a / a c t d i a g / ${ name } . t a r . g z " ;
2013-11-24 12:04:06 +00:00
md5 = " 1 7 1 c 4 7 b c 1 f 7 0 e 5 f a d f f f d 9 d f 0 c 3 1 5 7 b e " ;
2013-09-21 18:31:40 +01:00
} ;
buildInputs = [ pep8 nose unittest2 docutils ] ;
propagatedBuildInputs = [ blockdiag ] ;
2013-11-24 12:04:06 +00:00
# One test fails:
# UnicodeEncodeError: 'ascii' codec can't encode character u'\u3042' in position 0: ordinal not in range(128)
2013-09-21 18:31:40 +01:00
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 {
2014-06-01 14:42:07 +01:00
rev = " 9 7 4 4 c 1 8 c 4 d 6 b 0 a 3 e 7 f 5 7 b 0 1 e 5 f e 1 4 5 a 6 0 f c 8 2 a 4 7 " ;
2012-09-28 16:06:07 +01:00
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 " ;
2014-06-01 14:42:07 +01:00
sha256 = " 1 q y b a n 0 2 2 a j i 2 h l 9 1 d h 0 j 3 x a 6 i k k x l 5 a r g c 6 w 7 1 y p 2 x 8 b 0 2 k p 3 m f " ;
2012-04-30 15:34:57 +01:00
} ;
2013-11-02 03:09:27 +00:00
buildInputs = [ pkgs . dbacl ] ;
propagatedBuildInputs = [
pythonPackages . notmuch
pythonPackages . chardet
2014-08-24 15:57:50 +01:00
] ++ optional ( ! isPy3k ) pythonPackages . subprocess32 ;
2012-04-30 15:34:57 +01:00
doCheck = false ;
2013-11-03 17:58:27 +00:00
preConfigure = ''
substituteInPlace afew/DBACL.py - - replace " ' d b a c l ' " " ' ${ pkgs . dbacl } / b i n / d b a c l ' "
'' ;
2012-04-30 15:34:57 +01:00
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
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
2014-05-29 11:20:24 +01:00
pythonPackages . psycopg2
2013-03-27 01:24:55 +00:00
] ;
postInstall = ''
2013-03-27 08:21:59 +00:00
ln - s $ { pkgs . bacula } /bin/bconsole $ out/bin
2013-03-27 01:24:55 +00:00
'' ;
meta = {
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
platforms = stdenv . lib . platforms . all ;
} ;
} ;
2012-04-30 15:34:57 +01:00
alot = buildPythonPackage rec {
2014-06-01 14:42:07 +01:00
rev = " f a 4 d d f 0 0 0 d c 2 a c 4 9 3 3 8 5 2 b 2 1 0 9 0 1 b 6 4 9 6 3 4 a 5 f 8 6 " ;
2013-11-02 03:09:27 +00:00
name = " a l o t - 0 . 3 . 5 _ ${ 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 " ;
2014-06-01 14:42:07 +01:00
sha256 = " 0 h 1 1 l q y x g 0 x b k c 9 y 1 x q j v d 0 k m f m 5 p d w n m v 9 c h m l s i 1 6 1 4 d x n 0 8 n 0 " ;
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 " ;
} ;
2014-03-08 18:47:23 +00:00
buildInputs = [ 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
} ) ;
2014-02-08 12:42:04 +00:00
async = buildPythonPackage rec {
name = " a s y n c - 0 . 6 . 1 " ;
meta . maintainers = [ stdenv . lib . maintainers . mornfall ] ;
buildInputs = [ pkgs . zlib ] ;
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 / a / a s y n c / ${ name } . t a r . g z " ;
sha256 = " 1 l f m j m 8 a p y 9 q p n p b q 8 g 6 4 1 f d 0 1 q x h 9 j l y a 5 g 2 d 6 z 6 0 v f 8 p 0 4 r l a 1 " ;
} ;
} ;
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-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/ ;
2014-06-19 05:19:00 +01:00
license = stdenv . lib . licenses . asl20 ;
2010-04-21 11:51:15 +01:00
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 .
'' ;
} ;
} ) ;
2014-05-13 15:10:17 +01:00
astroid = buildPythonPackage ( rec {
name = " a s t r o i d - 1 . 1 . 1 " ;
propagatedBuildInputs = [ logilab_common ] ;
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 s t r o i d / ${ name } . t a r . g z " ;
sha256 = " 1 x 7 1 0 3 m l z n d g g 6 6 y a s 6 x r f w k w p i h c q 4 b i 9 m 8 p y 1 f j n h z 8 p 5 k a 1 v q " ;
} ;
} ) ;
2014-04-04 15:48:10 +01:00
autopep8 = buildPythonPackage ( rec {
2014-08-24 16:00:17 +01:00
name = " a u t o p e p 8 - 1 . 0 . 3 " ;
2014-04-04 15:48:10 +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 / a / a u t o p e p 8 / ${ name } . t a r . g z " ;
2014-08-24 16:00:17 +01:00
md5 = " 7 c 1 6 d 3 8 5 c f 9 a d 7 c 1 d 7 f b c f c e a 2 5 8 8 a 5 6 " ;
2014-04-04 15:48:10 +01:00
} ;
propagatedBuildInputs = [ pep8 ] ;
# One test fails:
# FAIL: test_recursive_should_not_crash_on_unicode_filename (test.test_autopep8.CommandLineTests)
doCheck = false ;
meta = with stdenv . lib ; {
description = " A t o o l t h a t a u t o m a t i c a l l y f o r m a t s P y t h o n c o d e t o c o n f o r m t o t h e P E P 8 s t y l e g u i d e " ;
homepage = https://pypi.python.org/pypi/autopep8/ ;
license = licenses . mit ;
platforms = platforms . all ;
maintainers = [ maintainers . bjornfor ] ;
} ;
} ) ;
2014-05-13 12:19:38 +01:00
avro = buildPythonPackage ( rec {
name = " a v r o - 1 . 7 . 6 " ;
2014-08-24 15:01:21 +01:00
disabled = isPy3k ;
2014-05-13 12:19:38 +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 / a / a v r o / ${ name } . t a r . g z " ;
md5 = " 7 f 4 8 9 3 2 0 5 e 5 a d 6 9 a c 8 6 f 6 b 4 4 e f b 7 d f 7 2 " ;
} ;
meta = with stdenv . lib ; {
description = " A s e r i a l i z a t i o n a n d R P C f r a m e w o r k " ;
homepage = " h t t p s : / / p y p i . p y t h o n . o r g / p y p i / a v r o / " ;
} ;
} ) ;
2014-05-13 15:10:35 +01:00
avro3k = pkgs . lowPrio ( buildPythonPackage ( rec {
name = " a v r o 3 k - 1 . 7 . 7 - S N A P S H O T " ;
2014-08-24 15:01:21 +01:00
disabled = ( ! isPy3k ) ;
2014-05-13 15:10:35 +01:00
src = fetchurl {
2014-05-13 22:35:39 +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 / a / a v r o 3 k / ${ name } . t a r . g z " ;
2014-05-13 15:10:35 +01:00
sha256 = " 1 5 a h l 0 i r w w j 5 5 8 s 9 6 4 a b d x g 4 v p 6 i w l a b r i 7 k l s m 2 a m 6 q 5 r 0 n g s k y " ;
} ;
2014-05-13 15:13:49 +01:00
doCheck = false ; # No such file or directory: './run_tests.py
2014-05-13 15:10:35 +01:00
meta = with stdenv . lib ; {
description = " A s e r i a l i z a t i o n a n d R P C f r a m e w o r k " ;
homepage = " h t t p s : / / p y p i . p y t h o n . o r g / p y p i / a v r o 3 k / " ;
} ;
} ) ) ;
2014-03-31 02:59:04 +01:00
backports_ssl_match_hostname_3_4_0_2 = pythonPackages . buildPythonPackage rec {
name = " b a c k p o r t s . s s l _ m a t c h _ h o s t n a m e - 3 . 4 . 0 . 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 / b / b a c k p o r t s . s s l _ m a t c h _ h o s t n a m e / b a c k p o r t s . s s l _ m a t c h _ h o s t n a m e - 3 . 4 . 0 . 2 . t a r . g z " ;
md5 = " 7 8 8 2 1 4 f 2 0 2 1 4 c 6 4 6 3 1 f 0 8 5 9 d c 7 9 f 2 3 c 6 " ;
} ;
meta = {
description = " T h e S e c u r e S o c k e t s l a y e r i s o n l y a c t u a l l y * s e c u r e * " ;
homepage = http://bitbucket.org/brandon/backports.ssl_match_hostname ;
} ;
} ;
2014-02-12 14:19:01 +00:00
bcdoc = buildPythonPackage rec {
name = " b c d o c - 0 . 1 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 / b / b c d o c / b c d o c - 0 . 1 2 . 1 . t a r . g z " ;
md5 = " 7 c 8 6 1 7 3 4 7 c 2 9 4 e a 4 d 3 6 e c 7 3 f b 5 b 2 c 2 6 e " ;
} ;
buildInputs = [ pythonPackages . docutils pythonPackages . six ] ;
meta = {
homepage = https://github.com/botocore/bcdoc ;
2014-06-19 05:19:00 +01:00
license = stdenv . lib . licenses . asl20 ;
2014-02-12 14:19:01 +00:00
description = " R e S T d o c u m e n t g e n e r a t i o n t o o l s f o r b o t o c o r e " ;
} ;
} ;
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 " ;
2014-08-24 16:04:31 +01:00
disabled = isPy3k ;
2013-04-07 00:52:52 +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 / 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 ;
} ;
} ;
2014-04-14 10:54:32 +01:00
bedup = buildPythonPackage rec {
2014-08-21 02:01:53 +01:00
name = " b e d u p - 2 0 1 4 0 4 1 3 " ;
2014-04-14 10:54:32 +01:00
src = fetchgit {
2014-04-16 20:48:13 +01:00
url = " h t t p s : / / g i t h u b . c o m / g 2 p / b e d u p . g i t " ;
2014-08-21 02:01:53 +01:00
rev = " 5 1 8 9 e 1 6 6 1 4 5 b 8 9 5 4 a c 4 1 8 8 3 f 8 1 e f 3 c 3 b 5 0 d c 9 6 a b " ;
sha256 = " e 6 1 7 6 8 f a 1 9 9 3 4 b d 1 7 6 7 9 9 f 9 0 b d a 3 e a 9 f 4 9 a 5 d e f 2 1 f a 2 5 2 3 a 8 e 4 7 d f 8 a 4 8 e 7 3 0 e 9 " ;
2014-04-14 10:54:32 +01:00
} ;
buildInputs = [ pkgs . btrfsProgs ] ;
2014-08-21 02:01:53 +01:00
propagatedBuildInputs = with pkgs ; [ contextlib2 sqlalchemy8 pyxdg pycparser cffi alembic ] ;
2014-04-14 10:54:32 +01:00
meta = {
description = " D e d u p l i c a t i o n f o r B t r f s " ;
longDescription = ''
Deduplication for Btrfs . bedup looks for new and changed files , making sure that multiple
copies of identical files share space on disk . It integrates deeply with btrfs so that scans
are incremental and low-impact .
'' ;
homepage = https://github.com/g2p/bedup ;
license = stdenv . lib . licenses . gpl2 ;
platforms = stdenv . lib . platforms . linux ;
maintainers = [ stdenv . lib . maintainers . bluescreen303 ] ;
} ;
} ;
2013-04-07 00:52:52 +01:00
beets = buildPythonPackage rec {
2014-07-08 08:35:55 +01:00
name = " b e e t s - 1 . 3 . 6 " ;
2013-04-07 00:52:52 +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 / b / b e e t s / ${ name } . t a r . g z " ;
2014-07-08 08:35:55 +01:00
md5 = " 5 9 6 1 5 a 5 4 b 3 a c 3 9 8 3 1 5 9 e 7 7 f f 9 d d a 3 7 3 e " ;
2013-04-07 00:52:52 +01:00
} ;
# tests depend on $HOME setting
2014-01-06 22:35:39 +00:00
preConfigure = " e x p o r t H O M E = $ T M P D I R " ;
2013-04-07 00:52:52 +01:00
2013-04-13 08:52:50 +01:00
propagatedBuildInputs =
[ pythonPackages . pyyaml
pythonPackages . unidecode
pythonPackages . mutagen
pythonPackages . munkres
pythonPackages . musicbrainzngs
2014-07-08 08:35:55 +01:00
pythonPackages . enum34
pythonPackages . pylast
pythonPackages . rarfile
pythonPackages . flask
2013-07-27 19:51:54 +01:00
modules . sqlite3
modules . readline
2013-04-13 08:52:50 +01:00
] ;
2014-07-08 08:35:55 +01:00
buildInputs = with pythonPackages ; [ mock pyechonest six responses nose ] ;
# 10 tests are failing
doCheck = false ;
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 " ;
2014-03-10 09:29:03 +00:00
license = licenses . mit ;
2013-04-07 00:52:52 +01:00
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
2014-07-08 08:35:55 +01:00
responses = pythonPackages . buildPythonPackage rec {
name = " r e s p o n s e s - 0 . 2 . 2 " ;
propagatedBuildInputs = with pythonPackages ; [ requests mock six pytest flake8 ] ;
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 / r / r e s p o n s e s / r e s p o n s e s - 0 . 2 . 2 . t a r . g z " ;
md5 = " 5 d 7 9 f d 4 2 5 c f 8 d 8 5 8 d f c 8 a f a 6 4 7 5 3 9 5 d 3 " ;
} ;
} ;
rarfile = pythonPackages . buildPythonPackage rec {
name = " r a r f i l e - 2 . 6 " ;
propagatedBuildInputs = with pythonPackages ; [ ] ;
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 / r / r a r f i l e / r a r f i l e - 2 . 6 . t a r . g z " ;
md5 = " 5 0 c e 3 f 3 f d b 9 1 9 6 a 0 0 0 5 9 a 5 e a 7 b 3 7 3 9 f d " ;
} ;
meta = with stdenv . lib ; {
description = " r a r f i l e - R A R a r c h i v e r e a d e r f o r P y t h o n " ;
homepage = https://github.com/markokr/rarfile ;
} ;
} ;
pyechonest = pythonPackages . buildPythonPackage rec {
name = " p y e c h o n e s t - 8 . 0 . 2 " ;
propagatedBuildInputs = with pythonPackages ; [ ] ;
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 e c h o n e s t / p y e c h o n e s t - 8 . 0 . 2 . t a r . g z " ;
md5 = " 5 5 8 6 f e 8 e c e 7 a f 4 e 2 4 f 7 1 e a 7 4 0 1 8 5 1 2 7 e " ;
} ;
meta = with stdenv . lib ; {
description = " T a p i n t o T h e E c h o N e s t ' s M u s i c a l B r a i n f o r t h e b e s t m u s i c s e a r c h , i n f o r m a t i o n , r e c o m m e n d a t i o n s a n d r e m i x t o o l s o n t h e w e b " ;
homepage = https://github.com/echonest/pyechonest ;
} ;
} ;
2013-04-07 00:52:52 +01:00
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 " ;
2014-03-10 09:29:03 +00:00
license = licenses . mit ;
2013-07-17 21:19:29 +01:00
} ;
} ;
2014-07-08 20:58:30 +01:00
bitbucket-cli = buildPythonPackage rec {
name = " b i t b u c k e t - c l i - 0 . 4 . 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 / b / b i t b u c k e t - c l i / ${ name } . t a r . g z " ;
md5 = " 7 9 c d b d c 6 c 9 5 d f a 3 1 3 d 1 2 c b d e f 4 0 6 c 9 f 2 " ;
} ;
pythonPath = [ requests ] ;
meta = with stdenv . lib ; {
description = " B i t b u c k e t c o m m a n d l i n e i n t e r f a c e " ;
homepage = " h t t p s : / / b i t b u c k e t . o r g / z h e m a o / b i t b u c k e t - c l i " ;
2014-07-09 01:03:49 +01:00
maintainers = [ maintainers . refnil ] ;
2014-07-08 20:58:30 +01:00
} ;
} ;
2013-07-17 21:19:29 +01:00
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 " ;
} ;
# 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 {
2013-11-24 11:58:21 +00:00
name = " b l o c k d i a g - 1 . 3 . 2 " ;
2013-09-21 17:15:18 +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 / b / b l o c k d i a g / ${ name } . t a r . g z " ;
2013-11-24 11:58:21 +00:00
md5 = " 6 0 2 a 8 7 5 0 f 3 1 2 e e e e 8 4 d 6 d 1 3 8 0 5 5 d f a e 7 " ;
2013-09-21 17:15:18 +01:00
} ;
buildInputs = [ pep8 nose unittest2 docutils ] ;
2013-11-24 11:58:21 +00:00
propagatedBuildInputs = [ pillow webcolors funcparserlib ] ;
2013-09-21 17:15:18 +01:00
# 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 } " ;
2014-08-04 13:35:09 +01:00
version = " 2 . 3 2 . 0 " ;
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 " ;
2014-08-04 13:35:09 +01:00
sha256 = " 0 b l 5 y 7 m 0 m 8 4 r z 4 q 7 h x 7 8 3 k x p j 1 n 9 w c m 7 d h v 5 4 b n x 8 c n a n y d 1 3 c x n " ;
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 {
2014-02-12 14:33:50 +00:00
version = " 0 . 3 3 . 0 " ;
2013-07-31 12:32:25 +01:00
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 " ;
2014-02-12 14:33:50 +00:00
md5 = " 6 7 4 3 c 7 3 a 2 e 1 4 8 a b a a 9 c 4 8 7 a 6 e 2 e e 5 3 a 3 " ;
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 ;
2013-11-21 11:33:20 +00:00
# A patched version of buildout, useful for buildout based development on Nix
zc_buildout_nix = callPackage ../development/python-modules/buildout-nix { } ;
2014-06-22 02:29:57 +01:00
zc_recipe_egg = zc_recipe_egg_buildout171 ;
2013-04-17 00:25:45 +01:00
zc_buildout = zc_buildout171 ;
2013-11-21 11:33:20 +00:00
zc_buildout2 = zc_buildout221 ;
zc_buildout221 = buildPythonPackage rec {
name = " z c . b u i l d o u t - 2 . 2 . 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 c . b u i l d o u t / ${ name } . t a r . g z " ;
md5 = " 4 7 6 a 0 6 e e d 0 8 5 0 6 9 2 5 c 7 0 0 1 0 9 1 1 9 b 6 e 4 1 " ;
} ;
meta = {
homepage = " h t t p : / / w w w . b u i l d o u t . o r g " ;
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 " ;
2014-03-10 09:29:03 +00:00
license = licenses . zpt21 ;
2013-11-21 11:33:20 +00:00
maintainers = [ stdenv . lib . maintainers . garbas ] ;
} ;
} ;
2013-04-17 00:25:45 +01:00
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 " ;
2014-03-10 09:29:03 +00:00
license = licenses . zpt21 ;
2013-04-17 00:25:45 +01:00
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 " ;
2014-03-10 09:29:03 +00:00
license = licenses . zpt21 ;
2013-04-17 00:25:45 +01:00
maintainers = [ stdenv . lib . maintainers . garbas ] ;
2013-01-17 23:45:13 +00:00
} ;
} ;
2014-06-22 02:29:57 +01:00
zc_recipe_egg_fun = { buildout , version , md5 }: buildPythonPackage rec {
inherit version ;
name = " z c . r e c i p e . e g g - ${ version } " ;
buildInputs = [ buildout ] ;
doCheck = false ;
src = fetchurl {
inherit md5 ;
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 / z / z c . r e c i p e . e g g / z c . r e c i p e . e g g - ${ version } . t a r . g z " ;
} ;
} ;
zc_recipe_egg_buildout171 = zc_recipe_egg_fun {
buildout = zc_buildout171 ;
version = " 1 . 3 . 2 " ;
md5 = " 1 c b 6 a f 7 3 f 5 2 7 4 9 0 d d e 4 6 1 d 3 6 1 4 a 3 6 4 7 5 " ;
} ;
zc_recipe_egg_buildout2 = zc_recipe_egg_fun {
buildout = zc_buildout2 ;
version = " 2 . 0 . 1 " ;
md5 = " 5 e 8 1 e 9 d 4 c c 6 2 0 0 f 5 b 1 a b c f 7 c 6 5 3 d d 9 e 3 " ;
} ;
2014-02-08 12:42:04 +00:00
bunch = buildPythonPackage ( rec {
name = " b u n c h - 1 . 0 . 1 " ;
meta . maintainers = [ stdenv . lib . maintainers . mornfall ] ;
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 u n c h / ${ name } . t a r . g z " ;
sha256 = " 1 a k a l x 2 p d 1 f j l v r q 6 9 p l v c x 7 8 3 p p s l v i k q d m 9 3 z 2 s d y b q 0 7 p m i s h " ;
} ;
doCheck = false ;
} ) ;
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
2014-06-26 12:13:28 +01:00
click = buildPythonPackage {
name = " c l i c k - 2 . 1 " ;
src = fetchurl {
url = https://pypi.python.org/packages/source/c/click/click-2.1.tar.gz ;
md5 = " 0 b a 9 7 b a 0 9 a f 8 2 c 5 6 e 2 d 3 5 f 3 4 1 2 d 0 a a 6 e " ;
} ;
meta = {
homepage = " h t t p : / / c l i c k . p o c o o . o r g / " ;
description = " C l i c k i s a P y t h o n p a c k a g e f o r c r e a t i n g b e a u t i f u l c o m m a n d l i n e i n t e r f a c e s i n a c o m p o s a b l e w a y w i t h a s l i t t l e c o d e a s n e c e s s a r y . " ;
license = " b s d , 3 - c l a u s e " ;
} ;
} ;
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-12-28 20:15:49 +00:00
propagatedBuildInputs = [ pythonPackages . stompclient ] ;
preConfigure = ''
sed - i ' /distribute/d ' setup . py
'' ;
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/ ;
2014-03-10 09:29:03 +00:00
license = licenses . asl20 ;
2012-06-12 21:16:04 +01:00
} ;
} ) ;
2013-03-27 01:24:55 +00:00
colander = buildPythonPackage rec {
2013-11-28 13:25:37 +00:00
name = " c o l a n d e r - 1 . 0 b 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 / c / c o l a n d e r / ${ name } . t a r . g z " ;
2013-11-28 13:25:37 +00:00
md5 = " 8 9 f 2 c f 4 b 5 c 8 7 d 4 3 f 7 9 1 7 d 6 a 0 d 4 8 7 2 e 6 a " ;
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 ;
2014-03-10 09:29:03 +00:00
license = licenses . mit ;
2013-09-20 16:48:03 +01:00
} ;
} ;
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 ;
2014-03-10 09:29:03 +00:00
license = licenses . bsd3 ;
2012-04-30 15:34:57 +01:00
maintainers = [ stdenv . lib . maintainers . garbas ] ;
} ;
} ) ;
2013-07-07 18:23:10 +01:00
2013-12-18 04:16:50 +00:00
configshell_fb = buildPythonPackage rec {
version = " 1 . 1 . f b 1 0 " ;
name = " c o n f i g s h e l l - f b - ${ version } " ;
src = fetchurl {
url = " h t t p s : / / g i t h u b . c o m / a g r o v e r / c o n f i g s h e l l - f b / a r c h i v e / v ${ version } . t a r . g z " ;
sha256 = " 1 d d 8 7 x v m 9 8 n k 3 j z y b b 0 4 1 g j d a h i 2 z 9 b 5 3 p w q h y x c f j 4 a 9 1 y 8 2 n d y " ;
} ;
2014-01-25 10:30:06 +00:00
2013-12-18 04:16:50 +00:00
propagatedBuildInputs = [
pyparsing
modules . readline
urwid
] ;
meta = {
description = " A P y t h o n l i b r a r y f o r b u i l d i n g c o n f i g u r a t i o n s h e l l s " ;
homepage = " h t t p s : / / g i t h u b . c o m / a g r o v e r / c o n f i g s h e l l - f b " ;
platforms = stdenv . lib . platforms . linux ;
} ;
} ;
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 ] ;
} ;
} ;
2014-04-14 10:54:14 +01:00
contextlib2 = buildPythonPackage rec {
name = " c o n t e x t l i b 2 - 0 . 4 . 0 " ;
src = fetchurl rec {
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 t e x t l i b 2 / ${ name } . t a r . g z " ;
md5 = " e a 6 8 7 2 0 7 d b 2 5 f 6 5 5 5 2 0 6 1 d b 4 a 2 c 6 7 2 7 d " ;
} ;
} ;
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/ ;
2014-03-10 09:29:03 +00:00
license = licenses . bsd3 ;
2012-12-05 11:22:01 +00:00
} ;
} ;
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
} ;
2014-02-27 15:35:37 +00:00
cython = buildPythonPackage rec {
name = " C y t h o n - 0 . 2 0 . 1 " ;
2014-05-13 10:48:38 +01:00
2014-02-27 15:35:37 +00:00
src = fetchurl {
url = " h t t p : / / w w w . c y t h o n . o r g / r e l e a s e / ${ name } . t a r . g z " ;
sha256 = " 0 v 3 n c 9 z 5 y n n n j d g c g k y y 5 g 9 w a z m k j v 5 3 n n p j a l 1 v 3 m r 1 9 9 s 6 7 9 9 i " ;
} ;
2014-05-13 10:48:38 +01:00
2014-02-27 15:35:37 +00:00
setupPyBuildFlags = [ " - - b u i l d - b a s e = $ o u t " ] ;
2014-05-13 10:48:38 +01:00
2014-02-27 15:35:37 +00:00
buildInputs = [ pkgs . pkgconfig ] ;
2014-05-13 10:48:38 +01:00
2014-02-27 15:35:37 +00:00
meta = {
description = " A n i n t e r p r e t e r t o h e l p w r i t i n g C e x t e n s i o n s f o r P y t h o n 2 " ;
platforms = stdenv . lib . platforms . all ;
} ;
} ;
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 ] ;
} ;
} ;
2014-08-14 20:04:16 +01:00
detox = pythonPackages . buildPythonPackage rec {
name = " d e t o x - 0 . 9 . 3 " ;
propagatedBuildInputs = with pythonPackages ; [ tox py eventlet ] ;
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 t o x / d e t o x - 0 . 9 . 3 . t a r . g z " ;
md5 = " b 5 2 5 8 8 e c 6 1 c d 4 c 2 d 3 3 e 4 1 9 6 7 7 a 5 e a c 8 c " ;
} ;
meta = with stdenv . lib ; {
description = " W h a t i s d e t o x ? " ;
homepage = http://bitbucket.org/hpk42/detox ;
} ;
} ;
2013-08-13 10:13:59 +01:00
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 ] ;
} ;
} ;
2013-12-14 10:26:38 +00:00
pycollada = buildPythonPackage rec {
name = " p y c o l l a d a - 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 c o l l a d a / ${ name } . t a r . g z " ;
md5 = " 5 d 0 f 0 0 c 0 3 5 4 9 1 b 9 4 5 c d c c d f d 8 a 6 9 8 a d 2 " ;
} ;
# pycollada-0.4 needs python-dateutil==1.5
buildInputs = [ dateutil_1_5 numpy ] ;
# Some tests fail because they refer to test data files that don't exist
# (upstream packaging issue)
doCheck = false ;
meta = with stdenv . lib ; {
description = " P y t h o n l i b r a r y f o r r e a d i n g a n d w r i t i n g c o l l a d a d o c u m e n t s " ;
homepage = http://pycollada.github.io/ ;
license = " B S D " ; # they don't specify which BSD variant
2013-12-14 13:22:29 +00:00
platforms = with platforms ; linux ++ darwin ;
2013-12-14 10:26:38 +00:00
maintainers = [ maintainers . bjornfor ] ;
} ;
} ;
2013-08-13 10:13:59 +01:00
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 {
2014-01-06 22:21:15 +00:00
name = " p y t e s t - 2 . 5 . 1 " ;
2013-08-13 10:13:59 +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 e s t / ${ name } . t a r . g z " ;
2014-01-06 22:21:15 +00:00
md5 = " 4 e 1 5 5 a 0 1 3 4 e 6 7 5 7 b 3 7 c c 6 6 9 8 c 2 0 f 3 e 9 f " ;
2013-08-13 10:13:59 +01:00
} ;
2014-01-06 22:35:39 +00:00
preCheck = ''
# broken on python3, fixed in master, remove in next release
rm doc/en/plugins_index/test_plugins_index.py
# don't test bash builtins
rm testing/test_argcomplete.py
# yaml test are failing
rm doc/en/example/nonpython/test_simple.yml
'' ;
propagatedBuildInputs = [ py ]
2014-04-13 16:21:21 +01:00
++ ( optional isPy26 argparse )
2013-09-24 07:59:51 +01:00
++ 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 ] ;
2014-01-06 22:21:15 +00:00
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 " ;
} ;
2014-03-08 18:47:23 +00:00
buildInputs = [ pytest ] ;
2013-09-20 16:57:18 +01:00
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
} ;
2014-03-08 18:47:23 +00:00
buildInputs = [ 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/ ;
2014-06-19 05:19:00 +01:00
license = stdenv . lib . licenses . lgpl3Plus ;
2010-04-21 11:51:15 +01:00
} ;
} ) ;
darcsver = buildPythonPackage ( rec {
2014-01-10 23:17:24 +00:00
name = " d a r c s v e r - 1 . 7 . 4 " ;
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 " ;
2014-01-10 23:17:24 +00:00
sha256 = " 1 y b 1 c 3 j x q v y 4 r 3 q i w v n b 8 6 q i 5 p l w 6 0 1 8 h 1 5 r 3 y k 5 j i 3 n k 5 4 q d c b 6 " ;
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-12-28 06:35:12 +00:00
name = " d a t e u t i l - 2 . 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 / 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-12-28 06:35:12 +00:00
sha256 = " 0 s 7 4 a d 6 r 7 8 9 8 1 0 s 1 0 d x g v a f 4 8 n i 6 a d a c 2 i c r d a d 3 4 z x y g q q 6 b j 7 f " ;
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 {
2013-12-29 09:09:14 +00:00
name = " d e c o r a t o r - 3 . 4 . 0 " ;
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 " ;
2013-12-29 09:09:14 +00:00
md5 = " 1 e 8 7 5 6 f 7 1 9 d 7 4 6 e 2 f c 0 d d 2 8 b 4 1 2 5 1 3 5 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-11-28 13:25:37 +00:00
name = " d e f o r m - 0 . 9 . 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 / ${ name } . t a r . g z " ;
2013-11-28 13:25:37 +00:00
sha256 = " 0 y m p s j h x z 5 v 8 h 4 h i 1 m v 8 1 1 h 0 6 4 2 2 1 b h 2 6 d 6 8 l 9 h v 1 x 6 m 7 s x b x p d 0 " ;
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 ;
} ;
} ;
2014-03-31 02:59:04 +01:00
derpconf = pythonPackages . buildPythonPackage rec {
name = " d e r p c o n f - 0 . 4 . 9 " ;
propagatedBuildInputs = [ 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 / d / d e r p c o n f / ${ name } . t a r . g z " ;
md5 = " a 1 6 4 8 0 7 d 7 b f 0 c 4 a d f 1 d e 7 8 1 3 0 5 f 2 9 b 8 2 " ;
} ;
meta = {
description = " d e r p c o n f a b s t r a c t s l o a d i n g c o n f i g u r a t i o n f i l e s f o r y o u r a p p " ;
homepage = https://github.com/globocom/derpconf ;
license = licenses . mit ;
} ;
} ;
2013-06-29 19:07:21 +01:00
2014-08-08 21:05:19 +01:00
dogpile_cache = buildPythonPackage rec {
name = " d o g p i l e . c a c h e - 0 . 5 . 4 " ;
propagatedBuildInputs = [ dogpile_core ] ;
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 o g p i l e . c a c h e / d o g p i l e . c a c h e - 0 . 5 . 4 . t a r . g z " ;
md5 = " 5 1 3 b 7 7 b a 1 b d 0 c 3 1 b b 1 5 d d 9 d d 0 d 8 4 7 1 a f " ;
} ;
doCheck = false ;
meta = {
description = " A c a c h i n g f r o n t - e n d b a s e d o n t h e D o g p i l e l o c k . " ;
homepage = http://bitbucket.org/zzzeek/dogpile.cache ;
license = licenses . bsd3 ;
} ;
} ;
dogpile_core = buildPythonPackage rec {
name = " d o g p i l e . c o r e - 0 . 4 . 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 / d / d o g p i l e . c o r e / d o g p i l e . c o r e - 0 . 4 . 1 . t a r . g z " ;
md5 = " 0 1 c b 1 9 f 5 2 b b a 3 e 9 5 c 9 b 5 6 0 f 3 9 3 4 1 f 0 4 5 " ;
} ;
doCheck = false ;
meta = {
description = " A ' d o g p i l e ' l o c k , t y p i c a l l y u s e d a s a c o m p o n e n t o f a l a r g e r c a c h i n g s o l u t i o n " ;
homepage = http://bitbucket.org/zzzeek/dogpile.core ;
license = licenses . bsd3 ;
} ;
} ;
2014-02-01 15:25:47 +00:00
dpkt = buildPythonPackage rec {
name = " d p k t - 1 . 8 " ;
src = fetchurl {
url = " h t t p s : / / d p k 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 1 q 5 p r y n y m a q y f s f i 2 2 9 6 x n c i c d p i d 2 h s 3 y y a s i m 8 i i g v k w y 4 v f 5 " ;
} ;
# error: invalid command 'test'
doCheck = false ;
meta = with stdenv . lib ; {
description = " F a s t , s i m p l e p a c k e t c r e a t i o n / p a r s i n g , w i t h d e f i n i t i o n s f o r t h e b a s i c T C P / I P p r o t o c o l s " ;
homepage = https://code.google.com/p/dpkt/ ;
license = licenses . bsd3 ;
maintainers = [ maintainers . bjornfor ] ;
platforms = stdenv . lib . platforms . all ;
} ;
} ;
2014-05-13 10:48:38 +01:00
2014-03-12 16:48:04 +00:00
urllib3 = buildPythonPackage rec {
name = " u r l l i b 3 - 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 / u / u r l l i b 3 / ${ name } . t a r . g z " ;
sha256 = " 0 p d i g f x k q 8 m h z x x s n 6 i s x 8 c 4 h 9 a z q y w r 1 k 1 8 y a n w y x y j 8 c d z m 2 8 s " ;
} ;
2014-05-13 10:48:38 +01:00
2014-03-12 16:48:04 +00:00
preConfigure = ''
substituteInPlace test-requirements . txt - - replace ' nose == 1 . 3 ' ' nose'
'' ;
2014-05-13 10:48:38 +01:00
2014-03-12 16:48:04 +00:00
checkPhase = ''
nosetests - - cover-min-percentage 70
'' ;
buildInputs = [ coverage tornado mock nose ] ;
meta = with stdenv . lib ; {
description = " A P y t h o n l i b r a r y f o r D r o p b o x ' s H T T P - b a s e d C o r e a n d D a t a s t o r e A P I s " ;
homepage = https://www.dropbox.com/developers/core/docs ;
license = licenses . mit ;
} ;
} ;
2014-05-13 10:48:38 +01:00
2014-03-12 16:48:04 +00:00
dropbox = buildPythonPackage rec {
name = " d r o p b o x - 2 . 0 . 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 / d / d r o p b o x / ${ name } . z i p " ;
sha256 = " 1 b i 2 z 1 l q l 6 r y y l f f l m i z h q n 9 8 a b 5 5 7 7 7 v n 7 n 5 k r h q z 4 0 p d c j i l k x " ;
} ;
propagatedBuildInputs = [ urllib3 mock setuptools ] ;
meta = with stdenv . lib ; {
description = " A P y t h o n l i b r a r y f o r D r o p b o x ' s H T T P - b a s e d C o r e a n d D a t a s t o r e A P I s " ;
homepage = https://www.dropbox.com/developers/core/docs ;
license = licenses . mit ;
} ;
} ;
2014-02-01 15:25:47 +00:00
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 " ;
} ;
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-10-25 12:23:48 +01:00
faker = buildPythonPackage rec {
name = " f a k e r - 0 . 0 . 4 " ;
src = fetchurl {
url = https://pypi.python.org/packages/source/F/Faker/Faker-0.0.4.tar.gz ;
sha256 = " 0 9 q 5 j n a 3 j 8 d i 0 g w 5 y j x 0 d v l n d k r k 2 x 9 v v q z w y f s v g 3 n l p 8 h 3 8 j s 1 " ;
} ;
buildInputs = [ nose ] ;
meta = with stdenv . lib ; {
description = " A 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 f a k e u s e r d a t a . " ;
homepage = http://pypi.python.org/pypi/Faker ;
license = licenses . mit ;
maintainers = with maintainers ; [ lovek323 ] ;
platforms = platforms . unix ;
} ;
} ;
fake_factory = buildPythonPackage rec {
name = " f a k e - f a c t o r y - 0 . 2 " ;
src = fetchurl {
url = https://pypi.python.org/packages/source/f/fake-factory/fake-factory-0.2.tar.gz ;
sha256 = " 0 q d m k 8 p 4 a n r j 9 m f 9 5 d h 9 v 7 b k h v 1 p z 6 9 h v h l w 3 8 0 k j 4 i z 7 b 4 4 b 6 z n " ;
} ;
meta = with stdenv . lib ; {
description = " A P y t h o n p a c k a g e t h a t g e n e r a t e s f a k e d a t a f o r y o u . " ;
homepage = https://pypi.python.org/pypi/fake-factory ;
license = licenses . mit ;
maintainers = with maintainers ; [ lovek323 ] ;
platforms = platforms . unix ;
} ;
} ;
2013-09-20 16:54:52 +01:00
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
2014-02-21 22:26:56 +00:00
fedora_cert = stdenv . mkDerivation ( rec {
2014-02-08 12:42:04 +00:00
name = " f e d o r a - c e r t - 0 . 5 . 9 . 2 " ;
meta . maintainers = [ stdenv . lib . maintainers . mornfall ] ;
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 / f / e / f e d o r a - p a c k a g e r / f e d o r a - p a c k a g e r - 0 . 5 . 9 . 2 . t a r . b z 2 " ;
sha256 = " 1 0 5 s w v z s h g n 3 g 6 b j w k 6 7 x d 8 p s l n h p x w a 6 3 m d s w 6 c l 4 c 7 c j p 2 b l x 9 " ;
} ;
2014-02-21 22:26:56 +00:00
propagatedBuildInputs = [ python python_fedora wrapPython ] ;
2014-02-08 12:42:04 +00:00
postInstall = " m v $ o u t / b i n / f e d p k g $ o u t / b i n / f e d o r a - c e r t - f e d p k g " ;
doCheck = false ;
2014-02-21 22:26:56 +00:00
postFixup = " w r a p P y t h o n P r o g r a m s " ;
2014-02-08 12:42:04 +00:00
} ) ;
fedpkg = buildPythonPackage ( rec {
name = " f e d p k g - 1 . 1 4 " ;
meta . maintainers = [ stdenv . lib . maintainers . mornfall ] ;
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 / f / e / f e d p k g / f e d p k g - 1 . 1 4 . t a r . b z 2 " ;
sha256 = " 0 r j 6 0 5 2 5 f 2 s v 3 4 g 5 l l a f n k m p v b w r f b m f a j x j c 1 4 l d w z y m p 8 c l c 0 2 " ;
} ;
patches = [ ../development/python-modules/fedpkg-buildfix.diff ] ;
propagatedBuildInputs = [ rpkg offtrac urlgrabber fedora_cert ] ;
} ) ;
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 ;
} ;
} ;
2014-05-28 12:32:21 +01:00
gcutil = buildPythonPackage rec {
name = " g c u t i l - 1 . 1 5 . 0 " ;
meta . maintainers = [ stdenv . lib . maintainers . phreedom ] ;
src = fetchurl {
url = https://dl.google.com/dl/cloudsdk/release/artifacts/gcutil-1.15.0.tar.gz ;
sha256 = " 1 2 c 9 8 i v h j r 0 1 i z 6 l k g a 5 7 4 x m 8 p 0 b s i l 6 a r y d v p b l y w 8 s j k g i m 5 s q " ;
} ;
propagatedBuildInputs = [ gflags iso8601_0_1_4 ipaddr httplib2 google_apputils google_api_python_client ] ;
} ;
2014-02-08 12:42:04 +00:00
gitdb = buildPythonPackage rec {
name = " g i t d b - 0 . 5 . 4 " ;
meta . maintainers = [ stdenv . lib . maintainers . mornfall ] ;
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 / g / g i t d b / ${ name } . t a r . g z " ;
sha256 = " 1 0 r p m m l l n 5 9 a q 4 4 c d 5 v k b 7 7 h s l a k 5 p a 1 r b m i g g 6 s k i 5 f 1 n n 2 s p f y " ;
} ;
propagatedBuildInputs = [ smmap async ] ;
} ;
GitPython = buildPythonPackage rec {
name = " G i t P y t h o n - 0 . 3 . 2 " ;
meta . maintainers = [ stdenv . lib . maintainers . mornfall ] ;
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 i t P y t h o n / G i t P y t h o n - 0 . 3 . 2 . R C 1 . t a r . g z " ;
sha256 = " 1 q 4 l c 2 p s 1 2 l 5 1 7 m m r x c 8 i q 6 g x y h j 6 d 7 7 b n k 1 p 7 m x f 3 8 d 9 9 l 8 c r z x " ;
} ;
buildInputs = [ nose ] ;
propagatedBuildInputs = [ gitdb ] ;
} ;
2013-09-21 17:15:18 +01:00
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 {
2014-01-06 22:35:39 +00:00
name = " g t i m e l o g - ${ version } " ;
version = " 0 . 8 . 1 " ;
2013-06-24 16:38:16 +01:00
src = fetchurl {
2014-01-06 22:35:39 +00:00
url = " h t t p s : / / g i t h u b . c o m / g t i m e l o g / g t i m e l o g / a r c h i v e / ${ version } . t a r . g z " ;
sha256 = " 0 n w p f v 2 8 4 b 2 6 q 9 7 m f p a g q k q b 4 n 2 i l w 4 6 c x 7 7 7 q s y i 3 p l n y w k 1 x a 0 " ;
2013-06-24 16:38:16 +01:00
} ;
2014-01-06 22:35:39 +00:00
2013-06-24 16:38:16 +01:00
propagatedBuildInputs = [ pygtk ] ;
2014-01-06 22:35:39 +00:00
checkPhase = ''
patchShebangs ./runtests
./runtests
'' ;
2013-06-24 16:38:16 +01:00
meta = with stdenv . lib ; {
2014-01-06 22:35:39 +00:00
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 " ;
2013-06-24 16:38:16 +01:00
homepage = http://mg.pov.lt/gtimelog/ ;
license = licenses . gpl2Plus ;
maintainers = [ maintainers . ocharles ] ;
platforms = platforms . unix ;
} ;
} ;
2013-08-03 01:42:11 +01:00
2014-05-13 14:54:54 +01:00
itsdangerous = buildPythonPackage rec {
name = " i t s d a n g e r o u s - 0 . 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 / i / i t s d a n g e r o u s / ${ name } . t a r . g z " ;
sha256 = " 0 6 8 5 6 q 6 x 6 7 5 l y 5 4 2 i g 0 p l b q c y a b 6 k s f z i j l y f 1 h z h g g 3 s g w g r c y b " ;
} ;
meta = with stdenv . lib ; {
description = " h e l p e r s t o p a s s t r u s t e d d a t a t o u n t r u s t e d e n v i r o n m e n t s a n d b a c k " ;
homepage = " h t t p s : / / p y p i . p y t h o n . o r g / p y p i / i t s d a n g e r o u s / " ;
} ;
} ;
2014-02-21 13:29:32 +00:00
# TODO: this shouldn't use a buildPythonPackage
2014-02-08 12:42:04 +00:00
koji = buildPythonPackage ( rec {
name = " k o j i - 1 . 8 " ;
meta . maintainers = [ stdenv . lib . maintainers . mornfall ] ;
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 d / k o j i / k o j i - 1 . 8 . 0 . t a r . b z 2 " ;
sha256 = " 1 0 d p h 2 0 9 h 4 j g a j b 5 j m b j h q y 4 z 4 h d 2 2 i 7 s 2 d 9 3 v m 3 i k d f 0 1 i 8 i w f 1 " ;
} ;
2014-02-21 13:29:32 +00:00
configurePhase = " : " ;
2014-02-08 12:42:04 +00:00
buildPhase = " : " ;
2014-02-21 13:29:32 +00:00
installPhase = " m a k e i n s t a l l D E S T D I R = $ o u t / & & c p - R $ o u t / n i x / s t o r e / * / * $ o u t / & & r m - r f $ o u t / n i x " ;
2014-02-08 12:42:04 +00:00
doCheck = false ;
propagatedBuildInputs = [ pythonPackages . pycurl ] ;
} ) ;
2013-04-07 00:52:52 +01:00
logilab_astng = buildPythonPackage rec {
2014-02-24 20:44:31 +00:00
name = " l o g i l a b - a s t n g - 0 . 2 4 . 3 " ;
2013-04-07 00:52:52 +01:00
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 " ;
2014-02-24 20:44:31 +00:00
sha256 = " 0 n p 4 w p x y h a 7 0 1 3 v k k r d y 5 4 d v n i l 6 7 g z i 8 7 1 l g 6 0 z 8 l a p 0 l 5 h 6 7 w n " ;
2013-04-07 00:52:52 +01:00
} ;
propagatedBuildInputs = [ logilab_common ] ;
} ;
2014-07-14 11:03:51 +01:00
logster = buildPythonPackage {
name = " l o g s t e r - 7 4 7 5 c 5 3 8 2 2 " ;
src = fetchgit {
url = git://github.com/etsy/logster ;
rev = " 7 4 7 5 c 5 3 8 2 2 " ;
sha256 = " 1 l s 0 0 7 q m z i w b 5 0 c 5 i i k x h q i n 0 x b n 6 7 3 g b d 2 5 m 5 k 0 9 8 6 1 4 3 5 c k n v r " ;
} ;
} ;
2013-07-07 09:19:39 +01:00
paver = buildPythonPackage rec {
2014-02-21 13:29:32 +00:00
version = " 1 . 2 . 2 " ;
2013-07-07 09:19:39 +01:00
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 " ;
2014-02-21 13:29:32 +00:00
sha256 = " 0 l i x 9 d 3 3 n d b 3 y k 5 6 s m 1 z l j 8 0 f b m x p 0 w 6 0 y k 0 d 9 p r 2 x q x i w i 8 8 s q y " ;
2013-07-07 09:19:39 +01:00
} ;
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 ;
} ;
} ;
2014-03-03 13:06:12 +00:00
pew = buildPythonPackage rec {
name = " p e w - 0 . 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 / p / p e w / ${ name } . t a r . g z " ;
md5 = " 9 0 a 8 2 4 0 0 0 7 4 b 5 0 a 9 e 7 3 c 3 0 4 5 e d 9 a c 2 1 7 " ;
} ;
2014-03-06 09:58:52 +00:00
propagatedBuildInputs = [ virtualenv virtualenv-clone ] ;
2014-03-03 13:06:12 +00:00
meta = with stdenv . lib ; {
description = " T o o l s t o m a n a g e m u l t i p l e v i r t u a l e n v s w r i t t e n i n p u r e p y t h o n , a v i r t u a l e n v w r a p p e r r e w r i t e " ;
license = licenses . mit ;
platforms = platforms . all ;
} ;
} ;
2013-03-27 01:24:55 +00:00
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 {
2014-04-26 11:14:44 +01:00
name = " p y r a m i d - 1 . 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 / p / p y r a m i d / ${ name } . t a r . g z " ;
2014-04-26 11:14:44 +01:00
md5 = " 8 7 4 7 6 5 8 d c b a b 7 0 9 a 9 c 4 9 1 e 4 3 d 3 b 0 d 5 8 b " ;
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 = [
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 ;
} ;
} ;
2014-01-22 17:18:52 +00:00
pyramid_chameleon = buildPythonPackage rec {
name = " p y r a m i d _ c h a m e l e o n - 0 . 1 " ;
src = pkgs . 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 _ c h a m e l e o n / ${ name } . t a r . g z " ;
md5 = " 3 9 b 1 3 2 7 a 9 8 9 0 f 3 8 2 2 0 0 b b f d e 9 4 3 8 3 3 d 7 " ;
} ;
propagatedBuildInputs = [
chameleon
pyramid
zope_interface
setuptools
] ;
meta = with stdenv . lib ; {
maintainers = [ maintainers . iElectric ] ;
} ;
} ;
2013-04-07 00:52:52 +01:00
pyramid_jinja2 = buildPythonPackage rec {
2013-12-29 18:57:34 +00:00
name = " p y r a m i d _ j i n j a 2 - 1 . 9 " ;
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 " ;
2013-12-29 18:57:34 +00:00
md5 = " a 6 7 2 8 1 1 7 c a d 2 4 7 4 9 d d b 3 9 d 2 8 2 7 c d 9 0 3 3 " ;
2013-03-27 01:24:55 +00:00
} ;
2014-03-08 18:47:23 +00:00
buildInputs = [ webtest ] ;
2013-04-07 00:52:52 +01:00
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 ;
} ;
} ;
2013-12-29 09:09:14 +00:00
pyramid_debugtoolbar = buildPythonPackage rec {
name = " p y r a m i d _ d e b u g t o o l b a r - 1 . 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 / p / p y r a m i d _ d e b u g t o o l b a r / ${ name } . t a r . g z " ;
sha256 = " 1 v n z g 1 q n n y i s v 7 z n x g 7 p a s a y f y r 3 n z 7 r r s 5 n q r 4 f m d g w j 9 q 2 p y v 0 " ;
} ;
buildInputs = [ ] ;
propagatedBuildInputs = [ pyramid pyramid_mako ] ;
} ;
pyramid_mako = buildPythonPackage rec {
name = " p y r a m i d _ m a k o - 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 / p / p y r a m i d _ m a k o / ${ name } . t a r . g z " ;
sha256 = " 0 0 8 1 1 d j m s c 4 r z 2 0 k p y 2 p a a m 0 5 f b x 6 d m r v 2 i 5 j f 9 0 f 6 x p 6 z w 4 i s y 6 " ;
} ;
buildInputs = [ webtest ] ;
propagatedBuildInputs = [ pyramid Mako ] ;
} ;
2013-03-27 01:24:55 +00:00
pyramid_exclog = buildPythonPackage rec {
2013-11-28 13:25:37 +00:00
name = " p y r a m i d _ e x c l o g - 0 . 7 " ;
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 _ e x c l o g / ${ name } . t a r . g z " ;
2013-11-28 13:25:37 +00:00
md5 = " 0 5 d f 8 6 7 5 8 b 0 d 3 0 e e 6 f 8 3 3 9 f f 3 6 c e f 7 a 0 " ;
2013-03-27 01:24:55 +00:00
} ;
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
} ;
2014-05-27 10:13:47 +01:00
# tests are failing in version 0.7 but are fixed in trunk
doCheck = false ;
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
2014-05-27 10:13:47 +01:00
stdenv . lib . maintainers . matejc
2013-03-27 01:24:55 +00:00
] ;
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 ;
} ;
} ;
2014-05-27 21:27:31 +01:00
radicale = buildPythonPackage rec {
name = " r a d i c a l e - ${ version } " ;
namePrefix = " " ;
version = " 0 . 9 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 / R / R a d i c a l e / R a d i c a l e - ${ version } . t a r . g z " ;
sha256 = " 3 a 8 4 5 1 9 0 9 d e 8 4 9 f 1 7 3 f 5 7 7 d d e c 0 a 0 8 5 f 1 9 0 4 0 d b b 6 a a 1 3 d 5 2 5 6 2 0 8 a 0 f 8 e 1 1 d 8 8 d " ;
} ;
propagatedBuildInputs = with pythonPackages ; [
flup
ldap
sqlalchemy
] ;
doCheck = false ;
meta = {
homepage = " h t t p : / / w w w . r a d i c a l e . o r g / " ;
longDescription = ''
The Radicale Project is a complete CalDAV ( calendar ) and CardDAV
( contact ) server solution . Calendars and address books are available for
both local and remote access , possibly limited through authentication
policies . They can be viewed and edited by calendar and contact clients
on mobile phones or computers .
'' ;
license = stdenv . lib . licenses . gpl3Plus ;
maintainers = [ stdenv . lib . maintainers . edwtjo ] ;
} ;
} ;
2013-09-20 17:07:40 +01:00
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 " ;
} ;
2014-01-25 10:30:06 +00:00
2013-08-13 10:13:59 +01:00
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 " ;
} ;
2014-01-25 10:30:06 +00:00
2014-03-08 18:47:23 +00:00
buildInputs = [ zope_interface zope_location zope_schema ] ;
2013-08-13 10:13:59 +01:00
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 " ;
} ;
2014-01-25 10:30:06 +00:00
2013-08-13 10:13:59 +01:00
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 " ;
} ;
2014-01-25 10:30:06 +00:00
2013-08-13 10:13:59 +01:00
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 " ;
} ;
2014-01-25 10:30:06 +00:00
2013-08-13 10:13:59 +01:00
buildInputs = [ pyramid transaction ] ;
propagatedBuildInputs = [ repoze_sendmail ] ;
meta = {
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
2014-05-12 21:10:51 +01:00
pyrtlsdr = buildPythonPackage rec {
name = " p y r t l s d r - 0 . 2 . 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 t l s d r / ${ name } . z i p " ;
md5 = " 6 4 6 3 3 6 6 7 5 a 0 0 d 3 8 e 6 f 5 4 e 7 7 a 1 7 0 1 1 b 9 5 " ;
} ;
postPatch = ''
sed " s | d r i v e r _ f i l e s = . * | d r i v e r _ f i l e s = [ ' ${ pkgs . rtl-sdr } / l i b / l i b r t l s d r . s o ' ] | " - i rtlsdr/librtlsdr.py
'' ;
meta = with stdenv . lib ; {
description = " P y t h o n w r a p p e r f o r l i b r t l s d r ( a d r i v e r f o r R e a l t e k R T L 2 8 3 2 U b a s e d S D R ' s ) " ;
homepage = https://github.com/roger-/pyrtlsdr ;
license = licenses . gpl3 ;
platforms = platforms . linux ;
maintainers = [ maintainers . bjornfor ] ;
} ;
} ;
2013-08-13 10:13:59 +01:00
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 " ;
} ;
2014-01-25 10:30:06 +00:00
2013-08-13 10:13:59 +01:00
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 " ;
} ;
2014-01-25 10:30:06 +00:00
2013-08-13 10:13:59 +01:00
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 " ;
2013-10-30 17:14:56 +00:00
sha256 = " e d e d 6 4 6 8 5 6 3 3 2 8 a f 3 7 a 0 7 a e b 8 8 e f 8 1 e d 7 8 c c a f f 2 a b 6 8 7 c a c 3 4 a d 2 b 3 6 e 1 9 a b c b 4 " ;
2013-08-13 10:13:59 +01:00
} ;
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 {
2013-11-28 13:25:37 +00:00
name = " r e p o z e . l r u - 0 . 6 " ;
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 " ;
2013-11-28 13:25:37 +00:00
md5 = " 2 c 3 b 6 4 b 1 7 a 8 e 1 8 b 4 0 5 f 5 5 d 4 6 1 7 3 e 1 4 d d " ;
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
} ;
2014-01-06 22:35:39 +00:00
preConfigure = ''
sed - i " / u s e _ s e t u p t o o l s / d " setup . py
'' ;
2014-07-31 11:47:17 +01:00
buildInputs = [ pkgs . alsaLib pkgs . jack2 ] ;
2013-04-07 00:52:52 +01:00
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 {
2013-11-28 13:25:37 +00:00
name = " z o p e . d e p r e c a t i o n - 3 . 5 . 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 / z / z o p e . d e p r e c a t i o n / ${ name } . t a r . g z " ;
2013-11-28 13:25:37 +00:00
md5 = " 8 3 6 c f e a 5 f a d 5 4 8 c d 5 a 0 d 9 a f 1 3 0 0 e c 0 5 e " ;
2013-03-27 01:24:55 +00:00
} ;
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 {
2014-04-27 11:20:59 +01:00
name = " C h a m e l e o n - 2 . 1 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 h a m e l e o n / ${ name } . t a r . g z " ;
2014-04-27 11:20:59 +01:00
md5 = " 0 2 1 4 6 4 7 1 5 2 f c f c b 9 c e 3 5 7 6 2 4 f 8 f 9 f 2 0 3 " ;
2013-03-27 01:24:55 +00:00
} ;
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 ;
} ;
} ;
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 ; [
2014-03-16 15:01:06 +00:00
pyGtkGlade libtorrentRasterbar twisted Mako chardet pyxdg pyopenssl modules . curses
2013-03-26 21:13:16 +00:00
] ;
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 " ;
2014-06-19 05:19:00 +01:00
license = stdenv . lib . licenses . lgpl2 ;
2013-02-17 22:39:00 +00:00
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 " ;
2014-06-19 05:19:00 +01:00
license = stdenv . lib . licenses . lgpl2 ;
2013-02-17 22:39:00 +00:00
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
2012-09-13 13:54:10 +01:00
2013-11-21 06:55:10 +00:00
django = django_1_6 ;
2014-01-25 10:30:06 +00:00
2013-11-21 06:55:10 +00:00
django_1_6 = buildPythonPackage rec {
2012-06-11 08:15:12 +01:00
name = " D j a n g o - ${ version } " ;
2014-08-23 15:20:59 +01:00
version = " 1 . 6 . 6 " ;
2012-05-30 22:12:40 +01:00
src = fetchurl {
2013-11-21 06:55:10 +00: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 . 6 / ${ name } . t a r . g z " ;
2014-08-23 15:20:59 +01:00
sha256 = " 1 4 3 y p 9 8 4 n 8 a 2 b s 1 d f l x j p 1 s 7 s k m j i 0 c w k w 0 5 s 9 i k b f i k w m a b s v 2 k " ;
2013-11-21 06:55:10 +00:00
} ;
# error: invalid command 'test'
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/ ;
} ;
} ;
django_1_5 = buildPythonPackage rec {
name = " D j a n g o - ${ version } " ;
2014-08-23 15:20:59 +01:00
version = " 1 . 5 . 9 " ;
2013-11-21 06:55:10 +00:00
src = fetchurl {
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 . 5 / ${ name } . t a r . g z " ;
2014-08-23 15:20:59 +01:00
sha256 = " 1 l m 0 p a 6 m 9 f 4 c d 6 p v 2 3 9 l q j 3 2 z 1 s n f 8 x j b v l b h 8 b q i h s 6 a 1 f 5 1 k j 7 " ;
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/ ;
} ;
} ;
2013-11-21 06:55:10 +00:00
django_1_4 = buildPythonPackage rec {
name = " D j a n g o - ${ version } " ;
2014-08-23 15:20:59 +01:00
version = " 1 . 4 . 1 4 " ;
2013-11-21 06:55:10 +00:00
src = fetchurl {
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 " ;
2014-08-23 15:20:59 +01:00
sha256 = " 1 7 3 c i 9 m l 2 v s 1 z 2 x 5 1 w a h s s f n 8 m r m h d 0 2 v a r m g 9 k i b m 8 z 4 6 0 s v v c 1 " ;
2013-11-21 06:55:10 +00:00
} ;
# error: invalid command 'test'
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 {
2014-01-06 22:21:15 +00:00
name = " d u l w i c h - 0 . 8 . 7 " ;
2012-04-16 00:48:11 +01:00
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 " ;
2014-01-06 22:21:15 +00:00
sha256 = " 0 4 1 q p 5 v 2 x 8 f b w k m w s 6 h w w i n y 7 4 l a v k z 7 2 3 d j 8 g w b m 4 0 b 2 3 8 3 d 8 v v " ;
2012-04-16 00:48:11 +01:00
} ;
buildPhase = " m a k e b u i l d " ;
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 {
2013-12-29 18:52:26 +00:00
name = " d o c u t i l s - 0 . 1 1 " ;
2011-09-19 22:00:37 +01:00
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 " ;
2013-12-29 18:52:26 +00:00
sha256 = " 1 j b y b s 5 a 3 9 6 n r j y 9 m 1 3 p g v s x d w a j 7 j w 7 n s a w k h l 4 f i 1 n v x m 1 d x 4 s " ;
2011-09-19 22:00:37 +01:00
} ;
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 } " ;
2013-10-23 20:16:38 +01:00
version = " 0 . 1 0 " ;
2013-10-02 10:25: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 / e / e c d s a / ${ name } . t a r . g z " ;
2013-10-23 20:16:38 +01:00
md5 = " e 9 5 9 4 1 b 3 b c b f 1 7 2 6 4 7 2 b b 7 2 4 d 7 4 7 8 5 5 1 " ;
2013-10-02 10:25:37 +01:00
} ;
# 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 . " ;
} ;
} ;
2014-07-08 08:35:55 +01:00
enum34 = buildPythonPackage rec {
name = " e n u m 3 4 - 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 / e / e n u m 3 4 / ${ name } . t a r . g z " ;
md5 = " 9 d 5 7 f 5 4 5 4 c 7 0 c 1 1 7 0 7 9 9 8 e a 2 6 c 1 b 0 a 7 c " ;
} ;
} ;
2011-08-30 20:50:36 +01:00
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 {
2014-08-24 16:07:10 +01:00
name = " e v e n t l e t - 0 . 1 5 . 1 " ;
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 " ;
2014-08-24 16:07:10 +01:00
md5 = " 7 1 5 5 7 8 0 8 2 4 b b 6 3 4 4 6 5 1 a 5 7 3 8 3 8 4 1 6 f 2 1 " ;
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-11-28 13:25:37 +00:00
name = " f l a k e 8 - 2 . 1 . 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-11-28 13:25:37 +00:00
md5 = " c f 3 2 6 c f b 8 8 a 1 d b 6 c 5 b 2 9 a 3 a 6 d 9 e f b 2 5 7 " ;
2012-09-28 16:06:07 +01:00
} ;
2013-11-28 13:25:37 +00:00
buildInputs = [ nose mock ] ;
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 ;
2014-03-10 09:29:03 +00:00
license = licenses . mit ;
2012-09-28 16:06:07 +01:00
maintainers = [ stdenv . lib . maintainers . garbas ] ;
} ;
} ) ;
2012-07-16 12:20:24 +01:00
flask = buildPythonPackage {
2014-05-13 14:55:23 +01:00
name = " f l a s k - 0 . 1 0 . 1 " ;
2012-07-16 12:20:24 +01:00
src = fetchurl {
2014-05-13 14:55:23 +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 / F / F l a s k / F l a s k - 0 . 1 0 . 1 . t a r . g z " ;
md5 = " 3 7 8 6 7 0 f e 4 5 6 9 5 7 e b 3 c 2 7 d d a e f 6 0 b 2 b 2 4 " ;
2012-07-16 12:20:24 +01:00
} ;
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 {
2014-08-15 13:41:31 +01:00
name = " F l e x G e t - 1 . 2 . 1 6 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 " ;
2014-08-15 13:41:31 +01:00
md5 = " f 7 5 3 3 e 7 b 1 d f 4 9 c c 8 0 2 7 f c 4 a 2 c d e 0 2 9 0 d " ;
2013-02-18 10:33:24 +00:00
} ;
buildInputs = [ nose ] ;
2014-08-15 13:41:31 +01:00
# dateutil dependancy: requirement is dateutil !=2.0 and != 2.2,
# dateutil_1_5 is used as it's supported, but a newer version could be used
propagatedBuildInputs = [ paver feedparser sqlalchemy pyyaml rpyc
beautifulsoup4 html5lib pyrss2gen pynzb progressbar jinja2 flask
cherrypy requests dateutil_1_5 jsonschema python_tvrage tmdb3 ]
# enable deluge and transmission plugin support, if they're installed
++ stdenv . lib . optional ( pkgs . config . pythonPackages . deluge or false )
pythonpackages . deluge
++ stdenv . lib . optional ( pkgs . transmission != null )
pythonPackages . transmissionrpc ;
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.
2014-06-19 05:19:00 +01:00
license = stdenv . lib . licenses . mit ;
2010-04-21 11:51:15 +01:00
2013-08-16 22:44:33 +01:00
maintainers = [ ] ;
2010-04-21 11:51:15 +01:00
} ;
} ) ;
2013-11-11 00:43:54 +00:00
fs = buildPythonPackage rec {
name = " f s - 0 . 4 . 0 " ;
src = fetchurl {
url = " h t t p s : / / p y f i l e s y s t e m . g o o g l e c o d e . c o m / f i l e s / f s - 0 . 4 . 0 . t a r . g z " ;
sha256 = " 1 f k 7 i l w d 0 1 q g j 4 a n w 9 k 1 v j p 0 a m x s w z z x b p 6 b k 4 n n c p 7 2 1 0 c x p 3 v z " ;
} ;
meta = with stdenv . lib ; {
description = " F i l e s y s t e m a b s t r a c t i o n " ;
homepage = http://pypi.python.org/pypi/fs ;
license = licenses . bsd3 ;
maintainers = with maintainers ; [ lovek323 ] ;
platforms = platforms . unix ;
} ;
# Fails: "error: invalid command 'test'"
doCheck = false ;
} ;
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 ] ;
} ;
} ;
2014-05-13 10:48:38 +01:00
2014-03-12 22:48:35 +00:00
gevent-socketio = buildPythonPackage rec {
name = " g e v e n t - s o c k e t i o - 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 / g / g e v e n t - s o c k e t i o / ${ name } . t a r . g z " ;
sha256 = " 1 z r a 8 6 h g 2 l 1 j c p l 9 n s n q a g y 3 n l 3 a k w s 8 b v r b p g d x k 1 5 x 7 y w l l f a k " ;
} ;
buildInputs = [ versiontools gevent-websocket mock pytest ] ;
propagatedBuildInputs = [ gevent ] ;
} ;
2014-05-13 10:48:38 +01:00
2014-03-12 22:48:35 +00:00
gevent-websocket = buildPythonPackage rec {
name = " g e v e n t - w e b s o c k e t - 0 . 9 . 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 / g / g e v e n t - w e b s o c k e t / ${ name } . t a r . g z " ;
sha256 = " 0 7 r q w f p b v 1 3 m k 6 g g 8 m f 0 b m v c f 6 s i y f f j p g a i 1 x d 8 k y 7 r 8 0 1 j 4 x b 4 " ;
} ;
2013-07-07 14:32:29 +01:00
2014-03-12 22:48:35 +00:00
propagatedBuildInputs = [ gevent ] ;
} ;
2013-07-07 14:32:29 +01:00
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 {
2014-05-28 12:01:14 +01:00
name = " g f l a g s - 2 . 0 " ;
2011-02-21 16:56:49 +00:00
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 " ;
2014-05-28 12:01:14 +01:00
sha256 = " 1 m k c 7 3 1 5 b p m h 3 9 v b n 0 j q 2 3 7 j p w 3 4 z s r j r 1 s c k 9 8 x i 3 6 b g 8 h n c 4 1 i " ;
2011-02-21 16:56:49 +00:00
} ;
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 " ;
2014-03-11 02:04:12 +00:00
sha256 = " 1 9 p i n 0 4 w h c 1 z 4 g m w v 2 r q a 7 m h 0 8 d 6 0 0 7 r 8 d y r h i h n x j 0 v 3 5 g h p 5 i 0 " ;
2013-10-18 08:11:47 +01:00
} ;
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 = {
2014-03-11 02:04:12 +00:00
version = " 1 . 7 . 4 " ;
2013-10-18 08:11:47 +01:00
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 " ;
} ;
} ;
2013-11-11 00:43:54 +00:00
goobook = buildPythonPackage rec {
name = " g o o b o o k - 1 . 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 / g / g o o b o o k / ${ name } . t a r . g z " ;
sha256 = " 0 5 v p r i y 3 9 1 l 5 i 0 5 c k l 5 j a 5 b s w q y v l 3 r w r b m k s 9 p i 4 6 w 1 8 1 3 j 7 p 5 z " ;
} ;
2013-12-28 20:15:49 +00:00
preConfigure = ''
sed - i ' /distribute/d ' setup . py
'' ;
2013-11-11 00:43:54 +00:00
meta = with stdenv . lib ; {
description = " S e a r c h y o u r g o o g l e c o n t a c t s f r o m t h e c o m m a n d - l i n e o r m u t t . " ;
homepage = " h t t p s : / / p y p i . p y t h o n . o r g / p y p i / g o o b o o k " ;
license = licenses . gpl3 ;
maintainers = with maintainers ; [ lovek323 ] ;
platforms = platforms . unix ;
} ;
2013-12-28 20:15:49 +00:00
propagatedBuildInputs = [ gdata hcs_utils keyring simplejson ] ;
2013-11-11 00:43:54 +00:00
} ;
2011-07-20 16:30:40 +01:00
2014-04-07 16:36:39 +01:00
google_api_python_client = buildPythonPackage rec {
name = " g o o g l e - a p i - p y t h o n - c l i e n t - 1 . 2 " ;
src = fetchurl {
url = " h t t p s : / / g o o g l e - a p i - 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 / g o o g l e - a p i - p y t h o n - c l i e n t - 1 . 2 . t a r . g z " ;
sha256 = " 0 x d 6 1 9 w 7 1 x k 4 l d m i k x q h a a q n 9 8 5 r c 2 h y 4 l j g w f p 5 0 j b 3 9 a f g 7 c r w " ;
} ;
propagatedBuildInputs = [ httplib2 ] ;
meta = with stdenv . lib ; {
description = " T h e c o r e P y t h o n l i b r a r y f o r a c c e s s i n g G o o g l e A P I s " ;
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 - a p i - p y t h o n - c l i e n t / " ;
license = licenses . asl20 ;
platforms = platforms . unix ;
} ;
} ;
2014-05-28 12:27:51 +01:00
google_apputils = buildPythonPackage rec {
name = " g o o g l e - a p p u t i l s - 0 . 4 . 0 " ;
src = fetchurl {
url = http://pypi.python.org/packages/source/g/google-apputils/google-apputils-0.4.0.tar.gz ;
sha256 = " 1 8 w l i v n q x v x 1 w s w 1 7 7 l c k p l 3 2 n m r 6 c q 7 f 5 n h k 8 r 7 2 f v j y 8 w y n q 5 j " ;
} ;
propagatedBuildInputs = [ pytz gflags dateutil_1_5 mox ] ;
meta = with stdenv . lib ; {
description = " G o o g l e A p p l i c a t i o n U t i l i t i e s f o r P y t h o n " ;
homepage = http://code.google.com/p/google-apputils-python ;
} ;
} ;
2011-02-21 17:26:19 +00:00
greenlet = buildPythonPackage rec {
2014-08-24 16:07:25 +01:00
name = " g r e e n l e t - 0 . 4 . 3 " ;
2011-02-21 17:26:19 +00:00
src = fetchurl {
2014-08-24 16:07:25 +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 r e e n l e t / ${ name } . z i p " ;
md5 = " a 5 e 4 6 7 a 5 8 7 6 c 4 1 5 c d 3 5 7 c 1 a b 9 0 2 7 e 0 6 c " ;
2011-02-21 17:26:19 +00:00
} ;
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 {
2014-06-18 03:14:16 +01:00
rev = " 1 9 4 4 " ;
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 ;
2014-06-18 03:14:16 +01:00
sha256 = " 1 5 k 3 i v k 3 j y h x 4 r w d f 1 m n 6 q p y r w i x v y 0 1 j p k i r 8 d 1 4 c 4 g 9 h a x 1 d x 1 " ;
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-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 " ;
} ;
} ;
2014-04-01 14:44:28 +01:00
gunicorn = buildPythonPackage rec {
2014-08-04 09:11:52 +01:00
name = " g u n i c o r n - 1 9 . 1 . 0 " ;
2014-04-01 14:44:28 +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 / g / g u n i c o r n / ${ name } . t a r . g z " ;
2014-08-04 09:11:52 +01:00
md5 = " 3 d 7 5 9 b e c 3 c 4 6 a 6 8 0 f f 0 1 0 7 7 5 2 5 8 c 4 c 5 6 " ;
2014-04-01 14:44:28 +01:00
} ;
2014-05-13 10:48:38 +01:00
2014-04-01 14:44:28 +01:00
buildInputs = [ pytest ] ;
meta = {
homepage = http://pypi.python.org/pypi/gunicorn ;
description = " W S G I H T T P S e r v e r f o r U N I X " ;
} ;
} ;
2013-11-11 00:43:54 +00:00
hcs_utils = buildPythonPackage rec {
name = " h c s _ u t i l s - 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 / h / h c s _ u t i l s / h c s _ u t i l s - 1 . 3 . t a r . g z " ;
sha256 = " 0 m c j f c 0 s s i l 8 6 i 7 4 d g 3 2 3 z 7 m i k k w 1 x a z q y r 9 2 3 4 7 x 1 y 3 3 z y f f g x h " ;
} ;
meta = with stdenv . lib ; {
description = " L i b r a r y c o l l e c t i n g s o m e u s e f u l s n i p p e t s " ;
homepage = https://pypi.python.org/pypi/hcs_utils/1.3 ;
license = licenses . isc ;
maintainers = with maintainers ; [ lovek323 ] ;
platforms = platforms . unix ;
} ;
} ;
2013-07-09 10:28:39 +01:00
hetzner = buildPythonPackage rec {
name = " h e t z n e r - ${ version } " ;
2014-03-18 17:43:00 +00:00
version = " 0 . 7 . 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 " ;
2014-03-18 17:43:00 +00:00
sha256 = " 1 l d b h w y 6 y k 1 8 f r v 6 n 9 z n v d s r q f n p c h 4 m f v c 7 0 j r p q 3 f 9 f w 2 3 6 s r c " ;
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 ;
} ;
} ) ;
2014-08-13 03:31:24 +01:00
httpbin = buildPythonPackage rec {
name = " h t t p b i n - 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 / h / h t t p b i n / ${ name } . t a r . g z " ;
md5 = " 9 b 2 b b 2 f a b 4 5 f 5 f a 8 3 9 e 9 a 7 7 6 a 6 4 d 6 0 8 9 " ;
} ;
propagatedBuildInputs = [ flask markupsafe decorator itsdangerous six ] ;
meta = {
homepage = https://github.com/kennethreitz/httpbin ;
description = " H T T P R e q u e s t & R e s p o n s e S e r v i c e " ;
license = licenses . mit ;
} ;
} ;
2011-02-21 17:26:19 +00:00
httplib2 = buildPythonPackage rec {
2014-06-01 14:42:07 +01:00
name = " h t t p l i b 2 - 0 . 9 " ;
2011-02-21 17:26:19 +00:00
src = fetchurl {
2014-06-01 14:42:07 +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 / h / h t t p l i b 2 / ${ name } . t a r . g z " ;
sha256 = " 1 a s i 5 w p n c n c 6 k i 3 b z 3 3 m h b 9 x h 2 l r k b 2 4 y 4 q n g 8 b m q n c z d m m 8 r s i r " ;
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 " ;
2014-03-10 09:29:03 +00:00
license = licenses . mit ;
2012-10-01 12:05:57 +01:00
maintainers = [ stdenv . lib . maintainers . garbas ] ;
2011-02-21 17:26:19 +00:00
} ;
} ;
2014-07-11 05:09:00 +01:00
httpretty = buildPythonPackage rec {
name = " h t t p r e t t y - ${ version } " ;
version = " 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 / h / h t t p r e t t y / ${ name } . t a r . g z " ;
md5 = " 5 0 b 0 2 5 6 0 a 4 9 f e 9 2 8 c 9 0 c 5 3 a 4 9 7 9 1 f 6 2 1 " ;
} ;
buildInputs = [ tornado requests httplib2 sure nose coverage ] ;
propagatedBuildInputs = [ urllib3 ] ;
postPatch = ''
sed - i - e ' s / == . * $ // ' * requirements . txt
# XXX: Drop this after version 0.8.4 is released.
patch httpretty/core.py < < DIFF
* * * * * * * * * * * * * * *
* * * 566 * * * *
! ' content-length' : len ( self . body )
- - - 566 - - - -
! ' content-length' : str ( len ( self . body ) )
DIFF
'' ;
meta = {
homepage = " h t t p : / / f a l c a o . i t / H T T P r e t t y / " ;
description = " H T T P c l i e n t r e q u e s t m o c k i n g t o o l " ;
license = licenses . mit ;
} ;
} ;
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 {
2014-08-24 15:19:53 +01:00
version = " 0 . 6 . 1 " ;
2012-02-28 11:53:34 +00:00
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 " ;
2014-08-24 15:19:53 +01:00
md5 = " a e d 4 0 4 5 6 3 8 f d 4 0 c 1 6 f 8 d 9 b b 0 4 6 0 6 f 7 0 0 " ;
2012-02-28 11:53:34 +00:00
} ;
2014-08-24 15:19:53 +01:00
buildInputs = [ nose ] ;
2012-02-28 11:53:34 +00:00
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-11-06 00:13:23 +00:00
ipaddr = buildPythonPackage {
2014-05-28 12:16:55 +01:00
name = " i p a d d r - 2 . 1 . 1 0 " ;
2013-11-06 00:13:23 +00:00
src = fetchurl {
2014-05-28 12:16:55 +01:00
url = " h t t p : / / i p a d d r - p y . g o o g l e c o d e . c o m / f i l e s / i p a d d r - 2 . 1 . 1 0 . t a r . g z " ;
sha256 = " 1 8 y c w k f k 3 y p b 1 y d 0 9 w g 2 0 r 7 j 7 z q 2 a 7 3 d 7 j 6 j 1 0 q p g r a 7 a 7 a b z h y j " ;
2013-11-06 00:13:23 +00:00
} ;
meta = {
description = " G o o g l e ' s I P 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 " ;
homepage = http://code.google.com/p/ipaddr-py/ ;
2014-03-10 09:29:03 +00:00
license = licenses . asl20 ;
2013-11-06 00:13:23 +00:00
} ;
} ;
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 " ;
} ;
2014-04-07 23:18:46 +01:00
propagatedBuildInputs = [ pythonPackages . ipythonLight ] ;
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
} ;
2014-04-07 23:18:46 +01:00
propagatedBuildInputs = [ pythonPackages . nose pythonPackages . ipythonLight ] ;
2013-03-19 17:56:55 +00:00
} ;
2014-05-28 12:11:37 +01:00
iso8601_0_1_4 = buildPythonPackage {
name = " i s o 8 6 0 1 - 0 . 1 . 4 " ;
src = fetchurl {
url = https://pypi.python.org/packages/source/i/iso8601/iso8601-0.1.4.tar.gz ;
sha256 = " 0 3 g n j x p f q 0 w w i m q n s v z 3 2 x c n g q 0 h r d q r y n 3 z m 8 q h 9 5 h n n g g w q a 3 s " ;
} ;
meta = {
homepage = https://bitbucket.org/micktwomey/pyiso8601/ ;
description = " S i m p l e m o d u l e t o p a r s e I S O 8 6 0 1 d a t e s " ;
maintainers = [ stdenv . lib . maintainers . phreedom ] ;
} ;
} ;
2013-03-19 17:56:55 +00:00
2013-01-03 18:28:12 +00:00
jedi = buildPythonPackage ( rec {
2014-06-01 14:42:07 +01:00
name = " j e d i - 0 . 8 . 0 - f i n a l 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 " ;
2014-06-01 14:42:07 +01:00
sha256 = " 0 j n h w h 0 b 1 h y 5 c s s i 3 n 5 a 4 j 7 z 9 p g p c c k y v 5 s 5 2 b a 4 j n q 5 b w g d p b c f " ;
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 . " ;
2014-03-10 09:29:03 +00:00
license = licenses . lgpl3Plus ;
2013-01-03 18:28:12 +00:00
maintainers = [ stdenv . lib . maintainers . garbas ] ;
} ;
} ) ;
2011-07-20 16:30:40 +01:00
2013-07-28 10:12:13 +01:00
jinja2 = buildPythonPackage rec {
2013-12-29 18:57:34 +00:00
name = " J i n j a 2 - 2 . 7 . 1 " ;
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 " ;
2013-12-29 18:57:34 +00:00
sha256 = " 1 2 s c n 3 z m m j 7 6 r z y c 0 a x j z f 6 d s a z y j 9 x g p 0 l 4 6 q 4 1 r j h x m 2 3 s 1 h 2 w " ;
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 {
2014-02-12 14:33:19 +00:00
name = " j m e s p a t h - 0 . 2 . 1 " ;
2013-04-07 14:34:35 +01:00
src = fetchurl {
2014-02-12 14:33:19 +00: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 / j / j m e s p a t h / j m e s p a t h - 0 . 2 . 1 . t a r . g z " ;
md5 = " 7 8 0 0 7 7 5 a a 1 2 c 6 3 0 3 f 9 a d 5 9 7 b 6 a 8 f a 0 3 c " ;
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 " ;
} ;
} ;
2013-11-11 00:43:54 +00:00
keyring = buildPythonPackage rec {
name = " k e y r i n g - 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 / k / k e y r i n g / ${ name } . z i p " ;
sha256 = " 1 f l c c p h p y r b 8 y 8 d r a 2 f q 2 s 2 v 3 f g 6 1 5 d 7 7 k j j m z l 0 g m i i d a b k k d q f " ;
} ;
meta = with stdenv . lib ; {
description = " S t o r e a n d a c c e s s y o u r p a s s w o r d s s a f e l y " ;
homepage = " h t t p s : / / p y p i . p y t h o n . o r g / p y p i / k e y r i n g " ;
license = licenses . psfl ;
maintainers = with maintainers ; [ lovek323 ] ;
platforms = platforms . unix ;
} ;
buildInputs =
2014-03-08 18:47:23 +00:00
[ fs gdata python_keyczar mock pyasn1 pycrypto pytest ] ;
2013-11-11 00:43:54 +00:00
} ;
2013-04-07 14:34:35 +01:00
2014-02-08 12:42:04 +00:00
kitchen = buildPythonPackage ( rec {
name = " k i t c h e n - 1 . 1 . 1 " ;
meta . maintainers = [ stdenv . lib . maintainers . mornfall ] ;
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 / k / k i t c h e n / k i t c h e n - 1 . 1 . 1 . t a r . g z " ;
sha256 = " 0 k i 8 4 0 h j k 1 q 1 9 w 6 i c v 0 d j 2 j x b 0 0 9 6 6 n w y 9 b 1 j i b 0 d g d s p j 0 0 y r r 5 " ;
} ;
} ) ;
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 ) " ;
2014-03-10 09:29:03 +00:00
license = licenses . asl20 ;
2012-08-31 13:47:47 +01:00
} ;
} ;
2010-08-23 11:17:30 +01:00
libcloud = buildPythonPackage ( rec {
2014-06-03 00:11:41 +01:00
name = " l i b c l o u d - 0 . 1 4 . 1 " ;
2010-08-23 11:17:30 +01:00
src = fetchurl {
2014-06-03 00:11:41 +01:00
url = https://pypi.python.org/packages/source/a/apache-libcloud/apache-libcloud-0.14.1.tar.bz2 ;
sha256 = " 1 l 6 1 9 0 p j v 5 4 c 7 y 8 p z r 0 8 9 i j 7 2 7 q v 7 b q h h a z n r 2 m k v i m g r 1 w z s q l 5 " ;
2010-08-23 11:17:30 +01:00
} ;
2014-06-03 00:11:41 +01:00
buildInputs = [ mock ] ;
2010-08-23 11:17:30 +01:00
2014-06-03 00:11:41 +01:00
propagatedBuildInputs = [ pycrypto ] ;
preConfigure = " c p l i b c l o u d / t e s t / s e c r e t s . p y - d i s t l i b c l o u d / t e s t / s e c r e t s . p y " ;
2010-08-23 11:17:30 +01:00
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 {
2014-02-24 20:44:46 +00:00
name = " l o g i l a b - c o m m o n - 0 . 6 1 . 0 " ;
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 " ;
2014-02-24 20:44:46 +00:00
sha256 = " 0 9 a p s r c v j l i a w b x m f r m i 1 l 8 h l b a j 8 7 m b 7 n 4 l r l i v y 5 m a x s 6 y g 4 h d " ;
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 ;
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
} ;
} ;
2014-01-06 22:35:39 +00:00
magic = buildPythonPackage rec {
name = " ${ pkgs . file . name } " ;
2013-08-13 13:49:42 +01:00
src = pkgs . file . src ;
patches = [ ../tools/misc/file/python.patch ] ;
buildInputs = [ python pkgs . file ] ;
2014-01-06 22:35:39 +00:00
preConfigure = " c d p y t h o n " ;
2013-08-13 13:49:42 +01:00
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 ] ;
2014-01-06 22:35:39 +00:00
preBuild = " ${ 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-12-29 09:09:14 +00:00
name = " M a k o - 0 . 9 . 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-12-29 09:09:14 +00:00
md5 = " f e 3 f 3 9 4 e f 7 1 4 7 7 6 d 0 9 e c 6 1 3 3 9 2 3 7 3 6 a 7 " ;
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 ;
2014-06-19 05:19:00 +01:00
license = stdenv . lib . licenses . mit ;
2013-02-17 22:39:00 +00:00
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 } " ;
2014-08-24 15:55:08 +01:00
version = " 1 . 8 . 0 " ;
2013-01-18 01:21:24 +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 n u e l / ${ name } . t a r . g z " ;
2014-08-24 15:55:08 +01:00
sha256 = " 1 d i y j 6 a 8 b v z 2 c d f 9 m 0 g 2 b b x 9 z 2 y j j n n 3 y l b g 1 z i n p c j j 6 v l d f x 5 9 " ;
2013-01-18 01:21:24 +00:00
} ;
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-12-28 20:39:39 +00:00
matplotlib = buildPythonPackage rec {
2013-12-28 06:52:23 +00:00
name = " m a t p l o t l i b - 1 . 3 . 1 " ;
2013-07-14 04:41:56 +01:00
2010-04-21 11:51:15 +01:00
src = fetchurl {
2013-12-28 06:52:23 +00:00
url = " m i r r o r : / / s o u r c e f o r g e / m a t p l o t l i b / ${ name } . t a r . g z " ;
sha256 = " 0 s m g p n 7 l w b n 0 2 n b y h a w y n 0 n 6 r 3 p b 6 5 z k 5 0 1 f 2 1 b j g a v n j j f n f 5 p a " ;
2010-04-21 11:51:15 +01:00
} ;
2013-12-28 20:39:39 +00:00
buildInputs = [ python pkgs . which pkgs . ghostscript ] ++
( if stdenv . isDarwin then [ pkgs . clangStdenv ] else [ pkgs . stdenv ] ) ;
2010-04-21 11:51:15 +01:00
2013-07-14 04:41:56 +01:00
propagatedBuildInputs =
2014-05-29 08:45:12 +01:00
[ dateutil nose numpy pyparsing tornado pkgs . freetype pkgs . libpng pkgs . pkgconfig
pygtk ] ;
2013-07-14 04:41:56 +01:00
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
} ;
2013-12-28 20:39:39 +00:00
} ;
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 " ;
2014-03-10 09:29:03 +00:00
license = licenses . mit ;
2013-03-17 14:23:56 +00:00
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 {
2014-07-26 22:06:53 +01:00
name = " m e l d 3 - 1 . 0 . 0 " ;
2013-06-22 13:10:10 +01:00
src = fetchurl {
2014-07-26 22:06:53 +01:00
url = https://pypi.python.org/packages/source/m/meld3/meld3-1.0.0.tar.gz ;
md5 = " c a 2 7 0 5 0 6 d d 4 e c b 2 0 a e 2 6 f a 7 2 f b d 9 b 0 b e " ;
2013-06-22 13:10:10 +01:00
} ;
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 ;
2014-07-26 22:06:53 +01:00
license = " f r e e - n o n - c o p y l e f t " ;
2013-06-22 13:10:10 +01:00
} ;
} ;
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 ;
} ;
} ;
2014-07-20 20:12:05 +01:00
minimock = buildPythonPackage rec {
version = " 1 . 2 . 8 " ;
name = " m i n i m o c k - ${ version } " ;
src = fetchurl {
url = " h t t p s : / / b i t b u c k e t . o r g / j a b / m i n i m o c k / g e t / ${ version } . z i p " ;
sha256 = " c 8 8 f a 8 a 7 1 2 0 6 2 3 f 2 3 9 9 0 a 7 f 0 8 6 a 9 6 5 7 f 6 c e d 0 9 0 2 5 a 5 5 e 3 b e 8 6 4 9 a 3 0 b 4 9 4 5 4 4 1 a " ;
} ;
buildInputs = [ nose ] ;
checkPhase = " . / t e s t " ;
2014-07-21 20:32:13 +01:00
meta = {
description = " A m i n i m a l i s t i c m o c k i n g l i b r a r y f o r p y t h o n " ;
homepage = https://pypi.python.org/pypi/MiniMock ;
} ;
2014-07-20 20:12:05 +01:00
} ;
2013-09-20 17:00:03 +01:00
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 " ;
2014-06-11 07:01:07 +01:00
sha256 = " 0 m p y w 8 i w 4 l 4 j v 1 7 5 q l b n 0 r r l g i z 1 k 7 9 m 4 4 j n c b d x f j 8 d d v v v y z 2 j " ;
2013-06-04 16:12:07 +01:00
} ;
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 = {
2014-06-11 07:01:07 +01:00
version = " 0 . 1 0 . 1 " ;
2013-06-04 16:12:07 +01:00
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 / " ;
2014-03-10 09:29:03 +00:00
license = licenses . mit ;
2013-06-04 16:12:07 +01:00
} ;
} ;
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 " ;
} ;
} ) ;
2014-05-31 19:24:34 +01:00
moinmoin = let ver = " 1 . 9 . 7 " ; in buildPythonPackage ( rec {
name = " m o i n m o i n - ${ ver } " ;
src = fetchurl {
url = " h t t p : / / s t a t i c . m o i n m o . i n / f i l e s / m o i n - ${ ver } . t a r . g z " ;
sha256 = " f 4 b a 1 b 5 c 9 5 6 b d 9 6 d 2 a 6 1 e 2 7 e 6 8 d 2 9 7 a a 6 3 d 1 a f b c 8 0 d 5 7 4 0 e 1 3 9 d c d f 0 a f f b 4 d b 5 " ;
} ;
meta = {
description = " A d v a n c e d , e a s y t o u s e a n d e x t e n s i b l e W i k i E n g i n e " ;
homepage = http://moinmo.in/ ;
2014-06-19 05:19:00 +01:00
license = stdenv . lib . licenses . gpl2Plus ;
2014-05-31 19:24:34 +01:00
} ;
} ) ;
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-10-28 23:05:17 +00:00
mpmath = buildPythonPackage rec {
name = " m p m a t h - 0 . 1 7 " ;
src = fetchurl {
url = " h t t p s : / / m p m a t h . 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 b l g z w q 4 i r z a f 8 a b b 4 z 0 d 2 r 4 8 9 0 3 n 9 z x f 5 1 f h n v 3 g v 0 9 b g x j q z x h " ;
} ;
meta = with stdenv . lib ; {
homepage = http://mpmath.googlecode.com ;
description = " A p u r e - P y t h o n l i b r a r y f o r m u l t i p r e c i s i o n f l o a t i n g a r i t h m e t i c " ;
license = licenses . bsd3 ;
maintainers = with maintainers ; [ lovek323 ] ;
platforms = platforms . unix ;
} ;
# error: invalid command 'test'
doCheck = false ;
} ;
2013-01-17 23:20:45 +00:00
mrbob = buildPythonPackage rec {
name = " m r b o b - ${ version } " ;
2014-03-03 13:58:34 +00:00
version = " 0 . 1 . 1 " ;
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 " ;
2014-03-03 13:58:34 +00:00
md5 = " 8 4 a 1 1 7 c 9 a 7 5 b 8 6 8 4 2 b 0 f a 5 f 5 c 9 c 7 6 7 f 3 " ;
2013-01-17 23:20:45 +00:00
} ;
2014-03-03 13:58:34 +00:00
# some files in tests dir include unicode names
preBuild = ''
export LOCALE_ARCHIVE = $ { pkgs . glibcLocales } /lib/locale/locale-archive
export LC_ALL = " e n _ U S . U T F - 8 "
'' ;
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 " ;
2014-03-10 09:29:03 +00:00
license = licenses . bsd3 ;
2013-02-18 13:08:48 +00:00
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
musicbrainzngs = buildPythonPackage rec {
2014-07-08 08:35:55 +01:00
name = " m u s i c b r a i n z n g s - 0 . 5 " ;
2013-02-18 13:08:48 +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 u s i c b r a i n z n g s / ${ name } . t a r . g z " ;
2014-07-08 08:35:55 +01:00
md5 = " 9 e 1 7 a 1 8 1 a f 7 2 d 0 4 a 2 9 1 c 9 a 9 6 0 b c 7 3 d 4 4 " ;
2013-02-18 13:08:48 +00:00
} ;
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 " ;
2014-03-10 09:29:03 +00:00
license = licenses . bsd2 ;
2013-02-18 13:08:48 +00:00
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
2010-09-26 20:40:22 +01:00
mutagen = buildPythonPackage ( rec {
2014-07-08 08:35:55 +01:00
name = " m u t a g e n - 1 . 2 3 " ;
2010-09-26 20:40:22 +01:00
src = fetchurl {
2014-07-08 08:35:55 +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 u t a g e n / ${ name } . t a r . g z " ;
sha256 = " 1 2 f 7 0 a a f 5 g g d z l l 7 6 b h h k n 6 4 b 2 7 x y 9 s 1 a c x 4 1 7 d b s a q n n b i s 8 s 7 6 " ;
2010-09-26 20:40:22 +01:00
} ;
2014-07-08 08:35:55 +01:00
# one unicode test fails
doCheck = false ;
2010-09-26 20:40:22 +01:00
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 ;
2014-06-19 05:19:00 +01:00
license = stdenv . lib . licenses . lgpl2 ;
2010-09-26 20:40:22 +01:00
} ;
} ) ;
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 ;
2014-06-19 05:19:00 +01:00
license = stdenv . lib . licenses . gpl2Plus ;
2013-08-23 08:57:12 +01:00
} ;
} ) ;
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
2014-07-22 18:25:54 +01:00
nbxmpp = buildPythonPackage rec {
name = " n b x m p p - 0 . 5 " ;
src = fetchurl {
name = " ${ name } . t a r . g z " ;
url = " h t t p s : / / p y t h o n - n b x m p p . g a j i m . o r g / d o w n l o a d s / 5 " ;
2014-07-22 18:35:42 +01:00
sha256 = " 0 y 2 7 0 c 9 v 4 i 9 n 5 8 p 4 g h l m 1 8 h 5 0 q c f i c h m f k g c p q d 3 b y p x 4 f k m d x 9 0 " ;
2014-07-22 18:25:54 +01:00
} ;
meta = {
homepage = " h t t p s : / / p y t h o n - n b x m p p . g a j i m . o r g / " ;
description = " N o n - b l o c k i n g J a b b e r / X M P P m o d u l e " ;
license = stdenv . lib . licenses . gpl3 ;
} ;
} ;
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 " ;
2014-06-11 07:05:57 +01:00
sha256 = " 1 x 2 n 1 2 6 b 7 f a l 6 4 f b 5 f z k p 4 b y 7 y m 0 i s w n 3 w 9 m h 6 p m 4 c 1 v j d p n k 5 9 2 " ;
2013-06-04 16:12:07 +01:00
} ;
2013-07-23 10:23:09 +01:00
2013-06-04 16:12:07 +01:00
buildInputs = [
pkgs . pyopenssl pyasn1
] ;
doCheck = false ;
meta = {
2014-06-11 07:05:57 +01:00
version = " 0 . 1 0 " ;
2013-06-04 16:12:07 +01:00
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 " ;
2014-03-10 09:29:03 +00:00
license = licenses . mit ;
2013-06-04 16:12:07 +01:00
} ;
} ;
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 {
2014-06-20 19:42:46 +01:00
version = " 1 . 3 . 3 " ;
2013-09-22 09:35:50 +01:00
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 " ;
2014-06-20 19:42:46 +01:00
sha256 = " 0 9 h 3 a 7 4 h z w 1 c f x 4 i c 1 9 i b x q 8 k g 6 s l 1 n 6 4 p x 2 m m b 5 7 f 5 y d 3 r 2 y 3 5 l " ;
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 " " + ''
2014-03-10 07:58:55 +00:00
rm functional_tests/test_multiprocessing/test_concurrent_shared.py * # see https://github.com/nose-devs/nose/commit/226bc671c73643887b36b8467b34ad485c2df062
2013-07-30 08:51:43 +01:00
$ { 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-12-29 09:09:14 +00:00
nose-selecttests = buildPythonPackage rec {
version = " 0 . 4 " ;
name = " n o s e - s e l e c t t e s t s - ${ version } " ;
src = fetchurl {
2013-12-29 12:06: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 / n / n o s e - s e l e c t t e s t s / ${ name } . z i p " ;
2013-12-29 09:09:14 +00:00
sha256 = " 0 l g r f g p 3 s q 8 x i 8 d 9 g r r g 0 z 8 j s y k 0 w l 8 a 3 r x w 3 1 h b 7 v d n c i n 5 b 7 n 5 " ;
} ;
propagatedBuildInputs = [ nose ] ;
meta = {
description = " S i m p l e n o s e p l u g i n t h a t e n a b l e s d e v e l o p e r s t o r u n s u b s e t o f c o l l e c t e d t e s t s t o s p a r e s o m e w a i t i n g t i m e f o r b e t t e r t h i n g s " ;
} ;
} ;
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 " ;
} ;
2014-03-10 09:29:03 +00:00
patches = singleton ( fetchurl {
2013-05-27 09:05:15 +01:00
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/ ;
} ;
} ) ;
2014-01-06 22:35:39 +00:00
notmuch = buildPythonPackage rec {
2012-04-30 15:34:57 +01:00
name = " p y t h o n - ${ pkgs . notmuch . name } " ;
src = pkgs . notmuch . src ;
2014-01-06 22:35:39 +00:00
sourceRoot = " ${ pkgs . notmuch . name } / b i n d i n g s / p y t h o n " ;
2012-04-30 15:34:57 +01:00
2014-01-06 22:35:39 +00:00
buildInputs = [ python pkgs . notmuch ] ;
2012-04-30 15:34:57 +01:00
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 ] ;
} ;
} ;
2014-06-14 17:24:31 +01:00
numexpr = buildPythonPackage rec {
version = " 2 . 4 " ;
name = " n u m e x p r - ${ version } " ;
src = fetchgit {
url = https://github.com/pydata/numexpr.git ;
rev = " 6 0 6 c c 9 a 1 1 0 7 1 1 e 9 4 7 d 3 5 a c 2 7 7 0 7 4 9 c 0 0 d a b 1 8 4 c 8 " ;
sha256 = " 1 g x g k g 7 n c g j h n i f n 4 4 4 i h a 5 n r j h y r 8 s r 6 w 5 y p 2 0 4 1 8 6 a 1 y s z 8 5 8 g " ;
} ;
propagatedBuildInputs = with pkgs ; [ numpy ] ;
# Run the test suite.
# It requires the build path to be in the python search path.
checkPhase = ''
$ { python } /bin / $ { python . executable } < < EOF
import sysconfig
import sys
import os
f = " l i b . { p l a t f o r m } - { v e r s i o n [ 0 ] } . { v e r s i o n [ 1 ] } "
lib = f . format ( platform = sysconfig . get_platform ( ) ,
version = sys . version_info )
build = os . path . join ( os . getcwd ( ) , ' build' , lib )
sys . path . insert ( 0 , build )
import numexpr
r = numexpr . test ( )
if not r . wasSuccessful ( ) :
sys . exit ( 1 )
EOF
'' ;
meta = {
description = " F a s t n u m e r i c a l a r r a y e x p r e s s i o n e v a l u a t o r f o r N u m P y " ;
homepage = " h t t p s : / / g i t h u b . c o m / p y d a t a / n u m e x p r " ;
2014-06-25 21:28:34 +01:00
license = licenses . mit ;
2014-06-14 17:24:31 +01:00
} ;
} ;
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
2014-02-21 13:29:32 +00:00
sed - i ' 0 , /from numpy.distutils.core/s // import setuptools ; from numpy . distutils . core / ' setup . py
2013-07-14 04:42:33 +01:00
'' ;
2014-01-06 22:35:39 +00:00
preBuild = ''
2012-05-09 08:22:18 +01:00
export BLAS = $ { pkgs . blas } LAPACK = $ { pkgs . liblapack }
2010-07-28 14:05:35 +01:00
'' ;
2012-12-03 05:38:11 +00:00
2014-01-06 22:35:39 +00:00
setupPyBuildFlags = [ " - - f c o m p i l e r = ' g n u 9 5 ' " ] ;
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 {
2013-11-24 12:07:02 +00:00
name = " n w d i a g - 1 . 0 . 0 " ;
2013-09-21 18:48:54 +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 / n / n w d i a g / ${ name } . t a r . g z " ;
2013-11-24 12:07:02 +00:00
md5 = " d 8 1 5 8 1 a 0 2 8 8 4 0 f 8 f 7 3 6 2 a b 2 1 b f 7 3 e 9 4 1 " ;
2013-09-21 18:48:54 +01:00
} ;
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 ] ;
} ;
} ;
2014-06-06 02:44:28 +01:00
livestreamer = if isPy34 then null else ( buildPythonPackage rec {
version = " 1 . 8 . 2 " ;
name = " l i v e s t r e a m e r - ${ version } " ;
2014-04-28 10:24:21 +01:00
src = fetchurl {
2014-06-06 02:44:28 +01:00
url = " h t t p s : / / g i t h u b . c o m / c h r i p p a / l i v e s t r e a m e r / a r c h i v e / v ${ version } . t a r . g z " ;
sha256 = " 1 3 0 h 9 7 q d b 7 q x 8 x g 0 g z 5 4 p 5 a 6 c b 2 z b f f i 5 h s i 3 0 5 x f 0 a h 9 n f 4 r b r c " ;
2014-04-28 10:24:21 +01:00
} ;
buildInputs = [ pkgs . makeWrapper ] ;
2014-06-06 02:44:28 +01:00
propagatedBuildInputs = [ requests pkgs . rtmpdump pycrypto ] ;
2014-04-28 10:24:21 +01:00
postInstall = ''
wrapProgram $ out/bin/livestreamer - - prefix PATH : $ { pkgs . rtmpdump } /bin
'' ;
meta = {
homepage = http://livestreamer.tanuki.se ;
description = ''
Livestreamer is CLI program that extracts streams from various
services and pipes them into a video player of choice .
'' ;
license = " b s d " ;
} ;
} ) ;
2013-09-21 18:48:54 +01:00
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 " ;
2014-03-10 09:29:03 +00:00
license = licenses . mit ;
2012-10-01 12:05:57 +01:00
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 ;
} ;
} ) ;
2014-02-08 12:42:04 +00:00
offtrac = buildPythonPackage rec {
name = " o f f t r a c - 0 . 1 . 0 " ;
meta . maintainers = [ stdenv . lib . maintainers . mornfall ] ;
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 / o / o f f t r a c / ${ name } . t a r . g z " ;
sha256 = " 0 6 v d 0 1 0 p a 1 z 7 l y f j 1 n a 3 0 i q z f f r 4 k z j 2 k 2 s b a 0 9 s p i k 7 d r l v v l 5 6 " ;
} ;
doCheck = false ;
} ;
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
} ;
} ) ;
2014-01-28 16:24:33 +00:00
osc = buildPythonPackage ( rec {
name = " o s c - 0 . 1 3 3 + g i t " ;
src = fetchgit {
url = git://gitorious.org/opensuse/osc.git ;
rev = " 6 c d 5 4 1 9 6 7 e e 2 f c a 0 b 8 9 e 8 1 4 7 0 f 1 8 b 9 7 a 3 f f c 2 3 c e " ;
sha256 = " a 3 9 c e 0 e 3 2 1 e 4 0 e 9 7 5 8 b f 7 b 9 1 2 8 d 3 1 6 c 7 1 b 3 5 b 8 0 e a b c 8 4 f 1 3 d f 4 9 2 0 8 3 b b 6 f 1 c c 6 " ;
} ;
buildPhase = " p y t h o n s e t u p . p y b u i l d " ;
doCheck = false ;
postInstall = " l n - s $ o u t / b i n / o s c - w r a p p e r . p y $ o u t / b i n / o s c " ;
propagatedBuildInputs = [ pythonPackages . m2crypto ] ;
} ) ;
2013-06-18 08:51:35 +01:00
pandas = buildPythonPackage rec {
2014-06-15 13:11:37 +01:00
name = " p a n d a s - 0 . 1 4 . 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 " ;
2014-06-15 13:11:37 +01:00
sha256 = " f 7 9 9 7 d e b c a 7 5 6 c 4 d d 5 c c d f 5 a 0 1 0 d f e 3 d 1 c 7 d a c 9 8 e e 7 0 6 b 7 1 5 d 9 9 4 c f 7 c 9 d 3 5 5 2 8 " ;
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 {
2014-08-24 16:17:48 +01:00
name = " p a r a m i k o - 1 . 1 4 . 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 " ;
2014-08-24 16:17:48 +01:00
md5 = " e 2 6 3 2 4 f d 3 9 8 a f 6 8 a d 5 0 6 f e 9 8 8 5 3 8 3 5 c 3 " ;
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
2014-08-24 16:17:48 +01:00
# tests failures since 1.14.0 release..
doCheck = false ;
2014-08-24 09:16:41 +01:00
checkPhase = " ${ python } / b i n / ${ python . executable } t e s t . p y " ;
2013-08-14 17:50:47 +01:00
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-28 02:24:35 +00:00
maintainers = [ 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
} ;
} ;
2014-03-03 16:34:26 +00:00
paypalrestsdk = buildPythonPackage rec {
name = " p a y p a l r e s t s d k - 0 . 7 . 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 a y p a l r e s t s d k / ${ name } . t a r . g z " ;
sha256 = " 1 1 7 k f i p z f a h f 9 y s v 4 1 4 b h 1 m m m 5 c c 9 c k 5 z b 6 r h p s l x 1 f 8 g k 3 f r v d 6 " ;
} ;
propagatedBuildInputs = [ httplib2 ] ;
meta = {
homepage = https://developer.paypal.com/ ;
description = " P y t h o n A P I s t o c r e a t e , p r o c e s s a n d m a n a g e p a y m e n t " ;
license = " P a y P a l S D K L i c e n s e " ;
} ;
} ;
2011-07-20 16:30:40 +01:00
2014-07-18 14:02:44 +01:00
pbr = buildPythonPackage rec {
name = " p b r - 0 . 9 . 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 b r / ${ name } . t a r . g z " ;
sha256 = " e 5 a 5 7 c 4 3 4 b 1 f a a 5 0 9 a 0 0 b f 4 5 8 d 2 c 7 a f 9 6 5 1 9 9 d 9 c c e d 3 d 0 5 a 5 4 7 b f f 9 8 8 0 f 7 e 8 c b " ;
} ;
# pip depend on $HOME setting
preConfigure = " e x p o r t H O M E = $ T M P D I R " ;
doCheck = false ;
buildInputs = [ pip ] ;
meta = {
description = " P y t h o n B u i l d R e a s o n a b l e n e s s " ;
homepage = " h t t p : / / d o c s . o p e n s t a c k . o r g / d e v e l o p e r / p b r / " ;
license = licenses . asl20 ;
} ;
} ;
2012-08-31 14:03:27 +01:00
pep8 = buildPythonPackage rec {
name = " p e p 8 - ${ version } " ;
2014-06-01 14:42:07 +01:00
version = " 1 . 5 . 7 " ;
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 " ;
2014-06-01 14:42:07 +01:00
md5 = " f 6 a d b d d 6 9 3 6 5 e c c a 2 0 5 1 3 c 7 0 9 f 9 b 7 c 9 3 " ;
2013-03-17 14:23:56 +00:00
} ;
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 " ;
2014-03-10 09:29:03 +00:00
license = 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 . " ;
2014-06-19 05:19:00 +01:00
license = stdenv . lib . licenses . mit ;
2010-08-26 13:03:17 +01:00
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 {
2014-08-24 15:07:14 +01:00
name = " p g 8 0 0 0 - 1 . 9 . 1 4 " ;
2013-03-27 01:24:55 +00:00
src = fetchurl {
2014-08-24 15:07:14 +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 g 8 0 0 0 / ${ name } . t a r . g z " ;
sha256 = " 1 v a n d v f a f 1 m 3 a 1 f b c 7 n b m 6 s y f q r 9 b a z h z s n m a i 0 j p j k b m b 3 4 9 i z s " ;
2013-03-27 01:24:55 +00:00
} ;
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 {
2014-07-02 21:22:30 +01:00
version = " 1 . 5 . 6 " ;
2013-09-13 11:37:43 +01:00
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 " ;
2014-07-02 21:22:30 +01:00
md5 = " 0 1 0 2 6 f 8 7 9 7 8 9 3 2 0 6 0 c c 8 6 c 1 d c 5 2 7 9 0 3 e " ;
2013-01-21 15:12:56 +00:00
} ;
2014-01-06 22:35:39 +00:00
buildInputs = [ mock scripttest virtualenv pytest ] ;
2013-01-21 15:12:56 +00:00
} ;
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 ] ;
} ;
2014-08-24 15:53:52 +01:00
pil = buildPythonPackage rec {
name = " P I L - ${ version } " ;
version = " 1 . 1 . 7 " ;
src = fetchurl {
url = " h t t p : / / e f f b o t . o r g / d o w n l o a d s / I m a g i n g - ${ version } . t a r . g z " ;
sha256 = " 0 4 a j 8 0 j h f b m x q z v m q 4 0 z f i 4 z 3 c w 6 v i 0 1 m 3 w k k 6 d i z 3 l c 9 7 1 c f n w 9 " ;
} ;
buildInputs = [ python pkgs . libjpeg pkgs . zlib pkgs . freetype ] ;
disabled = isPy3k ;
doCheck = true ;
preConfigure = ''
sed - i " s e t u p . p y " \
- e ' s | ^ FREETYPE_ROOT = . * $ | FREETYPE_ROOT = libinclude ( " ${ pkgs . freetype } " ) | g ;
s | ^ JPEG_ROOT = . * $ | JPEG_ROOT = libinclude ( " ${ pkgs . libjpeg } " ) | g ;
s | ^ ZLIB_ROOT = . * $ | ZLIB_ROOT = libinclude ( " ${ pkgs . zlib } " ) | g ; '
'' ;
checkPhase = " ${ python } / b i n / ${ python . executable } s e l f t e s t . p y " ;
buildPhase = " ${ python } / b i n / ${ python . executable } s e t u p . p y b u i l d _ e x t - i " ;
postInstall = ''
cd " $ o u t " /lib/python * /site-packages
ln - s $ PWD PIL
'' ;
meta = {
homepage = http://www.pythonware.com/products/pil/ ;
description = " 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 " ;
} ;
} ;
2013-04-05 19:54:23 +01:00
2013-02-07 23:52:59 +00:00
pillow = buildPythonPackage rec {
2014-01-06 22:21:15 +00:00
name = " P i l l o w - 2 . 3 . 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 " ;
2014-01-06 22:21:15 +00:00
md5 = " 5 6 b 6 6 1 4 4 9 9 a a c b 7 d 6 b 5 9 8 3 c 4 9 1 4 d a e a 7 " ;
2013-02-07 23:52:59 +00:00
} ;
2014-03-08 18:47:23 +00:00
buildInputs = [ pkgs . freetype pkgs . libjpeg 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.
2014-01-06 22:35:39 +00:00
preConfigure = ''
2013-02-07 23:52:59 +00:00
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
'' ;
2014-02-24 20:45:15 +00:00
2013-02-07 23:52:59 +00:00
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 {
2014-06-27 12:13:34 +01:00
name = " p l u m b u m - 1 . 4 . 2 " ;
2013-07-25 11:42:36 +01:00
buildInputs = [ pythonPackages . six ] ;
src = fetchurl {
2014-06-27 12:13:34 +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 l u m b u m / ${ name } . t a r . g z " ;
md5 = " 3 8 b 5 2 6 a f 9 0 1 2 a 5 2 8 2 a e 9 1 d f e 3 7 2 c e f d 3 " ;
2013-07-25 11:42:36 +01:00
} ;
} ;
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 / " ;
2014-03-10 09:29:03 +00:00
license = licenses . mit ;
2012-10-02 15:51:04 +01:00
} ;
} ;
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 ;
2014-04-25 14:13:41 +01:00
propagatedBuildInputs = [ pkgs . protobuf setuptools ] ;
2011-08-30 20:57:29 +01:00
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 {
2014-08-23 15:33:22 +01:00
name = " p s y c o p g 2 - 2 . 5 . 3 " ;
2013-10-11 09:44:18 +01:00
# error: invalid command 'test'
doCheck = false ;
src = fetchurl {
2014-02-21 22:46:45 +00: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 s y c o p g 2 / ${ name } . t a r . g z " ;
2014-08-23 15:33:22 +01:00
sha256 = " 0 2 h 3 3 b a r x i g s c z p y m p n w a 0 y v w 9 h g d v 8 d 6 3 b x m 5 x 2 5 1 r i 2 6 x z 6 b 9 s " ;
2013-10-11 09:44:18 +01:00
} ;
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 / " ;
2014-03-10 09:29:03 +00:00
license = licenses . mit ;
2012-10-13 08:54:37 +01:00
} ;
} ;
2013-04-13 07:42:23 +01:00
py = buildPythonPackage rec {
2014-03-06 09:58:52 +00:00
name = " p y - 1 . 4 . 2 0 " ;
2013-04-13 07:42:23 +01:00
src = fetchurl {
2013-12-29 19:04:26 +00: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 y / ${ name } . t a r . g z " ;
2014-03-06 09:58:52 +00:00
md5 = " 5 f 1 7 0 8 b e 5 4 8 2 f 3 f f 6 7 1 1 d f d 6 c a f d 4 5 e 0 " ;
2013-04-13 07:42:23 +01:00
} ;
} ;
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 " ;
2014-05-05 02:43:23 +01:00
platforms = stdenv . lib . platforms . unix ; # arbitrary choice
2010-06-20 16:52:23 +01:00
} ;
} ) ;
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 {
2013-12-21 08:51:52 +00:00
name = " p y g i t 2 - 0 . 2 0 . 0 " ;
2013-05-10 21:12:37 +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 y g i t 2 / ${ name } . t a r . g z " ;
2013-12-21 08:51:52 +00:00
sha256 = " 0 4 1 3 2 q 7 b n 8 k 7 q 7 k y 7 n j 3 b k z a 8 r 9 x k z k d p f v 4 6 2 b 6 r g j s d 1 x 6 h 3 4 0 " ;
2013-05-10 21:12:37 +01:00
} ;
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 {
2014-02-22 15:49:40 +00:00
name = " B a b e l - 1 . 3 " ;
2012-04-30 15:34: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 / B / B a b e l / ${ name } . t a r . g z " ;
2014-02-22 15:49:40 +00:00
sha256 = " 0 b n i n 7 7 7 l c 5 3 n x d 1 h p 3 a p q 4 1 0 j j 5 w x 9 2 n 0 8 h 7 h 4 i z p l 4 f 4 s x 0 0 l z " ;
2012-04-30 15:34:57 +01:00
} ;
2014-02-28 15:11:53 +00:00
propagatedBuildInputs = [ 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 ;
} ;
} ;
2014-04-25 19:33:01 +01:00
pycapnp = buildPythonPackage rec {
name = " p y c a p n p - 0 . 4 . 4 " ;
homepage = " h t t p : / / j p a r y a n i . g i t h u b . i o / p y c a p n p / i n d e x . h t m l " ;
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 c a p n p / ${ name } . t a r . g z " ;
sha256 = " 3 3 b 2 b 7 9 4 3 8 b b 9 b f 3 7 0 9 7 9 6 6 e 1 c 9 0 4 0 3 c 3 4 a b 4 9 b e 1 e b 6 4 7 e e 2 5 1 b 6 2 f 3 6 2 e e 3 5 3 7 " ;
} ;
buildInputs = with pkgs ; [ capnproto cython ] ;
# import setuptools as soon as possible, to minimize monkeypatching mayhem.
postConfigure = ''
sed - i ' 2 iimport setuptools' setup . py
'' ;
meta = with stdenv . lib ; {
maintainers = with maintainers ; [ cstrahan ] ;
license = stdenv . lib . licenses . bsd2 ;
platforms = stdenv . lib . platforms . all ;
} ;
} ;
2013-06-24 08:16:04 +01:00
2010-04-21 11:51:15 +01:00
pycryptopp = buildPythonPackage ( rec {
2014-01-10 23:18:21 +00:00
name = " p y c r y p t o p p - 0 . 6 . 0 . 1 2 0 6 5 6 9 3 2 8 1 4 1 5 1 0 5 2 5 6 4 8 6 3 4 8 0 3 9 2 8 1 9 9 6 6 8 8 2 1 0 4 5 4 0 8 9 5 8 " ;
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 " ;
2014-01-10 23:18:21 +00:00
sha256 = " 0 n 9 0 h 1 y g 7 b f v l b h n c 5 4 x b 6 d b q m 2 8 6 y k a k s y g 0 4 k x l h y j g f 8 m h q 8 i " ;
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 " ;
2014-06-19 05:19:00 +01:00
license = stdenv . lib . licenses . gpl2Plus ;
2010-04-21 11:51:15 +01:00
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 {
2014-06-01 14:42:07 +01:00
name = " p y f l a k e s - 0 . 8 . 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 / p / p y f l a k e s / ${ name } . t a r . g z " ;
2014-06-01 14:42:07 +01:00
md5 = " 9 0 5 f e 9 1 a d 1 4 b 9 1 2 8 0 7 e 8 f d c 2 a c 2 e 2 c 2 3 " ;
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 . " ;
2014-03-10 09:29:03 +00:00
license = licenses . mit ;
2013-03-17 14:23:56 +00:00
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 ] ;
2014-03-10 09:29:03 +00:00
paths = concatStringsSep " , " ( map ( l : " \" ${ l } / l i b \" " ) libs ) ;
2013-02-20 05:12:52 +00:00
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 {
2014-06-05 16:47:39 +01:00
name = " P y g m e n t s - 1 . 6 " ;
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 " ;
2014-06-05 16:47:39 +01:00
md5 = " a 1 8 f e e d f 6 f f d 0 b 0 c c 8 c 8 b 0 f b d b 2 0 2 7 b 1 " ;
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 . " ;
2014-03-10 09:29:03 +00:00
license = licenses . lgpl21 ;
2012-07-10 18:45:59 +01:00
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 " ;
2014-03-10 09:29:03 +00:00
license = licenses . mit ;
2012-09-02 12:13:18 +01:00
} ;
} ;
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 = ''
2014-01-06 22:35:39 +00:00
export PYTHONPATH = " $ P Y T H O N P A T H : . "
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 " ;
2014-03-10 09:29:03 +00:00
license = licenses . gpl2Plus ;
2013-06-24 07:35:03 +01:00
} ;
} ;
2013-07-07 18:12:46 +01:00
pyodbc = buildPythonPackage rec {
2013-11-24 11:47:58 +00:00
name = " p y o d b c - 3 . 0 . 7 " ;
2013-07-07 18:12:46 +01:00
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 " ;
2013-11-24 11:47:58 +00:00
sha256 = " 0 l d k m 8 x w s 9 1 j 7 z b v p q b 4 1 3 h v d z 8 r 6 6 b s l r 4 5 1 q 3 q c 0 x i 8 c n m y d f q " ;
2013-07-07 18:12:46 +01:00
} ;
2014-03-08 18:47:23 +00:00
buildInputs = [ pkgs . libiodbc ] ;
2013-07-07 18:12:46 +01:00
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 {
2013-12-28 07:38:45 +00:00
name = " p y p a r s i n g - 2 . 0 . 1 " ;
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 p a r s i n g / ${ name } . t a r . g z " ;
2013-12-28 07:38:45 +00:00
sha256 = " 1 r 7 4 2 r j b a g f 2 i 1 6 6 k 2 w 0 r 1 9 2 a d f w 7 l 9 l n s q z 7 w h 4 m f l f 0 0 z w s 1 q 0 " ;
2011-09-19 22:00:37 +01:00
} ;
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
2014-03-10 09:29:03 +00:00
'' + 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 ''
2013-06-24 11:36:44 +01:00
# 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 = ''
2014-01-06 22:35:39 +00:00
patchShebangs Makefile
make test PYTHON = $ { python . executable }
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 ;
} ;
} ) ;
2014-02-26 22:58:24 +00:00
pyro3 = buildPythonPackage ( rec {
name = " P y r o - 3 . 1 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 o / ${ name } . t a r . g z " ;
md5 = " 5 9 d 4 d 3 f 4 a 8 7 8 6 7 7 6 c 9 d 7 f 9 0 5 1 b 8 f 1 a 6 9 " ;
} ;
meta = with stdenv . lib ; {
description = " D i s t r i b u t e d o b j e c t m i d d l e w a r e f o r P y t h o n ( I P C / R P C ) " ;
homepage = http://pythonhosted.org/Pyro/ ;
license = licenses . mit ;
platforms = platforms . unix ;
maintainers = [ maintainers . bjornfor ] ;
} ;
} ) ;
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 ] ;
} ;
} ) ;
2014-02-08 12:42:04 +00:00
python_fedora = buildPythonPackage ( rec {
2014-02-21 13:29:32 +00:00
name = " p y t h o n - f e d o r a - 0 . 3 . 3 3 " ;
2014-02-08 12:42:04 +00:00
meta . maintainers = [ stdenv . lib . maintainers . mornfall ] ;
src = fetchurl {
2014-02-21 13:29:32 +00:00
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 t h o n - f e d o r a / ${ name } . t a r . g z " ;
sha256 = " 1 g 0 5 b h 7 d 5 d 0 g z r l n h p n c a 7 j p q b g s 2 r g n l z z b v z z x m d b m l k q i 3 m w s " ;
2014-02-08 12:42:04 +00:00
} ;
2014-02-21 13:29:32 +00:00
propagatedBuildInputs = [ kitchen requests bunch paver ] ;
2014-02-08 12:42:04 +00:00
doCheck = false ;
} ) ;
2013-11-11 00:43:54 +00:00
python_keyczar = buildPythonPackage rec {
name = " p y t h o n - k e y c z a r - 0 . 7 1 c " ;
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 - k e y c z a r / ${ name } . t a r . g z " ;
sha256 = " 1 8 m h i w q q 6 v p 6 5 y k m i 8 x 3 i 5 l 3 g v r v r r r 8 z 2 k v 1 1 z 1 r p i x m y r 7 s w 1 p " ;
} ;
meta = with stdenv . lib ; {
description = " T o o l k i t f o r s a f e a n d s i m p l e c r y p t o g r a p h y " ;
homepage = https://pypi.python.org/pypi/python-keyczar ;
license = licenses . asl20 ;
maintainers = with maintainers ; [ lovek323 ] ;
platforms = platforms . unix ;
} ;
buildInputs = [ pyasn1 pycrypto ] ;
} ;
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 {
2014-06-10 13:58:29 +01:00
name = " l d a p - 2 . 4 . 1 5 " ;
2011-10-19 11:27:57 +01:00
src = fetchurl {
2014-06-10 13:58: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 / p / p y t h o n - l d a p / p y t h o n - ${ name } . t a r . g z " ;
sha256 = " 0 w 0 n n 5 y j 0 n b b k v p b q g f n i 5 6 v 7 s j x 6 j f 6 s 6 z v p 9 z m a h y r v q r s r g 1 h " ;
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 {
2014-01-10 08:16:41 +00:00
version = " 0 . 2 5 " ;
2011-02-12 13:38:23 +00:00
name = " P y m a c s - ${ version } " ;
src = fetchurl {
2014-01-10 08:16:41 +00:00
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 / v ${ version } " ;
2011-02-12 13:38:23 +00:00
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 ] ;
} ;
} ;
2010-04-21 11:51:15 +01:00
pyopengl =
2014-03-25 21:18:02 +00:00
let version = " 3 . 0 . 2 " ;
2010-04-21 11:51:15 +01:00
in
buildPythonPackage {
name = " p y o p e n g l - ${ version } " ;
src = fetchurl {
2014-03-25 21:18:02 +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 O p e n G L / P y O p e n G L - ${ version } . t a r . g z " ;
sha256 = " 9 e f 9 3 b b e a 2 c 1 9 3 8 9 8 3 4 1 f 5 7 4 e 2 8 1 c 3 c a 0 d f e 8 7 c 5 3 a a 2 5 f b e c 4 b 0 3 5 8 1 f 6 d 1 b a 0 3 " ;
2010-04-21 11:51:15 +01:00
} ;
propagatedBuildInputs = with pkgs ; [ mesa freeglut pil ] ;
2014-03-25 21:18:02 +00:00
patchPhase = ''
sed - i " s | u t i l . f i n d _ l i b r a r y ( n a m e ) | n a m e | " OpenGL/platform/ctypesloader.py
sed - i " s | ' G L ' , | ' l i b G L . s o ' , | " OpenGL/platform/glx.py
sed - i " s | ' G L U ' , | ' ${ pkgs . mesa } / l i b / l i b G L U . s o ' , | " OpenGL/platform/glx.py
sed - i " s | ' g l u t ' , | ' ${ pkgs . freeglut } / l i b / l i b g l u t . s o ' , | " OpenGL/platform/glx.py
'' ;
2010-04-21 11:51:15 +01:00
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
} ;
2014-05-07 10:11:54 +01:00
pyrax = buildPythonPackage rec {
2014-06-22 08:21:16 +01:00
name = " p y r a x - 1 . 8 . 2 " ;
2014-05-07 10:11: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 / p / p y r a x / ${ name } . t a r . g z " ;
2014-06-22 08:21:16 +01:00
sha256 = " 0 h v i m 6 0 b h g f j 9 1 m 7 p p 8 j f m b 4 9 f 0 8 7 x q l g k q a 5 0 5 z w 2 8 r 7 y l 0 h c f p " ;
2014-05-07 10:11:54 +01:00
} ;
meta = {
homepage = " h t t p s : / / g i t h u b . c o m / r a c k s p a c e / p y r a x " ;
license = " M I T " ;
description = " P y t h o n A P I t o i n t e r f a c e w i t h R a c k s p a c e " ;
} ;
doCheck = false ;
} ;
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 {
2014-03-15 00:14:43 +00:00
name = " p y s e r i a l - 2 . 7 " ;
2013-02-20 05:11: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 / p / p y s e r i a l / ${ name } . t a r . g z " ;
2014-03-15 00:14:43 +00:00
sha256 = " 3 5 4 2 e c 0 8 3 8 7 9 3 e 6 1 d 6 2 2 4 e 2 7 f f 0 5 e 8 c e 4 b a 5 a 5 c 5 c c 4 e c 5 c 6 a 3 e 8 d 4 9 2 4 7 9 8 5 4 7 7 " ;
2013-02-20 05:11:40 +00:00
} ;
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 " ;
} ;
} ;
2014-02-05 04:13:24 +00:00
pysphere = buildPythonPackage rec {
name = " p y s p h e r e - 0 . 1 . 8 " ;
src = fetchurl {
url = " h t t p : / / p y s p h e r e . g o o g l e c o d e . c o m / f i l e s / ${ name } . z i p " ;
md5 = " c 5 7 c b a 3 3 6 2 6 a c 4 b 1 e 3 d 1 9 7 4 9 2 3 d 5 9 2 3 2 " ;
} ;
meta = {
homepage = " h t t p s : / / c o d e . g o o g l e . c o m / p / p y s p h e r e / " ;
license = " B S D " ;
description = " P y t h o n A P I f o r i n t e r a c t i o n w i t h t h e V M W a r e v S p h e r e " ;
} ;
} ;
2013-02-20 05:11:40 +00:00
2010-04-21 11:51:15 +01:00
pysqlite = buildPythonPackage ( rec {
2014-01-11 00:48:12 +00:00
name = " p y s q l i t e - 2 . 6 . 3 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
2014-01-11 00:48:12 +00: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 y s q l i t e / ${ name } . t a r . g z " ;
sha256 = " 1 3 d j z g n b i 7 1 z n j j y a w 4 n y b g 6 s m i l g s z c i d 6 4 6 j 5 q a v 7 m d c h k b 7 7 y " ;
2010-04-21 11:51:15 +01:00
} ;
# Since the `.egg' file is zipped, the `NEEDED' of the `.so' files
# it contains is not taken into account. Thus, we must explicitly make
# it a propagated input.
propagatedBuildInputs = [ pkgs . sqlite ] ;
patchPhase = ''
substituteInPlace " 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 {
2013-12-20 16:04:26 +00:00
name = " p y s v n - 1 . 7 . 8 " ;
2011-03-30 11:02:23 +01:00
src = fetchurl {
2013-12-20 16:04:26 +00: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 . 8 . t a r . g z " ;
sha256 = " 1 q k 7 a f 0 l a b y 1 f 7 9 b d 0 7 l 9 p 0 d x n 5 x m c m f w l c b 9 l 1 h k 2 9 z w w q 6 x 4 v 0 " ;
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 " ;
2014-01-06 22:35:39 +00:00
preConfigure = ''
2011-03-30 11:02:23 +01:00
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 {
2014-02-28 15:11:53 +00:00
name = " p y t z - 2 0 1 3 . 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 / p / p y t z / ${ name } . t a r . b z 2 " ;
2014-02-28 15:11:53 +00:00
md5 = " e c 7 0 7 6 9 4 7 a 4 6 a 8 a 3 c b 3 3 c b f 2 9 8 3 a 5 6 2 c " ;
2012-05-30 22:12:40 +01:00
} ;
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 ;
2014-06-19 05:19:00 +01:00
license = stdenv . lib . licenses . gpl2Plus ;
2010-04-21 11:51:15 +01:00
} ;
} ) ;
2012-08-05 12:50:24 +01:00
2013-10-28 18:12:52 +00:00
pywebkitgtk = stdenv . mkDerivation rec {
name = " p y w e b k i t g t k - ${ version } " ;
version = " 1 . 1 . 8 " ;
src = fetchurl {
url = " h t t p : / / p y w e b k i t g t k . g o o g l e c o d e . c o m / f i l e s / ${ name } . t a r . b z 2 " ;
sha256 = " 1 s v l w y l 6 1 r v b q b c b a l k g 6 p b f 3 8 y j y v 7 q k q 9 s x 4 x 3 5 y k 6 9 l s c a a c 2 " ;
} ;
buildInputs = with pkgs ; [
2014-03-30 02:02:07 +01:00
pkgconfig python gtk2 pygtk libxml2 libxslt libsoup webkitgtk2 icu
2013-10-28 18:12:52 +00:00
] ;
meta = {
homepage = " h t t p s : / / c o d e . g o o g l e . c o m / p / p y w e b k i t g t k / " ;
description = " P y t h o n b i n d i n g s f o r t h e W e b K i t G T K + p o r t " ;
license = stdenv . lib . licenses . lgpl2Plus ;
} ;
} ;
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 {
2014-01-06 22:21:15 +00:00
name = " P y Y A M L - 3 . 1 0 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
2014-01-06 22:21:15 +00:00
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 / ${ name } . z i p " ;
sha256 = " 1 r 1 2 7 f a 3 5 4 p p b 6 6 7 f 4 a c x l z w x i x a p 1 j g z j r r 7 9 0 b w 8 m c p x v 2 h q a a " ;
2010-04-21 11:51:15 +01:00
} ;
2014-03-08 18:47:23 +00:00
buildInputs = [ 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 =
2014-03-10 09:29:03 +00:00
let freetype = 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 " ; } ) ;
2011-09-09 15:20:43 +01:00
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/ ;
} ;
} ;
2014-05-13 10:48:38 +01:00
2014-03-05 09:54:25 +00:00
requests2 = buildPythonPackage rec {
name = " r e q u e s t s - 2 . 2 . 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 q u e s t s / ${ name } . t a r . g z " ;
md5 = " a c 2 7 0 8 1 1 3 5 f 5 8 d 1 a 4 3 e 4 f b 3 8 2 5 8 d 6 f 4 e " ;
} ;
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-01-30 14:42:40 +00:00
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/ ;
} ;
} ;
2014-05-13 12:19:50 +01:00
redis = buildPythonPackage rec {
name = " r e d i s - 2 . 9 . 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 / r / r e d i s / ${ name } . t a r . g z " ;
sha256 = " 1 r 7 l r h 4 k x c c y h r 4 p y p 1 3 i l y m m v h 2 2 p i 7 a a 9 5 1 4 d m n h i 7 4 z n 4 g 5 x g " ;
} ;
doCheck = false ;
meta = {
description = " P y t h o n c l i e n t f o r R e d i s k e y - v a l u e s t o r e " ;
homepage = " h t t p s : / / p y p i . p y t h o n . o r g / p y p i / r e d i s / " ;
} ;
} ;
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-11-15 18:29:06 +00:00
robotframework = buildPythonPackage rec {
2014-08-05 22:23:09 +01:00
version = " 2 . 8 . 5 " ;
2013-11-15 18:29:06 +00:00
name = " r o b o t f r a m e w o r k - ${ version } " ;
src = fetchurl {
2014-02-13 21:35:10 +00: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 / r / r o b o t f r a m e w o r k / ${ name } . t a r . g z " ;
2014-08-05 22:23:09 +01:00
sha256 = " 0 r z d n 2 g v m c r x s 2 f v x m 1 1 h 5 5 w 4 j 5 p v 0 l f 4 4 3 f c 4 h l 8 k z w j w g j c k g a " ;
2013-11-15 18:29:06 +00:00
} ;
# error: invalid command 'test'
doCheck = false ;
meta = with stdenv . lib ; {
description = " G e n e r i c t e s t a u t o m a t i o n f r a m e w o r k " ;
homepage = http://robotframework.org/ ;
license = licenses . asl20 ;
platforms = platforms . linux ;
maintainers = [ maintainers . bjornfor ] ;
} ;
} ;
2013-12-29 09:09:14 +00:00
robotframework-selenium2library = buildPythonPackage rec {
2014-02-13 21:39:59 +00:00
version = " 1 . 5 . 0 " ;
2013-12-29 09:09:14 +00:00
name = " r o b o t f r a m e w o r k - s e l e n i u m 2 l i b r a r y - ${ 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 / r / r o b o t f r a m e w o r k - s e l e n i u m 2 l i b r a r y / ${ name } . t a r . g z " ;
2014-02-13 21:39:59 +00:00
sha256 = " 0 h j m a r 9 7 6 6 j q f p b c k a c 8 z n c y a l 5 4 6 v m 0 5 9 w n k b n 3 3 f 6 8 d j d c n w z 1 " ;
2013-12-29 09:09:14 +00:00
} ;
# error: invalid command 'test'
#doCheck = false;
propagatedBuildInputs = [ robotframework selenium docutils decorator ] ;
meta = with stdenv . lib ; {
description = " " ;
homepage = http://robotframework.org/ ;
license = licenses . asl20 ;
} ;
} ;
robotsuite = buildPythonPackage rec {
version = " 1 . 4 . 2 " ;
name = " r o b o t s u i t 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 / r / r o b o t s u i t e / ${ name } . z i p " ;
sha256 = " 0 s w 0 9 v r v w v 3 g z q b 6 j v h b r z 0 9 l 6 n z z j 3 i 9 a v 3 4 q j d d q f w q 7 c r 1 b l a " ;
} ;
# error: invalid command 'test'
#doCheck = false;
2014-03-08 18:47:23 +00:00
buildInputs = [ unittest2 ] ;
2013-12-29 09:09:14 +00:00
propagatedBuildInputs = [ robotframework lxml ] ;
meta = with stdenv . lib ; {
description = " P y t h o n u n i t t e s t t e s t s u i t e f o r R o b o t F r a m e w o r k " ;
homepage = http://github.com/collective/robotsuite/ ;
license = licenses . gpl3 ;
} ;
} ;
2013-11-15 20:33:34 +00:00
robotframework-ride = buildPythonPackage rec {
2014-02-13 21:36:39 +00:00
version = " 1 . 2 . 3 " ;
2013-11-15 20:33:34 +00:00
name = " r o b o t f r a m e w o r k - r i d e - ${ version } " ;
src = fetchurl {
url = " h t t p s : / / r o b o t f r a m e w o r k - r i d 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 " ;
2014-02-13 21:36:39 +00:00
sha256 = " 1 l f 5 f 4 x 8 0 f 7 d 9 8 3 b m k x 1 2 s x c i z z i i 2 1 k g h s 8 k f 6 3 a 1 m j 0 2 2 a 5 x 5 j " ;
2013-11-15 20:33:34 +00:00
} ;
propagatedBuildInputs = [ pygments wxPython modules . sqlite3 ] ;
# ride_postinstall.py checks that needed deps are installed and creates a
# desktop shortcut. We don't really need it and it clutters up bin/ so
# remove it.
postInstall = ''
rm - f " $ o u t / b i n / r i d e _ p o s t i n s t a l l . p y "
'' ;
# error: invalid command 'test'
doCheck = false ;
meta = with stdenv . lib ; {
description = " L i g h t - w e i g h t a n d i n t u i t i v e e d i t o r f o r R o b o t F r a m e w o r k t e s t c a s e f i l e s " ;
homepage = https://code.google.com/p/robotframework-ride/ ;
license = licenses . asl20 ;
platforms = platforms . linux ;
maintainers = [ maintainers . bjornfor ] ;
} ;
} ;
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/ ;
} ;
} ;
2014-02-08 12:42:04 +00:00
rpkg = buildPythonPackage ( rec {
name = " r p k g - 1 . 1 4 " ;
meta . maintainers = [ stdenv . lib . maintainers . mornfall ] ;
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 / r / p / r p k g / r p k g - 1 . 1 4 . t a r . g z " ;
sha256 = " 0 d 0 5 3 h d j z 8 7 a y m 1 s f m 6 c 4 c x m z m y 5 g 0 g k r m r c z l y 8 6 s k j 9 5 7 r 7 7 a 7 " ;
} ;
patches = [ ../development/python-modules/rpkg-buildfix.diff ] ;
# buildPhase = "python setup.py build";
# doCheck = false;
propagatedBuildInputs = [ pycurl koji GitPython pkgs . git
pkgs . rpm pkgs . pyopenssl ] ;
} ) ;
2014-08-15 13:41:31 +01:00
rpyc = buildPythonPackage rec {
name = " r p y c - ${ version } " ;
version = " 3 . 3 . 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 / r / r p y c / ${ name } . t a r . g z " ;
md5 = " 6 9 3 1 c b 9 2 c 4 1 f 5 4 7 5 9 1 b 5 2 5 1 4 2 c c a e e f 1 " ;
} ;
propagatedBuildInputs = [ nose plumbum ] ;
meta = {
description = " R e m o t e P y t h o n C a l l ( R P y C ) , a t r a n s p a r e n t a n d s y m m e t r i c R P C l i b r a r y " ;
homepage = http://rpyc.readthedocs.org ;
license = stdenv . lib . licenses . mit ;
} ;
} ;
2014-02-12 14:29:22 +00:00
rsa = buildPythonPackage rec {
name = " r s a - 3 . 1 . 2 " ;
src = fetchurl {
url = " h t t p s : / / b i t b u c k e t . o r g / s y b r e n / p y t h o n - r s a / g e t / v e r s i o n - 3 . 1 . 2 . t a r . b z 2 " ;
sha256 = " 0 a g 2 q 4 g a a p i 7 4 x 4 7 q 7 4 x h c j z s 4 b 7 r 2 b b 6 z r j 2 a n 4 s z 5 d 3 y d 0 6 c g f " ;
} ;
buildInputs = [ pythonPackages . pyasn1 ] ;
meta = {
homepage = http://stuvel.eu/rsa ;
2014-06-19 05:19:00 +01:00
license = stdenv . lib . licenses . asl20 ;
2014-02-12 14:29:22 +00:00
description = " A p u r e - P y t h o n R S A i m p l e m e n t a t i o n " ;
} ;
} ;
2013-12-18 04:16:50 +00:00
rtslib_fb = buildPythonPackage rec {
version = " 2 . 1 . f b 4 3 " ;
name = " r t s l i b - f b - ${ version } " ;
src = fetchurl {
url = " h t t p s : / / g i t h u b . c o m / a g r o v e r / r t s l i b - f b / a r c h i v e / v ${ version } . t a r . g z " ;
sha256 = " 1 b 5 9 v y y 1 2 g 6 r i x 9 l 2 f x x 0 h j i q 3 3 s h k b 7 9 v 5 7 g w f f s 5 7 v h 7 4 w c 5 3 v " ;
} ;
meta = {
description = " A P y t h o n o b j e c t A P I f o r m a n a g i n g t h e L i n u x L I O k e r n e l t a r g e t " ;
homepage = " h t t p s : / / g i t h u b . c o m / a g r o v e r / r t s l i b - f b " ;
platforms = stdenv . lib . platforms . linux ;
} ;
} ;
2011-07-20 16:30:40 +01:00
2013-09-21 18:19:42 +01:00
seqdiag = buildPythonPackage rec {
2013-11-24 12:11:34 +00:00
name = " s e q d i a g - 0 . 9 . 0 " ;
2013-09-21 18:19:42 +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 / s / s e q d i a g / ${ name } . t a r . g z " ;
2013-11-24 12:11:34 +00:00
md5 = " 9 2 9 4 6 5 5 5 c e 2 1 9 d f 1 8 0 0 2 e 6 c 8 8 b 4 0 5 5 d 3 " ;
2013-09-21 18:19:42 +01:00
} ;
buildInputs = [ pep8 nose unittest2 docutils ] ;
propagatedBuildInputs = [ blockdiag ] ;
2013-11-24 12:11:34 +00:00
# Tests fail:
2013-09-21 18:19:42 +01:00
# ...
2013-11-24 12:11:34 +00:00
# ERROR: Failure: OSError ([Errno 2] No such file or directory: '/tmp/nix-build-python2.7-seqdiag-0.9.0.drv-0/seqdiag-0.9.0/src/seqdiag/tests/diagrams/')
2013-09-21 18:19:42 +01:00
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
2011-09-09 15:20:43 +01:00
# TODO: add ATLAS=${pkgs.atlas}
2014-01-06 22:35:39 +00:00
preConfigure = ''
2011-09-09 15:20:43 +01:00
export BLAS = $ { pkgs . blas } LAPACK = $ { pkgs . liblapack }
2014-02-21 22:26:56 +00:00
sed - i ' 0 , /from numpy.distutils.core/s // import setuptools ; from numpy . distutils . core / ' setup . py
2011-09-09 15:20:43 +01:00
'' ;
2014-01-06 22:35:39 +00:00
setupPyBuildFlags = [ " - - f c o m p i l e r = ' g n u 9 5 ' " ] ;
# error: invalid command 'test'
doCheck = false ;
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 {
2014-01-06 22:21:15 +00:00
version = " 1 . 3 " ;
2011-03-30 13:27:54 +01:00
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 {
2014-01-06 22:21:15 +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 / 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 = " 1 d 1 c 5 1 1 7 c c f c 7 b 5 9 6 1 c a e 6 c 1 0 2 0 c 0 8 4 8 " ;
2011-03-30 13:27:54 +01:00
} ;
2014-01-06 22:21:15 +00:00
buildInputs = [ nose pytest ] ;
2011-03-30 13:27:54 +01:00
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/ ;
} ;
} ;
2013-12-29 09:09:14 +00:00
selenium = buildPythonPackage rec {
name = " s e l e n i u m - 2 . 3 9 . 0 " ;
src = pkgs . 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 l e n i u m / ${ name } . t a r . g z " ;
sha256 = " 1 k i s n d z l 9 s 0 v s 0 a 5 p a q x 3 5 h x q 2 8 i d 3 x y i 1 g f s j a i x s i 6 r s 0 i b h h h " ;
} ;
2012-08-06 23:11:13 +01:00
2013-12-29 09:09:14 +00:00
buildInputs = [ pkgs . xlibs . libX11 ] ;
2012-08-06 23:11:13 +01:00
2013-12-29 09:09:14 +00:00
# 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 " ;
} ;
2012-08-06 23:11:13 +01:00
2013-12-29 09:09:14 +00:00
preInstall = ''
cp " ${ x_ignore_nofocus } / " * .
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
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 " " }
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/ ;
2014-06-19 05:19:00 +01:00
license = stdenv . lib . licenses . mit ;
2010-04-21 11:51:15 +01:00
} ;
} ) ;
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 " ;
} ;
2014-01-06 22:21:15 +00:00
propagatedBuildInputs = [ jinja2 markdown pillow pilkit clint argh pytest ] ;
2013-09-17 19:47:28 +01:00
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 ] ;
} ;
} ;
2014-01-22 07:06:09 +00:00
spambayes = buildPythonPackage rec {
name = " s p a m b a y e s - 1 . 1 a 6 " ;
src = fetchurl {
url = " m i r r o r : / / s o u r c e f o r g e / s p a m b a y e s / ${ name } . t a r . g z " ;
sha256 = " 0 l q h n 2 v 0 a v g w x m k 4 d q 9 l k w r 2 g 3 9 l s 2 p 6 x 8 h q k 5 w 0 7 w d 4 6 2 c j s x 8 l " ;
} ;
propagatedBuildInputs = [ pydns lockfile ] ;
meta = with stdenv . lib ; {
description = " S t a t i s t i c a l a n t i - s p a m f i l t e r , i n i t i a l l y b a s e d o n t h e w o r k o f P a u l G r a h a m " ;
homepage = http://spambayes.sourceforge.net/ ;
} ;
} ;
2014-05-13 14:47:03 +01:00
shapely = buildPythonPackage rec {
name = " S h a p e l y - 1 . 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 / S / S h a p e l y / ${ name } . t a r . g z " ;
sha256 = " 0 9 9 s c 7 a j p p 6 h b g r x 3 c 0 b l 6 h h k z 1 m h n r 0 a h v c 7 s 4 i 3 f 3 b 7 q 1 z f n 7 l " ;
} ;
2014-05-13 15:49:34 +01:00
buildInputs = [ pkgs . geos ] ;
2014-05-13 14:47:03 +01:00
preConfigure = ''
export LANG = " e n _ U S . U T F - 8 " ;
'' + s t d e n v . 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 L i n u x ''
export LOCALE_ARCHIVE = " ${ pkgs . glibcLocales } / l i b / l o c a l e / l o c a l e - a r c h i v e " ;
'' ;
2014-05-13 15:49:34 +01:00
patchPhase = ''
sed - i " s | _ l g e o s = l o a d _ d l l ( ' g e o s _ c ' , f a l l b a c k s = . * ) | _ l g e o s = l o a d _ d l l ( ' g e o s _ c ' , f a l l b a c k s = [ ' ${ pkgs . geos } / l i b / l i b g e o s _ c . s o ' ] ) | " shapely/geos.py
'' ;
2014-05-13 14:47:03 +01:00
doCheck = false ; # won't suceed for unknown reasons that look harmless, though
meta = with stdenv . lib ; {
description = " G e o m e t r i c o b j e c t s , p r e d i c a t e s , a n d o p e r a t i o n s " ;
homepage = " h t t p s : / / p y p i . p y t h o n . o r g / p y p i / S h a p e l y / " ;
} ;
} ;
2014-07-18 14:02:44 +01:00
stevedore = buildPythonPackage rec {
name = " s t e v e d o r e - 0 . 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 / s / s t e v e d o r e / ${ name } . t a r . g z " ;
sha256 = " b e c 9 2 6 9 c b f a 5 8 d e 4 f 0 8 4 9 e c 7 9 b b 7 d 5 4 e e e e d 9 d f 8 b 5 f b f a 1 6 3 7 f b c 6 8 0 6 2 8 2 2 8 4 7 " ;
} ;
buildInputs = [ pbr pip ] ;
2014-08-06 15:09:57 +01:00
propagatedBuildInputs = [ setuptools ] ;
2014-07-18 14:02:44 +01:00
meta = {
description = " M a n a g e d y n a m i c p l u g i n s f o r P y t h o n a p p l i c a t i o n s " ;
homepage = " h t t p s : / / p y p i . p y t h o n . o r g / p y p i / s t e v e d o r e " ;
license = licenses . asl20 ;
} ;
} ;
2014-01-22 07:06:09 +00:00
pydns = buildPythonPackage rec {
name = " p y d n s - 2 . 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 / p / p y d n s / ${ name } . t a r . g z " ;
sha256 = " 0 q n v 7 i 9 8 2 4 n b 5 h 9 p s j 0 r w z j y p r w g f i w h 5 s 5 r a a 9 a v b q a z y 5 h v 5 p i " ;
} ;
doCheck = false ;
meta = with stdenv . lib ; {
} ;
} ;
2013-10-28 21:10:19 +00:00
sympy = buildPythonPackage rec {
name = " s y m p y - 0 . 7 . 3 " ;
src = fetchurl {
url = " h t t p s : / / g i t h u b . c o m / s y m p y / s y m p y / r e l e a s e s / d o w n l o a d / ${ name } / ${ name } . t a r . g z " ;
sha256 = " 0 8 1 g 9 g s 2 d 1 d 4 1 i p n 8 z r 0 3 4 d 9 8 c n r x v c 4 z s m i h q m f w z i r w z p c i i 5 x " ;
} ;
meta = with stdenv . lib ; {
description = " A P y t h o n l i b r a r y f o r s y m b o l i c m a t h e m a t i c s " ;
homepage = http://www.sympy.org/ ;
license = " f r e e " ;
maintainers = with maintainers ; [ lovek323 ] ;
platforms = platforms . unix ;
} ;
} ;
2013-09-17 19:47:28 +01:00
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
2014-01-25 10:30:06 +00:00
doCheck = false ;
2013-09-17 19:47:28 +01:00
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 {
2014-07-08 08:35:55 +01:00
name = " s i x - 1 . 7 . 3 " ;
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 " ;
2014-07-08 08:35:55 +01:00
md5 = " 7 8 4 c 6 e 5 5 4 1 c 3 c 4 9 5 2 d e 9 c 0 a 9 6 6 a 0 a 8 0 b " ;
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 ;
2014-03-10 09:29:03 +00:00
license = licenses . mit ;
2013-03-31 21:58:48 +01:00
} ;
} ;
2014-03-03 16:25:33 +00:00
sorl_thumbnail = buildPythonPackage rec {
name = " s o r l - t h u m b n a i l - 1 1 . 1 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 o r l - t h u m b n a i l / ${ name } . t a r . g z " ;
sha256 = " 0 5 0 b 9 k z b x 7 j v s 3 q w f x x s h h i s 0 9 0 h k 1 2 8 m a a s y 8 p i 5 w s s 6 n x 5 k y w 4 " ;
} ;
2014-03-03 18:30:58 +00:00
# Disabled due to an improper configuration error when tested against django. This looks like something broken in the test cases for sorl.
2014-03-03 16:25:33 +00:00
doCheck = false ;
meta = {
homepage = http://sorl-thumbnail.readthedocs.org/en/latest/ ;
description = " T h u m b n a i l s f o r D j a n g o " ;
license = stdenv . lib . licenses . bsd3 ;
} ;
} ;
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 ] ;
2014-01-06 22:35:39 +00:00
propagatedBuildInputs = [ meld3 ] ;
# failing tests when building under chroot as root user doesn't exist
doCheck = false ;
2013-06-22 13:10:10 +01:00
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/ ;
} ;
2013-11-02 03:09:27 +00:00
} ;
subprocess32 = buildPythonPackage rec {
2014-06-01 14:42:07 +01:00
name = " s u b p r o c e s s 3 2 - 3 . 2 . 6 " ;
2013-11-02 03:09:27 +00: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 / s / s u b p r o c e s s 3 2 / ${ name } . t a r . g z " ;
2014-06-01 14:42:07 +01:00
md5 = " 7 5 4 c 5 a b 9 f 5 3 3 e 7 6 4 f 9 3 1 1 3 6 9 7 4 b 6 1 8 f 1 " ;
2013-11-02 03:09:27 +00:00
} ;
doCheck = false ;
meta = {
homepage = " h t t p s : / / p y p i . p y t h o n . o r g / p y p i / s u b p r o c e s s 3 2 " ;
description = " B a c k p o r t o f t h e s u b p r o c e s s m o d u l e f r o m P y t h o n 3 . 2 . 5 f o r u s e o n 2 . x . " ;
maintainers = [ stdenv . lib . maintainers . garbas ] ;
} ;
2013-06-22 13:10:10 +01:00
} ;
2011-09-19 22:00:37 +01:00
sphinx = buildPythonPackage ( rec {
2013-12-29 18:52:26 +00:00
name = " S p h i n x - 1 . 2 " ;
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 " ;
2013-12-29 18:52:26 +00:00
md5 = " 8 5 1 6 0 4 6 a a d 7 3 f e 4 6 d e d e c e 4 e 8 e 4 3 4 3 2 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 " ;
} ;
} ) ;
2014-03-09 12:27:41 +00:00
sqlalchemy = pkgs . lib . overrideDerivation sqlalchemy9 ( args : rec {
name = " S Q L A l c h e m y - 0 . 7 . 1 0 " ;
2011-03-29 17:15:08 +01:00
src = fetchurl {
2014-03-09 12:27:41 +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 / S / S Q L A l c h e m y / ${ name } . t a r . g z " ;
2013-07-28 11:30:11 +01:00
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
] ;
2014-03-09 12:27:41 +00:00
} ) ;
2013-07-28 11:30:11 +01:00
2011-03-29 17:15:08 +01:00
2014-03-09 12:27:41 +00:00
sqlalchemy8 = pkgs . lib . overrideDerivation sqlalchemy9 ( args : rec {
name = " S Q L A l c h e m y - 0 . 8 . 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 / S / S Q L A l c h e m y / ${ name } . t a r . g z " ;
md5 = " e c f 0 7 3 8 e a f 1 2 2 9 b a e 2 7 a d 2 b e 0 f 9 9 7 8 a 8 " ;
2011-03-29 17:15:08 +01:00
} ;
2014-03-09 12:27:41 +00:00
} ) ;
2014-05-13 10:48:38 +01:00
2014-03-09 12:27:41 +00:00
sqlalchemy9 = buildPythonPackage rec {
name = " S Q L A l c h e m y - 0 . 9 . 3 " ;
2013-09-20 17:02:51 +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 / S / S Q L A l c h e m y / ${ name } . t a r . g z " ;
2014-03-09 12:27:41 +00:00
md5 = " a 2 7 9 8 9 b 9 d 4 b 3 f 1 4 e a 0 b 1 6 0 0 a a 4 5 5 5 9 c 4 " ;
2013-09-20 17:02:51 +01:00
} ;
buildInputs = [ nose mock ] ;
propagatedBuildInputs = [ modules . sqlite3 ] ;
2014-03-09 12:27:41 +00:00
checkPhase = ''
2014-05-13 10:48:38 +01:00
$ { python . executable } sqla_nose . py
2014-03-09 12:27:41 +00:00
'' ;
2013-09-20 17:02:51 +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: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 " ;
} ;
2014-01-06 22:35:39 +00:00
buildInputs = [ pytest webob pkgs . imagemagick nose ] ;
2013-09-20 17:04:01 +01:00
propagatedBuildInputs = [ sqlalchemy8 wand ] ;
2014-01-06 22:35:39 +00:00
checkPhase = ''
cd tests
2014-04-09 15:10:16 +01:00
export MAGICK_HOME = " ${ pkgs . imagemagick } "
2014-01-06 22:35:39 +00:00
export PYTHONPATH = $ PYTHONPATH:../
py . test
cd . .
'' ;
2013-09-20 17:04:01 +01:00
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 " ;
2014-03-10 09:29:03 +00:00
license = licenses . mit ;
2013-09-20 17:04:01 +01:00
} ;
} ;
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 ;
2014-03-10 09:29:03 +00:00
license = licenses . bsd3 ;
2013-09-20 17:08:55 +01:00
} ;
} ;
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 ;
2014-03-10 09:29:03 +00:00
license = licenses . asl20 ;
2012-06-12 21:16:04 +01:00
} ;
} ) ;
2013-01-18 01:21:24 +00:00
subunit = buildPythonPackage rec {
name = " s u b u n i t - ${ version } " ;
2013-12-29 18:52:26 +00:00
version = " 0 . 0 . 1 6 " ;
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 " ;
2013-12-29 18:52:26 +00:00
sha256 = " 1 y l l a 1 w l m v 2 9 v d r 7 6 r 5 k g r 7 y 2 1 b z 4 a h i 3 v 2 6 m x s y s 4 2 w 9 0 r f k a h i " ;
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 ;
2014-03-10 09:29:03 +00:00
license = licenses . asl20 ;
2013-01-18 01:21:24 +00:00
} ;
} ;
2014-07-11 05:04:42 +01:00
sure = buildPythonPackage rec {
name = " s u r e - ${ version } " ;
version = " 1 . 2 . 7 " ;
# Not picking up from PyPI because it doesn't contain tests.
src = fetchgit {
url = " g i t : / / g i t h u b . c o m / g a b r i e l f a l c a o / s u r e . g i t " ;
rev = " 8 6 a b 9 f a a 9 7 a a 9 c 1 7 2 0 c 7 d 0 9 0 d e a c 2 b e 3 8 5 e d 3 d 7 a " ;
sha256 = " 0 2 v f f c d g r 6 v b j 8 0 l h l 9 2 5 w 7 z q y 6 c q n f v s 0 8 8 i 0 r b k j s 5 l x c 5 1 1 b 3 " ;
} ;
buildInputs = [ nose ] ;
propagatedBuildInputs = [ six mock ] ;
meta = {
description = " U t i l i t y b e l t f o r a u t o m a t e d t e s t i n g " ;
homepage = " h t t p : / / f a l c a o . i t / s u r e / " ;
license = licenses . gpl3Plus ;
} ;
} ;
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
2013-12-18 04:16:50 +00:00
targetcli_fb = buildPythonPackage rec {
version = " 2 . 1 . f b 3 3 " ;
name = " t a r g e t c l i - f b - ${ version } " ;
src = fetchurl {
url = " h t t p s : / / g i t h u b . c o m / a g r o v e r / t a r g e t c l i - f b / a r c h i v e / v ${ version } . t a r . g z " ;
sha256 = " 1 z c m 0 a g d p f 8 6 6 0 2 0 b 4 3 f l 8 z y y y z z 6 r 7 4 m n 1 s z 4 x p a a 0 p i n p w j k 4 2 " ;
} ;
2014-01-25 10:30:06 +00:00
2013-12-18 04:16:50 +00:00
propagatedBuildInputs = [
configshell_fb
rtslib_fb
] ;
meta = {
description = " A c o m m a n d s h e l l f o r m a n a g i n g t h e L i n u x L I O k e r n e l t a r g e t " ;
homepage = " h t t p s : / / g i t h u b . c o m / a g r o v e r / t a r g e t c l i - f b " ;
platforms = stdenv . lib . platforms . linux ;
} ;
} ;
2014-01-25 10:30:06 +00:00
tarsnapper = buildPythonPackage rec {
name = " t a r s n a p p e r - 0 . 2 . 1 " ;
src = fetchgit {
url = https://github.com/miracle2k/tarsnapper.git ;
rev = " 6 2 0 4 3 9 b c a 6 8 8 9 2 f 2 f f a b a 1 0 7 9 a 3 4 b 1 8 4 9 6 c c 6 5 9 6 " ;
2014-07-12 10:31:52 +01:00
sha256 = " 0 6 p p 4 9 9 q m 2 d x p j a 2 j g m m q 2 j r c x 3 m 4 n q 5 2 x 5 h h i l 9 r 1 j x v y i q 9 6 2 p " ;
2014-01-25 10:30:06 +00:00
} ;
propagatedBuildInputs = [ argparse pyyaml ] ;
patches = [ ../development/python-modules/tarsnapper-path.patch ] ;
preConfigure = ''
substituteInPlace src/tarsnapper/script.py \
- - replace ' @ NIXTARSNAPPATH @ ' ' $ { pkgs . tarsnap } /bin/tarsnap '
'' ;
} ;
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 " ;
2014-06-19 05:19:00 +01:00
license = stdenv . lib . licenses . gpl3Plus ;
2012-02-21 18:19:00 +00:00
} ;
} ;
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-12-29 18:52:26 +00:00
version = " 0 . 9 . 3 4 " ;
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 " ;
2013-12-29 18:52:26 +00:00
sha256 = " 0 s 6 s n 9 h 2 6 d i f 2 c 9 s a y f 8 7 5 x 6 2 2 k q 8 j b 2 f 4 q b c 6 i f 7 g w h 2 s s s g i c n " ;
2013-01-18 01:21:24 +00:00
} ;
2013-12-29 18:52:26 +00:00
propagatedBuildInputs = [ pythonPackages . python_mimeparse pythonPackages . extras lxml ] ;
2013-07-29 17:48:54 +01:00
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 ;
2014-03-10 09:29:03 +00:00
license = licenses . mit ;
2013-01-18 01:21:24 +00:00
} ;
} ;
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/ ;
2014-03-10 09:29:03 +00:00
license = licenses . mit ;
2013-07-29 17:48:54 +01:00
} ;
} ;
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/ ;
2014-03-10 09:29:03 +00:00
license = licenses . mit ;
2013-07-29 17:48:54 +01:00
} ;
} ;
2014-08-15 13:41:31 +01:00
tmdb3 = buildPythonPackage rec {
name = " t m d b 3 - ${ version } " ;
version = " 0 . 6 . 1 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 / t / t m d b 3 / ${ name } . z i p " ;
md5 = " c d 2 5 9 4 2 7 4 5 4 4 7 2 1 6 4 c 9 a 2 4 7 9 5 0 4 c 9 c b b " ;
} ;
meta = {
description = " 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 v 3 A P I f o r T h e M o v i e D B . o r g , a l l o w i n g a c c e s s t o m o v i e a n d c a s t i n f o r m a t i o n . " ;
homepage = http://pypi.python.org/pypi/tmdb3 ;
license = stdenv . lib . licenses . bsd3 ;
} ;
} ;
2013-07-29 17:48:54 +01:00
2013-04-13 07:42:23 +01:00
# TODO
2014-03-06 09:58:52 +00:00
# Installs correctly but fails tests that involve simple things like:
# cmd.run("tox", "-h")
# also, buildPythonPackage needs to supply the tox.ini correctly for projects that use tox for their tests
#
2014-08-14 19:28:31 +01:00
tox = buildPythonPackage rec {
name = " t o x - 1 . 7 . 2 " ;
propagatedBuildInputs = [ py virtualenv ] ;
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 / t / t o x / ${ name } . t a r . g z " ;
md5 = " 0 d 9 b 3 a c b 1 a 9 2 5 2 6 5 9 d 7 5 3 b 0 a e 6 b 9 b 2 6 4 " ;
} ;
} ;
2013-04-13 07:42:23 +01:00
2014-02-08 12:42:04 +00:00
smmap = buildPythonPackage rec {
name = " s m m a p - 0 . 8 . 2 " ;
meta . maintainers = [ stdenv . lib . maintainers . mornfall ] ;
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 m m a p / ${ name } . t a r . g z " ;
sha256 = " 0 v r d g r 6 n p m a j r v 6 5 8 f v 8 b i j 7 z g m 5 j m z 2 y x k b v 8 k m b v 2 5 q 1 f 9 b 8 n y " ;
} ;
} ;
2013-04-13 07:42:23 +01:00
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 " ;
} ;
} ;
2014-08-15 13:41:31 +01:00
transmissionrpc = buildPythonPackage rec {
name = " t r a n s m i s s i o n r p c - ${ version } " ;
version = " 0 . 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 / t / t r a n s m i s s i o n r p c / ${ name } . t a r . g z " ;
md5 = " b 2 f 9 1 8 5 9 3 e 5 0 9 f 0 e 6 6 e 2 e 6 4 3 2 9 1 b 4 3 6 d " ;
} ;
propagatedBuildInputs = [ six ] ;
meta = {
description = " 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 T r a n s m i s s i o n b i t t o r e n t c l i e n t R P C p r o t o c o l . " ;
homepage = http://pypi.python.org/pypi/transmissionrpc/ ;
license = stdenv . lib . licenses . mit ;
} ;
} ;
2013-01-18 01:21:24 +00:00
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 " ;
} ;
2014-02-22 17:29:04 +00:00
# tests fail, see http://hydra.nixos.org/build/4316603/log/raw
doCheck = false ;
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 {
2014-06-01 14:42:07 +01:00
name = " t u r s e s - 0 . 2 . 2 2 " ;
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 " ;
2014-06-01 14:42:07 +01:00
sha256 = " 1 d q g v d q l y 4 c 4 d 6 8 1 9 m b k q y 4 g 8 r 7 z c h 4 d k m x i c f w c k 7 q 8 h 9 6 w m y x 3 " ;
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 . " ;
2014-03-10 09:29:03 +00:00
license = licenses . gpl3 ;
2012-10-01 12:05:57 +01:00
maintainers = [ stdenv . lib . maintainers . garbas ] ;
platforms = stdenv . lib . platforms . linux ;
} ;
} ) ;
tweepy = buildPythonPackage ( rec {
2014-06-01 14:42:07 +01:00
name = " t w e e p y - 2 . 3 . 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 " ;
2014-06-01 14:42:07 +01:00
sha256 = " 0 w c j 5 g 2 1 b r c q r 1 g 7 m 4 b y 4 r s 7 2 l f i i b 4 s c g 1 9 q y n n 2 w z 1 x 7 7 j y r z p " ;
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 " ;
2014-03-10 09:29:03 +00:00
license = licenses . mit ;
2012-10-01 12:05:57 +01:00
maintainers = [ stdenv . lib . maintainers . garbas ] ;
platforms = stdenv . lib . platforms . linux ;
} ;
} ) ;
2011-03-30 12:54:17 +01:00
twisted = buildPythonPackage rec {
2014-02-19 09:44:58 +00:00
# NOTE: When updating please check if new versions still cause issues
# to packages like carbon (http://stackoverflow.com/questions/19894708/cant-start-carbon-12-04-python-error-importerror-cannot-import-name-daem)
2010-04-21 11:51:15 +01:00
2014-02-19 09:44:58 +00:00
name = " T w i s t e d - 1 1 . 1 . 0 " ;
2010-04-21 11:51:15 +01:00
src = fetchurl {
2014-02-19 09:44:58 +00: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 w i s t e d / ${ name } . t a r . b z 2 " ;
sha256 = " 0 5 a g f p 1 7 c n d h v 2 w 0 p 5 5 9 l v k n l 7 n v 0 x q k g 1 0 a p c 4 7 f m 5 3 m 8 l l b f v z " ;
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 .
'' ;
2014-03-10 09:29:03 +00:00
license = licenses . mit ;
2010-04-21 11:51:15 +01:00
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
2013-12-29 12:20:54 +00:00
preConfigure = ''
sed - i ' s/unittest2py3k/unittest2 / ' setup . py
'' ;
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 " ;
2014-06-19 05:19:00 +01:00
license = stdenv . lib . licenses . lgpl2Plus ;
2012-07-20 23:17:21 +01:00
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 {
2014-06-01 14:42:07 +01:00
name = " u r w i d - 1 . 2 . 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 {
2014-06-01 14:42:07 +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 / u / u r w i d / ${ name } . t a r . g z " ;
md5 = " 6 a 0 5 a d a 1 1 b 8 7 e 7 b 0 2 6 b 0 1 f c 5 1 5 0 8 5 5 b 0 " ;
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 ;
2014-02-14 07:34:30 +00:00
repositories . git = git://github.com/wardi/urwid.git ;
2014-03-10 09:29:03 +00:00
license = licenses . lgpl21 ;
2012-04-30 15:34:57 +01:00
maintainers = [ stdenv . lib . maintainers . garbas ] ;
} ;
} ) ;
2014-08-20 21:03:28 +01:00
pyuv = buildPythonPackage rec {
name = " p y u v - 0 . 1 1 . 5 " ;
src = fetchurl {
url = " h t t p s : / / g i t h u b . c o m / s a g h u l / p y u v / a r c h i v e / ${ name } . t a r . g z " ;
sha256 = " c 2 5 1 9 5 2 c b 4 e 5 4 c 9 2 a b 0 e 8 7 1 d e c d 1 3 c f 7 3 d 1 1 c a 5 d b a 9 f 9 2 9 6 2 d e 5 1 d 1 2 e 3 a 3 1 0 a 9 " ;
} ;
patches = [ ../development/python-modules/pyuv-external-libuv.patch ] ;
buildInputs = [ pkgs . libuvVersions . v0_11_29 ] ;
meta = {
description = " P y t h o n i n t e r f a c e f o r l i b u v " ;
homepage = https://github.com/saghul/pyuv ;
repositories . git = git://github.com/saghul/pyuv.git ;
license = licenses . mit ;
} ;
} ;
2011-10-16 13:36:37 +01:00
virtualenv = buildPythonPackage rec {
2014-08-12 10:56:20 +01:00
name = " v i r t u a l e n v - 1 . 1 1 . 6 " ;
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 " ;
2014-08-12 10:56:20 +01:00
md5 = " f 6 1 c d d 9 8 3 d 2 c 4 e 6 a e a b b 7 0 b 1 0 6 0 d 6 f 4 9 " ;
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
2014-03-03 13:06:12 +00:00
virtualenv-clone = buildPythonPackage rec {
name = " v i r t u a l e n v - c l o n e - 0 . 2 . 4 " ;
2014-03-06 09:58:52 +00: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 / v / v i r t u a l e n v - c l o n e / ${ name } . t a r . g z " ;
md5 = " 7 1 1 6 8 b 9 7 5 e a a a 9 1 e 6 5 5 5 9 b c c 7 9 2 9 0 b 3 b " ;
2014-03-03 13:06:12 +00:00
} ;
2014-03-06 09:58:52 +00:00
buildInputs = [ pytest ] ;
propagatedBuildInputs = [ virtualenv ] ;
# needs tox to run the tests
2014-03-03 13:06:12 +00:00
doCheck = false ;
meta = with stdenv . lib ; {
description = " S c r i p t t o c l o n e v i r t u a l e n v s " ;
license = licenses . mit ;
platforms = platforms . all ;
} ;
} ;
2014-07-18 14:02:44 +01:00
virtualenvwrapper = buildPythonPackage ( rec {
name = " v i r t u a l e n v w r a p p e r - 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 / v / v i r t u a l e n v w r a p p e r / ${ name } . t a r . g z " ;
sha256 = " 5 1 4 c b c 2 2 2 1 8 3 4 7 b f 7 b 5 4 b d b e 4 9 e 1 a 5 f 5 5 0 d 2 d 5 3 b 1 a d 2 4 9 1 c 1 0 e 9 1 d d f 4 8 f b 5 2 8 f " ;
} ;
# pip depend on $HOME setting
preConfigure = " e x p o r t H O M E = $ T M P D I R " ;
2014-07-24 22:24:37 +01:00
buildInputs = [ pbr pip pkgs . which ] ;
propagatedBuildInputs = [ stevedore virtualenv virtualenv-clone ] ;
2014-07-22 22:34:24 +01:00
patchPhase = ''
substituteInPlace " v i r t u a l e n v w r a p p e r . s h " - - replace " w h i c h " " ${ pkgs . which } / b i n / w h i c h "
substituteInPlace " v i r t u a l e n v w r a p p e r _ l a z y . s h " - - replace " w h i c h " " ${ pkgs . which } / b i n / w h i c h "
'' ;
2014-07-18 14:02:44 +01:00
2014-08-09 21:56:07 +01:00
postInstall = ''
2014-08-08 16:30:35 +01:00
# This might look like a dirty hack but we can't use the makeWrapper function because
# the wrapped file were then called via "exec". The virtualenvwrapper shell scripts
# aren't normal executables. Instead, the user has to evaluate them.
2014-08-09 21:56:07 +01:00
2014-08-08 16:30:35 +01:00
for file in " v i r t u a l e n v w r a p p e r . s h " " v i r t u a l e n v w r a p p e r _ l a z y . s h " ; do
2014-08-09 21:56:07 +01:00
local wrapper = " $ o u t / b i n / $ f i l e "
local wrapped = " $ o u t / b i n / . $ f i l e - w r a p p e d "
mv " $ w r a p p e r " " $ w r a p p e d "
cat > " $ w r a p p e r " < < - EOF
export PATH = $ PATH : \ $ PATH
export PYTHONPATH = $ PYTHONPATH:$ ( toPythonPath $ out ) : \ $ PYTHONPATH
source " $ w r a p p e d "
EOF
chmod - x " $ w r a p p e d "
chmod + x " $ w r a p p e r "
2014-08-08 16:30:35 +01:00
done
2014-07-22 22:34:24 +01:00
'' ;
2014-07-18 14:02:44 +01:00
meta = {
description = " E n h a n c e m e n t s t o v i r t u a l e n v " ;
homepage = " h t t p s : / / p y p i . p y t h o n . o r g / p y p i / v i r t u a l e n v w r a p p e r " ;
license = licenses . mit ;
} ;
} ) ;
2013-03-27 01:24:55 +00:00
waitress = buildPythonPackage rec {
2013-11-28 13:25:37 +00:00
name = " w a i t r e s s - 0 . 8 . 7 " ;
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-11-28 13:25:37 +00:00
md5 = " 7 1 4 f 3 d 4 5 8 d 8 2 a 4 7 f 1 2 f b 1 6 8 4 6 0 d e 8 3 6 6 " ;
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-12-18 21:29:00 +00:00
version = " 1 . 3 . 1 " ;
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 " ;
2013-12-18 21:29:00 +00:00
md5 = " 2 0 9 1 8 2 5 1 c 5 7 2 6 9 5 6 b a 8 f e f 2 2 d 1 5 5 6 1 7 7 " ;
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 {
2014-08-23 15:28:35 +01:00
version = " 2 . 0 . 1 5 " ;
2011-03-30 12:54:17 +01:00
name = " w e b t e s t - ${ version } " ;
2014-01-25 10:30:06 +00: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 " ;
2014-08-23 15:28:35 +01:00
md5 = " 4 9 3 1 4 b d b a 2 3 f 4 d 0 b d 8 0 7 f a c b 2 a 6 d 3 f 9 0 " ;
2011-03-30 12:54:17 +01:00
} ;
2014-08-23 15:28:35 +01:00
preConfigure = ''
substituteInPlace setup . py - - replace " n o s e < 1 . 3 . 0 " " n o s e "
'' ;
2011-03-30 12:54:17 +01:00
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
2014-03-08 18:47:23 +00:00
buildInputs = optionals isPy26 [ pythonPackages . ordereddict unittest2 ] ;
2013-12-29 13:22:29 +00:00
2013-03-27 01:24:55 +00:00
propagatedBuildInputs = [
nose
webob
six
beautifulsoup4
waitress
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 " ;
2013-12-29 13:26:25 +00:00
homepage = http://webtest.readthedocs.org/en/latest/ ;
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 {
2014-05-13 14:55:09 +01:00
name = " w e r k z e u g - 0 . 9 . 4 " ;
2012-07-16 12:16:34 +01:00
src = fetchurl {
2014-05-13 14:55:09 +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 / W / W e r k z e u g / W e r k z e u g - 0 . 9 . 4 . t a r . g z " ;
md5 = " 6 7 0 f a d 4 1 f 5 7 c 1 3 b 7 1 a 6 8 1 6 7 6 5 7 6 5 a 3 d d " ;
2012-07-16 12:16:34 +01:00
} ;
2014-05-13 14:55:09 +01:00
propagatedBuildInputs = [ itsdangerous ] ;
doCheck = false ; # tests fail, not sure why
2012-07-16 12:16:34 +01:00
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 " ;
2014-03-10 09:29:03 +00:00
name = nameFromURL url " . t a r " ;
2012-09-13 11:09:08 +01:00
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 ;
} ;
2014-03-25 21:32:39 +00:00
wxPython30 = import ../development/python-modules/wxPython/3.0.nix {
inherit ( pkgs ) stdenv fetchurl pkgconfig ;
inherit pythonPackages ;
wxGTK = pkgs . wxGTK30 ;
} ;
2011-05-04 09:41:50 +01:00
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/ ;
2014-06-19 05:19:00 +01:00
license = stdenv . lib . licenses . gpl2Plus ;
2012-02-20 18:20:12 +00:00
} ;
} ) ;
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 } " ;
2013-12-29 18:52:26 +00:00
version = " 3 . 0 . 3 " ;
2013-01-18 01:21:24 +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 / Z / Z C o n f i g / Z C o n f i g - ${ version } . t a r . g z " ;
2013-12-29 18:52:26 +00:00
md5 = " 6 0 a 1 0 7 c 5 8 5 7 c 3 8 7 7 3 6 8 d f e 5 9 3 0 5 5 9 8 0 4 " ;
2013-01-18 01:21:24 +00:00
} ;
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 {
2014-01-10 23:19:44 +00:00
name = " z f e c - 1 . 4 . 2 4 " ;
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 " ;
2014-01-10 23:19:44 +00:00
sha256 = " 1 k s 9 4 z l p y 7 n 8 s b 8 3 8 0 g f 9 0 g x 8 5 q y 0 p 9 0 7 3 w i 1 w n g g 6 m c c x p 9 x s g 3 " ;
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 .
'' ;
2014-06-19 05:19:00 +01:00
license = stdenv . lib . licenses . gpl2Plus ;
2010-04-21 11:51:15 +01:00
} ;
} ) ;
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 " ;
} ;
2014-03-08 18:47:23 +00:00
buildInputs = [ zope_interface ] ;
2013-01-22 00:45:41 +00:00
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 " ;
} ;
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 " ;
} ;
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
2014-01-06 22:35:39 +00:00
preBuild = ''
sed - i ' /zope.schema/d ' setup . py
2013-01-22 00:45:41 +00:00
'' ;
doCheck = false ;
meta = {
maintainers = [ stdenv . lib . maintainers . goibhniu ] ;
} ;
} ;
zope_proxy = buildPythonPackage rec {
2014-08-24 16:14:34 +01:00
name = " z o p e . p r o x y - 4 . 1 . 4 " ;
2013-01-22 00:45:41 +00:00
src = fetchurl {
2014-08-24 16:14:34 +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 . p r o x y / ${ name } . t a r . g z " ;
md5 = " 3 b c a f 8 b 8 5 1 2 a 9 9 6 4 9 e c f 2 f 1 5 8 c 1 1 d 0 5 b " ;
2013-01-22 00:45:41 +00:00
} ;
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
2014-01-06 22:35:39 +00:00
propagatedBuildInputs = [ zope_location zope_event zope_interface zope_testing ] ++ optional isPy26 ordereddict ;
2013-01-22 00:45:41 +00:00
meta = {
maintainers = [ stdenv . lib . maintainers . goibhniu ] ;
} ;
} ;
zope_security = buildPythonPackage rec {
2014-08-24 16:14:52 +01:00
name = " z o p e . s e c u r i t y - 4 . 0 . 1 " ;
2013-01-22 00:45:41 +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 / 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 = {
2014-08-24 16:14:52 +01:00
maintainers = [ stdenv . lib . maintainers . goibhniu ] ;
2013-01-22 00:45:41 +00:00
} ;
} ;
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 {
2013-11-28 13:25:37 +00:00
name = " z o p e . s q l a l c h e m y - 0 . 7 . 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 / z / z o p e . s q l a l c h e m y / ${ name } . z i p " ;
2013-11-28 13:25:37 +00:00
md5 = " 8 b 3 1 7 b 4 1 2 4 4 f c 2 e 6 7 f 2 f 2 8 6 8 9 0 b a 5 9 a 0 " ;
2013-03-27 01:24:55 +00:00
} ;
2014-03-08 18:47:23 +00:00
buildInputs = [ sqlalchemy zope_testing zope_interface setuptools ] ;
2013-03-27 01:24:55 +00:00
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 } " ;
2014-08-23 16:38:28 +01:00
version = " 4 . 1 . 3 " ;
2013-01-18 01:21:24 +00:00
src = fetchurl {
2014-08-23 16:38:28 +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 } . t a r . g z " ;
md5 = " 6 c 7 3 c 5 b 6 6 8 a 6 7 f d c 1 1 6 a 2 5 b 8 8 4 0 5 8 e d 9 " ;
2013-01-18 01:21:24 +00:00
} ;
2014-08-23 16:38:28 +01:00
2014-08-24 09:54:56 +01:00
doCheck = ! ( python . isPypy or false ) ;
2013-01-18 01:21:24 +00:00
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
} ;
2013-12-29 18:52:26 +00:00
propagatedBuildInputs = [ zope_interface zope_exceptions zope_testing six ] ++ optional ( ! python . is_py3k or false ) subunit ;
2013-01-18 01:21:24 +00:00
2014-01-22 17:18:52 +00:00
# a test is failing
doCheck = false ;
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 " ;
} ;
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 } " ;
2014-08-12 12:32:04 +01:00
version = " 1 . 2 0 1 4 0 7 1 9 " ;
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 " ;
2014-08-12 12:32:04 +01:00
sha256 = " 0 k x l 2 q 8 5 n 4 g g v b w 2 m 8 c r l 1 1 x 8 n 6 3 7 m x 6 y 3 a 3 b 5 y d w 8 n h l s i q i j g p " ;
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 {
2014-03-31 02:59:04 +01:00
name = " t o r n a d o - 3 . 2 " ;
propagatedBuildInputs = [ backports_ssl_match_hostname_3_4_0_2 ] ;
2013-12-28 07:48:49 +00:00
2013-03-22 23:38:18 +00:00
src = fetchurl {
2014-03-31 02:59: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 / t / t o r n a d o / ${ name } . t a r . g z " ;
md5 = " b d 8 3 c e e 5 f 1 a 5 c 5 e 1 3 9 e 8 7 9 9 6 d 0 0 b 2 5 1 b " ;
2013-03-22 23:38:18 +00:00
} ;
2013-12-28 07:48:49 +00:00
2013-03-22 23:38:18 +00:00
doCheck = false ;
} ;
2014-08-01 20:14:38 +01:00
tornadokick = buildPythonPackage rec {
name = " t o r n a d o k i c k - 2 0 1 4 . 0 7 . 2 3 " ;
propagatedBuildInputs = [ tornado ] ;
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 o r n a d o k i c k / ${ name } . t a r . g z " ;
md5 = " 2 0 1 d 2 6 d e 2 9 9 3 a 5 5 4 b 1 6 1 4 0 a f 3 b 4 e e 1 b 6 " ;
} ;
meta = {
description = " T h e T o r n a d o K i c k W e b T o o l k i t f o r T o r n a d o W e b F r a m e w o r k . " ;
homepage = http://github.com/multoncore/tornadokick ;
license = stdenv . lib . licenses . asl20 ;
} ;
} ;
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 } " ;
2014-08-24 16:09:13 +01:00
disabled = isPy3k ;
2013-06-17 16:53:36 +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 / 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
} ;
2014-03-08 18:47:23 +00:00
buildInputs = [ 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 {
2014-01-24 13:33:20 +00:00
version = " 3 . 1 . 2 - 1 " ;
2013-06-17 16:53:36 +01:00
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 " ;
2014-01-24 13:33:20 +00:00
sha256 = " 0 j 4 i b c 4 m v q 6 4 l j y a 9 m a x 8 8 3 2 j a f i 0 4 j c i f f 9 i a 9 q y 0 x h h l w k c x 8 x " ;
2013-06-17 16:53:36 +01:00
} ;
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 " ;
} ;
2014-03-08 18:47:23 +00:00
buildInputs = [ pkgs . zeromq3 ] ;
2013-03-22 23:38:18 +00:00
propagatedBuildInputs = [ ] ;
doCheck = false ;
} ;
2013-03-27 01:24:55 +00:00
tissue = buildPythonPackage rec {
2013-11-28 13:25:37 +00:00
name = " t i s s u e - 0 . 9 . 2 " ;
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 i s s u e / ${ name } . t a r . g z " ;
2013-11-28 13:25:37 +00:00
md5 = " 8 7 d b c d a f f f 4 1 b f a 1 b 4 2 4 4 1 3 f 7 9 a a 9 1 5 3 " ;
2013-03-27 01:24:55 +00:00
} ;
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 {
2013-12-18 13:49:01 +00:00
name = " t r a c i n g - ${ version } " ;
version = " 0 . 8 " ;
2012-06-03 23:11:09 +01:00
src = fetchurl rec {
2013-12-18 13:49:01 +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 - t r a c i n g / p y t h o n - t r a c i n g _ ${ version } . o r i g . t a r . g z " ;
sha256 = " 1 l 4 y b j 5 r v r r c x f 8 c s y q 7 q x 5 2 i z y b d 5 0 2 p m x 7 0 z x p 4 6 g x q m 6 0 d 2 l 0 " ;
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 } " ;
2013-12-18 13:49:01 +00:00
version = " 0 . 2 3 " ;
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 " ;
2013-12-18 13:49:01 +00:00
sha256 = " 0 y m i m v i y j y h 2 i i z q i l g 8 8 g 4 p 2 6 f 5 v p q 1 z m 3 c v g 7 d r 7 q 4 y 3 g m i k 8 y " ;
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-12-18 13:49:01 +00:00
version = " 1 . 2 0 1 3 1 1 3 0 " ;
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-12-18 13:49:01 +00:00
sha256 = " 1 h f a n p 9 l 6 y c 5 3 4 8 i 3 f 5 s b 8 c 5 s 4 r 4 3 y 3 8 2 h f l n b l 6 c n z 4 p m 8 y h 5 r 7 " ;
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 } " ;
2014-02-19 09:44:58 +00:00
version = " 0 . 9 . 1 2 " ;
2013-01-03 12:08:23 +00:00
2014-02-19 09:44:58 +00: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 / w / w h i s p e r / ${ name } . t a r . g z " ;
md5 = " 5 f a c 7 5 7 c c 4 8 2 2 a b 0 6 7 8 d b e 0 d 7 8 1 d 9 0 4 e " ;
2013-01-03 12:08:23 +00:00
} ;
# error: invalid command 'test'
doCheck = false ;
2014-02-19 09:44:58 +00:00
meta = with stdenv . lib ; {
2013-01-03 12:08:23 +00:00
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 " ;
2014-02-19 09:44:58 +00:00
maintainers = with maintainers ; [ rickynils offline ] ;
2013-01-03 12:08:23 +00:00
} ;
} ;
carbon = buildPythonPackage rec {
name = " c a r b o n - ${ version } " ;
2014-02-19 09:44:58 +00:00
version = " 0 . 9 . 1 2 " ;
2013-01-03 12:08:23 +00:00
2014-02-19 09:44:58 +00: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 a r b o n / ${ name } . t a r . g z " ;
md5 = " 6 6 9 6 7 d 5 a 6 2 2 f d 2 9 9 7 3 8 3 8 f c d 1 0 e b 3 4 f 3 " ;
2013-01-03 12:08:23 +00:00
} ;
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 ;
2014-02-19 09:44:58 +00:00
meta = with stdenv . lib ; {
2013-01-03 12:08:23 +00:00
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 " ;
2014-02-19 09:44:58 +00:00
maintainers = with maintainers ; [ rickynils offline ] ;
2013-01-03 12:08:23 +00:00
} ;
} ;
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 " ;
2014-03-10 09:29:03 +00:00
license = licenses . gpl2 ;
2013-02-18 13:08:48 +00:00
maintainers = [ stdenv . lib . maintainers . iElectric ] ;
} ;
} ;
2014-05-13 21:51:54 +01:00
pyusb = buildPythonPackage rec {
name = " p y u s b - 1 . 0 . 0 b 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 s b / ${ name } . t a r . g z " ;
md5 = " 5 c c 9 c 7 d d 7 7 b 4 d 1 2 f c c 2 2 f e e 3 b 3 9 8 4 4 b c " ;
} ;
# Fix the USB backend library lookup
postPatch = ''
libusb = $ { pkgs . libusb1 } /lib/libusb-1.0.so
test - f $ libusb || { echo " E R R O R : $ l i b u s b d o e s n ' t e x i s t , p l e a s e u p d a t e / f i x t h i s b u i l d e x p r e s s i o n . " ; exit 1 ; }
sed - i - e " s | l i b n a m e = . * | l i b n a m e = \" $ l i b u s b \" | " usb/backend/libusb1.py
'' ;
meta = with stdenv . lib ; {
description = " P y t h o n U S B a c c e s s m o d u l e ( w r a p s l i b u s b 1 . 0 ) " ; # can use other backends
homepage = http://pyusb.sourceforge.net/ ;
license = " B S D " ;
maintainers = [ maintainers . bjornfor ] ;
} ;
} ;
2014-05-13 21:53:29 +01:00
usbtmc = buildPythonPackage rec {
name = " u s b t m c - ${ version } " ;
version = " 0 . 5 " ;
src = fetchurl {
url = " h t t p s : / / g i t h u b . c o m / p y t h o n - i v i / p y t h o n - u s b t m c / a r c h i v e / v ${ version } . t a r . g z " ;
sha256 = " 0 x n 8 w h j c d n 8 w g s 9 j 1 g j 7 s w 7 f h 4 2 5 a k d m q 3 h i 4 4 8 m 3 6 f y w l d b h r y g " ;
} ;
propagatedBuildInputs = [ pyusb ] ;
meta = {
description = " 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 U S B T M C i n s t r u m e n t c o n t r o l p r o t o c o l " ;
homepage = http://alexforencich.com/wiki/en/python-usbtmc/start ;
license = licenses . mit ;
maintainers = [ maintainers . bjornfor ] ;
} ;
} ;
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 ] ;
} ;
} ;
2014-05-13 10:48:38 +01:00
2014-03-12 22:48:35 +00:00
versiontools = buildPythonPackage rec {
name = " v e r s i o n t o o l s - 1 . 9 . 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 / v / v e r s i o n t o o l s / ${ name } . t a r . g z " ;
sha256 = " 1 x h l 6 k l 7 f 4 s r g n w 6 z w 4 l r 8 j 2 z 5 v m r b a a 8 3 n z n 2 c 9 r 2 m 1 h w l 3 6 s d 9 " ;
} ;
} ;
2013-01-03 12:08:23 +00:00
graphite_web = buildPythonPackage rec {
name = " g r a p h i t e - w e b - ${ version } " ;
2014-02-19 09:44:58 +00:00
version = " 0 . 9 . 1 2 " ;
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 " ;
2014-02-19 09:44:58 +00:00
md5 = " 8 e d b b 6 1 f 1 f f e 1 1 c 1 8 1 b d 2 c b 9 e c 9 7 7 c 7 2 " ;
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 '
2014-05-30 13:29:31 +01:00
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 ( ' $ o u t ' , ' w e b a p p ' , ' c o n t e n t ' ) "
2013-08-11 11:05:02 +01:00
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 ;
2014-02-19 09:44:58 +00:00
meta = with stdenv . lib ; {
2013-01-03 12:08:23 +00:00
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 " ;
2014-02-19 09:44:58 +00:00
maintainers = with maintainers ; [ rickynils offline ] ;
2013-01-03 12:08:23 +00:00
} ;
} ;
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
2014-07-12 08:33:10 +01:00
version = " 1 . 2 . 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 } " ;
2014-07-12 08:33:10 +01:00
sha256 = " 1 7 v v 2 q 6 3 6 z p 2 f v x r p 7 c k g n z 1 i f a f f c j 5 v d x v f b 4 i s d 1 d 3 2 c 4 9 a m b " ;
2013-02-26 18:42:04 +00:00
} ;
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
2014-07-12 08:33:10 +01:00
meta = with stdenv . lib ; {
2013-02-26 18:42:04 +00:00
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 " ;
2014-07-12 08:33:10 +01:00
maintainers = [ maintainers . rickynils ] ;
2013-02-26 18:42:04 +00:00
} ;
} ;
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 " ;
2014-03-10 09:29:03 +00:00
license = licenses . asl20 ;
2013-05-31 13:07:44 +01:00
} ;
} ;
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 " ;
2014-03-10 09:29:03 +00:00
license = licenses . bsd3 ;
2013-05-31 13:07:44 +01:00
} ;
} ;
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 " ;
2014-03-10 09:29:03 +00:00
license = licenses . bsd3 ;
2013-05-31 13:07:44 +01:00
} ;
2014-01-08 23:46:47 +00:00
} ;
libvirt = pkgs . stdenv . mkDerivation rec {
name = " l i b v i r t - p y t h o n - ${ version } " ;
2014-08-23 11:55:24 +01:00
version = " 1 . 2 . 7 " ;
2014-01-08 23:46:47 +00:00
src = fetchurl {
url = " h t t p : / / l i b v i r t . o r g / s o u r c e s / p y t h o n / ${ name } . t a r . g z " ;
2014-08-23 11:55:24 +01:00
sha256 = " 0 w g 0 p n v r w f j d l 8 h a x r 2 d y f h d a s d d q 9 7 z y 6 l 2 7 x w r v d 1 h n h 1 3 9 4 f 1 " ;
2014-01-08 23:46:47 +00:00
} ;
buildInputs = [ python pkgs . pkgconfig pkgs . libvirt lxml ] ;
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 = {
homepage = http://www.libvirt.org/ ;
description = " l i b v i r t P y t h o n b i n d i n g s " ;
2014-03-12 12:35:24 +00:00
license = pkgs . lib . licenses . lgpl2 ;
2014-01-08 23:46:47 +00:00
} ;
} ;
2013-05-31 13:07:44 +01:00
2014-02-22 15:49:40 +00:00
searx = buildPythonPackage rec {
2014-04-08 19:13:19 +01:00
name = " s e a r x - ${ rev } " ;
rev = " 4 4 d 3 a f 9 f b 2 4 8 2 c d 0 d f 1 a 8 a b a b b e 2 f d f 2 7 a b 3 3 1 7 2 " ;
2014-02-22 15:49:40 +00:00
2014-04-08 19:13:19 +01:00
src = fetchgit {
url = " g i t : / / g i t h u b . c o m / a s c i i m o o / s e a r x " ;
inherit rev ;
sha256 = " 1 w 5 0 5 p z d k k c g l q 7 8 2 w g 7 f 5 f x r w 9 i 5 j z p 7 p x 2 0 c 2 x z 1 8 p p s 2 m 3 r s m " ;
2014-02-22 15:49:40 +00:00
} ;
2014-04-08 19:13:19 +01:00
propagatedBuildInputs = [ pyyaml lxml grequests flaskbabel flask requests
gevent speaklater Babel pytz dateutil ] ;
2014-02-22 15:49:40 +00:00
meta = {
homepage = https://github.com/asciimoo/searx ;
2014-04-08 19:13:19 +01:00
description = " A p r i v a c y - r e s p e c t i n g , h a c k a b l e m e t a s e a r c h e n g i n e " ;
2014-02-22 15:49:40 +00:00
license = stdenv . lib . licenses . agpl3Plus ;
2014-02-22 17:03:28 +00:00
maintainers = [ stdenv . lib . maintainers . matejc ] ;
2014-02-22 15:49:40 +00:00
} ;
} ;
grequests = buildPythonPackage rec {
name = " g r e q u e s t s - 0 . 2 . 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 / g / g r e q u e s t s / ${ name } . t a r . g z " ;
sha256 = " 0 l a f z a x 5 i g b h 8 y 4 x 0 k r i z r 5 7 3 w j s x z 7 b h v w y g i a h 6 q w r z v 8 3 k v 5 c " ;
} ;
buildInputs = [ requests gevent ] ;
meta = {
description = " G R e q u e s t s a l l o w s y o u t o u s e R e q u e s t s w i t h G e v e n t t o m a k e a s y n c r o n o u s H T T P R e q u e s t s e a s i l y . " ;
homepage = https://github.com/kennethreitz/grequests ;
license = " b s d " ;
2014-02-22 17:03:28 +00:00
maintainers = [ stdenv . lib . maintainers . matejc ] ;
2014-02-22 15:49:40 +00:00
} ;
} ;
flaskbabel = buildPythonPackage rec {
name = " F l a s k - B a b e l - 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 - B a b e l / ${ name } . t a r . g z " ;
sha256 = " 0 k 7 v k 4 k 5 4 y 5 5 m a 0 n x 2 k 5 s 0 p h f q b r i w s l h y 5 s h h 3 b 0 d 0 4 6 q 7 i b z a a " ;
} ;
buildInputs = [ flask jinja2 speaklater Babel pytz ] ;
meta = {
description = " A d d s i 1 8 n / l 1 0 n s u p p o r t t o F l a s k a p p l i c a t i o n s " ;
homepage = https://github.com/mitsuhiko/flask-babel ;
license = " b s d " ;
2014-02-22 17:03:28 +00:00
maintainers = [ stdenv . lib . maintainers . matejc ] ;
2014-02-22 15:49:40 +00:00
} ;
} ;
speaklater = buildPythonPackage rec {
name = " s p e a k l a t 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 / s / s p e a k l a t e r / ${ name } . t a r . g z " ;
sha256 = " 1 a b 5 d b f z z g z 6 c n z 4 x l w x 7 9 g z 8 3 i d 4 b h i w 6 7 k 1 c g q r l z f s 0 v a 7 z j r " ;
} ;
meta = {
description = " i m p l e m e n t s a l a z y s t r i n g f o r p y t h o n u s e f u l f o r u s e w i t h g e t t e x t " ;
homepage = https://github.com/mitsuhiko/speaklater ;
license = " b s d " ;
2014-02-22 17:03:28 +00:00
maintainers = [ stdenv . lib . maintainers . matejc ] ;
2014-02-22 15:49:40 +00:00
} ;
} ;
2014-03-25 21:27:05 +00:00
power = buildPythonPackage rec {
name = " p o w e r - 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 / p / p o w e r / ${ name } . t a r . g z " ;
sha256 = " 0 9 a 0 0 a f 8 3 5 7 f 6 3 d b b 1 a 1 e b 1 3 b 8 2 e 3 9 c c c 0 a 1 4 d 6 d 2 e 4 4 e 5 b 2 3 5 a f e 6 0 c e 8 e e 8 1 9 5 " ;
} ;
meta = {
description = " C r o s s - p l a t f o r m s y s t e m p o w e r s t a t u s i n f o r m a t i o n " ;
homepage = https://github.com/Kentzo/Power ;
2014-06-19 05:19:00 +01:00
license = stdenv . lib . licenses . mit ;
2014-03-25 21:27:05 +00:00
} ;
} ;
2014-05-30 13:55:28 +01:00
udiskie = buildPythonPackage rec {
name = " u d i s k i e - 0 . 8 . 0 " ;
src = fetchurl {
url = " h t t p s : / / g i t h u b . c o m / c o l d f i x / u d i s k i e / a r c h i v e / 0 . 8 . 0 . t a r . g z " ;
sha256 = " 0 y z r n l 7 b q 0 d k c d 3 w h 5 5 k b f 4 1 c 4 d b h 7 d k y 0 m q x 0 d r v n p x l r v z h v p 2 " ;
} ;
propagatedBuildInputs = with pythonPackages ; [ pygtk pyyaml dbus notify pkgs . udisks2 ] ;
# tests require dbusmock
doCheck = false ;
meta = with stdenv . lib ; {
description = " R e m o v a b l e d i s k a u t o m o u n t e r f o r u d i s k s . " ;
license = licenses . mit ;
homepage = https://github.com/coldfix/udiskie ;
} ;
} ;
2014-03-18 22:04:33 +00:00
pythonefl = buildPythonPackage rec {
name = " p y t h o n - e f l - ${ version } " ;
version = " 1 . 1 0 . 0 " ;
src = fetchurl {
url = " h t t p : / / d o w n l o a d . e n l i g h t e n m e n t . o r g / r e l / b i n d i n g s / p y t h o n / ${ name } . t a r . g z " ;
sha256 = " 1 i n v 2 q a l n m 9 p a i f d w y h 9 q 3 f f x c p 9 b j j 9 2 p h v f w 1 r g k a i l d v f j i 5 i " ;
} ;
preConfigure = ''
export NIX_CFLAGS_COMPILE = " - I ${ pkgs . e18 . efl } / i n c l u d e / e o - 1 - I ${ pkgs . e18 . efl } / i n c l u d e / e i n a - 1 - I ${ pkgs . e18 . efl } / i n c l u d e / e i n a - 1 / e i n a - I ${ pkgs . e18 . efl } / i n c l u d e / e v a s - 1 - I ${ dbus } / i n c l u d e / d b u s - 1 . 0 - I ${ pkgs . e18 . efl } / i n c l u d e / e f l - 1 - I ${ pkgs . e18 . efl } / i n c l u d e / e e t - 1 - I ${ pkgs . e18 . efl } / i n c l u d e / e c o r e - 1 - I ${ pkgs . e18 . efl } / i n c l u d e / e c o r e - e v a s - 1 - I ${ pkgs . e18 . efl } / i n c l u d e / e c o r e - f i l e - 1 - I ${ pkgs . e18 . efl } / i n c l u d e / e c o r e - i n p u t - 1 - I ${ pkgs . e18 . efl } / i n c l u d e / e c o r e - i m f - 1 - I ${ pkgs . e18 . efl } / i n c l u d e / e c o r e - c o n - 1 - I ${ pkgs . e18 . efl } / i n c l u d e / e d j e - 1 - I ${ pkgs . e18 . efl } / i n c l u d e / e l d b u s - 1 - I ${ pkgs . e18 . efl } / i n c l u d e / e f r e e t - 1 - I ${ pkgs . e18 . efl } / i n c l u d e / e t h u m b - c l i e n t - 1 - I ${ pkgs . e18 . efl } / i n c l u d e / e t h u m b - 1 - I ${ pkgs . e18 . efl } / i n c l u d e / e c o r e - x - 1 $ N I X _ C F L A G S _ C O M P I L E "
'' ;
buildInputs = [ pkgs . pkgconfig pkgs . e18 . efl pkgs . e18 . elementary ] ;
meta = {
description = " P y t h o n b i n d i n g s f o r E F L a n d E l e m e n t a r y . " ;
homepage = http://enlightenment.org/ ;
maintainers = [ stdenv . lib . maintainers . matejc ] ;
platforms = stdenv . lib . platforms . linux ;
license = stdenv . lib . licenses . gpl3 ;
} ;
} ;
2014-03-10 09:29:03 +00:00
# python2.7 specific packages
} // optionalAttrs isPy27 (
with pythonPackages ;
{
2013-08-15 13:32:25 +01:00
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 ] ;
} ;
} ;
2014-03-31 02:59:04 +01:00
thumbor = pythonPackages . buildPythonPackage rec {
name = " t h u m b o r - 4 . 0 . 4 " ;
propagatedBuildInputs = [
tornado
pycrypto
pycurl
pillow
derpconf
python_magic
thumborPexif
( pkgs . opencv . override {
gtk = null ;
glib = null ;
xineLib = null ;
gstreamer = null ;
ffmpeg = null ;
} ) ] ;
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 h u m b o r / ${ name } . t a r . g z " ;
md5 = " c f 6 3 9 a 1 c c 5 7 e e 2 8 7 b 2 9 9 a c e 4 5 0 4 4 4 4 0 8 " ;
} ;
meta = {
description = " T h u m b o r i s a s m a r t i m a g i n g s e r v i c e . I t e n a b l e s o n - d e m a n d c r o p , r e s i z i n g a n d f l i p p i n g o f i m a g e s . " ;
homepage = https://github.com/globocom/thumbor/wiki ;
license = licenses . mit ;
} ;
} ;
thumborPexif = pythonPackages . buildPythonPackage rec {
name = " t h u m b o r - p e x i f - 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 / t / t h u m b o r - p e x i f / ${ name } . t a r . g z " ;
md5 = " f b 4 c d b 6 0 f 4 a 0 b e a d 5 1 9 3 f b 4 8 3 c c d 3 4 3 0 " ;
} ;
meta = {
description = " M o d u l e t o p a r s e a n d e d i t t h e E X I F d a t a t a g s i n a J P E G i m a g e " ;
homepage = http://www.benno.id.au/code/pexif/ ;
license = licenses . mit ;
} ;
} ;
2014-05-14 05:44:28 +01:00
pync = buildPythonPackage rec {
version = " 1 . 4 " ;
baseName = " p y n c " ;
name = " ${ baseName } - ${ 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 / ${ baseName } / ${ name } . t a r . g z " ;
md5 = " 5 c c 7 9 0 7 7 f 3 8 6 a 1 7 b 5 3 9 f 1 e 5 1 c 0 5 a 3 6 5 0 " ;
} ;
buildInputs = [ pkgs . coreutils ] ;
propagatedBuildInputs = [ dateutil ] ;
preInstall = stdenv . lib . optionalString stdenv . isDarwin ''
sed - i ' s | ^ \ ( [ ] * \ ) self . bin_path . * $ | \ 1 self . bin_path = " ${ pkgs . rubyLibs . terminal_notifier } / b i n / t e r m i n a l - n o t i f i e r " | ' build/lib/pync/TerminalNotifier.py
'' ;
meta = with stdenv . lib ; {
description = " P y t h o n W r a p p e r f o r M a c O S 1 0 . 8 N o t i f i c a t i o n C e n t e r " ;
homepage = https://pypi.python.org/pypi/pync/1.4 ;
license = licenses . mit ;
platforms = platforms . darwin ;
maintainers = [ maintainers . lovek323 ] ;
} ;
} ;
2014-03-10 09:29:03 +00:00
} ) ; in pythonPackages