@ -27,15 +27,7 @@ let
buildPythonApplication = args : buildPythonPackage ( { namePrefix = " " ; } // args ) ;
modules = python . modules or {
readline = null ;
sqlite3 = null ;
curses = null ;
curses_panel = null ;
crypt = null ;
} ;
in modules // {
in {
inherit python bootstrapped-pip isPy26 isPy27 isPy33 isPy34 isPy35 isPy36 isPyPy isPy3k mkPythonDerivation buildPythonPackage buildPythonApplication ;
@ -2014,7 +2006,7 @@ in modules // {
sha256 = " 0 g r i d 9 3 y z 6 i 6 j b 2 z g g r q n c p 5 a w d f 7 q i 8 8 j 5 y 2 k 7 d q 0 k 9 r 6 b 8 z y d w " ;
} ;
propagatedBuildInputs = with stdenv . lib ; with pkgs ; [ modules . curses zlib xz ncompress gzip bzip2 gnutar p7zip cabextract lzma self . pycrypto ]
propagatedBuildInputs = with stdenv . lib ; with pkgs ; [ zlib xz ncompress gzip bzip2 gnutar p7zip cabextract lzma self . pycrypto ]
++ optional visualizationSupport pyqtgraph ;
meta = with stdenv . lib ; {
@ -2776,7 +2768,7 @@ in modules // {
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 " ;
} ;
propagatedBuildInputs = with self ; [ modules . curses pygments ] ;
propagatedBuildInputs = with self ; [ pygments ] ;
doCheck = false ;
meta = {
@ -3962,7 +3954,6 @@ in modules // {
propagatedBuildInputs = with self ; [
pyparsing
modules . readline
urwid
] ;
@ -4178,7 +4169,7 @@ in modules // {
name = " c r y p t a c u l a r - 1 . 4 . 1 " ;
buildInputs = with self ; [ coverage nose ] ;
propagatedBuildInputs = with self ; [ pbkdf2 modules . crypt ] ;
propagatedBuildInputs = with self ; [ pbkdf2 ] ;
src = pkgs . fetchurl {
url = " m i r r o r : / / p y p i / c / c r y p t a c u l a r / ${ name } . t a r . g z " ;
@ -4206,7 +4197,7 @@ in modules // {
buildInputs = [ pkgs . openssl self . pretend self . cryptography_vectors
self . iso8601 self . pyasn1 self . pytest_29 self . py self . hypothesis self . pytz ]
++ optional stdenv . isDarwin pkgs . darwin . apple_sdk . frameworks . Security ;
propagatedBuildInputs = with self ; [ six idna ipaddress pyasn1 cffi pyasn1-modules modules . sqlite3 pytz ]
propagatedBuildInputs = with self ; [ six idna ipaddress pyasn1 cffi pyasn1-modules pytz ]
++ optional ( pythonOlder " 3 . 4 " ) self . enum34 ;
# IOKit's dependencies are inconsistent between OSX versions, so this is the best we
@ -5660,7 +5651,7 @@ in modules // {
make - f Makefile . prep synctus/ddar_pb2.py
'' ;
propagatedBuildInputs = with self ; [ protobuf modules . sqlite3 ] ;
propagatedBuildInputs = with self ; [ protobuf ] ;
meta = {
description = " U n i x d e - d u p l i c a t i n g a r c h i v e r " ;
@ -6602,7 +6593,7 @@ in modules // {
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 " ;
} ;
propagatedBuildInputs = with self ; [ python_fedora modules . sqlite3 pyopenssl ] ;
propagatedBuildInputs = with self ; [ python_fedora pyopenssl ] ;
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 ;
} ;
@ -7445,7 +7436,6 @@ in modules // {
pyyaml
redis
six
modules . sqlite3
pkgs . zlib
] ;
@ -7839,8 +7829,7 @@ in modules // {
sha256 = " 1 d n m n k c 2 1 z d f a y p s k b p v k w l 0 w p k p n 0 n a g j 1 f c 3 3 8 w 6 4 m b x r k 8 n y 7 " ;
} ;
propagatedBuildInputs = with self ;
[
propagatedBuildInputs = with self ; [
apipkg
bottle
gevent
@ -7855,7 +7844,7 @@ in modules // {
simplejson
sqlite3dbm
timelib
] ++ optionals ( ! isPy3k ) [ modules . sqlite3 ] ;
] ;
meta = {
description = " L i b r a r y f o r p a r s i n g M e d i a W i k i a r t i c l e s a n d c o n v e r t i n g t h e m t o d i f f e r e n t o u t p u t f o r m a t s " ;
@ -9480,7 +9469,7 @@ in modules // {
} ;
propagatedBuildInputs = with self ; [
pyGtkGlade pkgs . libtorrentRasterbar_1_0 twisted Mako chardet pyxdg self . pyopenssl modules . curses service-identity
pyGtkGlade pkgs . libtorrentRasterbar_1_0 twisted Mako chardet pyxdg self . pyopenssl service-identity
] ;
nativeBuildInputs = [ pkgs . intltool ] ;
@ -11694,7 +11683,7 @@ in modules // {
doCheck = false ;
buildInputs = with self ; [ unittest2 ] ;
propagatedBuildInputs = with self ; [ modules . curses modules . curses_panel psutil setuptools bottle batinfo pkgs . hddtemp pysnmp ] ;
propagatedBuildInputs = with self ; [ psutil setuptools bottle batinfo pkgs . hddtemp pysnmp ] ;
preConfigure = ''
sed - i ' s/data_files \ . append ( ( conf_path/data_files.append ( ( " e t c \/ g l a n c e s " / ' setup . py ;
@ -12136,7 +12125,7 @@ in modules // {
} ;
buildInputs = with self ; [ flake8 pytest flaky ] ;
propagatedBuildInputs = with self ; ( [ uncompyle6 ] ++ optionals isPy27 [ enum34 modules . sqlite3 ] ) ;
propagatedBuildInputs = with self ; ( [ uncompyle6 ] ++ optionals isPy27 [ enum34 ] ) ;
# https://github.com/DRMacIver/hypothesis/issues/300
checkPhase = ''
@ -12817,7 +12806,7 @@ in modules // {
} ;
propagatedBuildInputs = with self ; [
pytz six tzlocal keyring modules . readline argparse dateutil_1_5
pytz six tzlocal keyring argparse dateutil_1_5
parsedatetime
] ;
@ -13226,7 +13215,7 @@ in modules // {
sed - i ' s/version = version/version = " ${ version } " / ' setup . py
'' ;
buildInputs = with self ; [ pkgs . git ] ;
propagatedBuildInputs = with self ; [ modules . sqlite3 ] ;
propagatedBuildInputs = with self ; [ ] ;
doCheck = false ;
@ -13826,7 +13815,7 @@ in modules // {
buildInputs = with self ; [ pyflakes pep8 ] ;
propagatedBuildInputs = with self ; [
django_1_6 filebrowser_safe grappelli_safe bleach tzlocal beautifulsoup4
requests2 requests_oauthlib future pillow modules . sqlite3
requests2 requests_oauthlib future pillow
] ;
# Tests Fail Due to Syntax Warning, Fixed for v3.1.11+
@ -13965,7 +13954,7 @@ in modules // {
buildInputs = with self ; [
pkgs . libjpeg pkgs . freetype pkgs . zlib pkgs . glibcLocales
pillow twitter pyfiglet requests2 arrow dateutil modules . readline pysocks
pillow twitter pyfiglet requests2 arrow dateutil pysocks
pocket
] ;
@ -14281,7 +14270,7 @@ in modules // {
LC_ALL = " e n _ U S . U T F - 8 " ;
propagatedBuildInputs = with self ; [ argparse jinja2 six modules . readline ] ++
propagatedBuildInputs = with self ; [ argparse jinja2 six ] ++
( optionals isPy26 [ importlib ordereddict ] ) ;
meta = {
@ -14999,7 +14988,6 @@ in modules // {
propagatedBuildInputs = with self ; [
numpy
nose
modules . sqlite3
] ;
# Failing tests
@ -17345,7 +17333,6 @@ in modules // {
sqlalchemy
lxml
html5lib
modules . sqlite3
beautifulsoup4
openpyxl
tables
@ -17863,7 +17850,7 @@ in modules // {
sha256 = " 1 6 9 s 5 m h w 1 s 6 0 q b s d 6 p k f 9 b b 2 x 6 w f g x 8 h n 8 n w 9 d 4 q g c 6 8 q n n p p 2 c j " ;
} ;
propagatedBuildInputs = with self ; [ modules . curses ] ;
propagatedBuildInputs = with self ; [ ] ;
meta = {
homepage = https://github.com/mooz/percol ;
@ -20184,7 +20171,7 @@ in modules // {
sha256 = " 0 j g y h k k q 3 6 w n 3 6 r y m n 4 j i y q h 2 v d s l m r a d q 4 a 2 m j k x f b k 2 c z 6 w p i 5 " ;
} ;
buildInputs = with self ; [ six pytest hypothesis ] ++ optional ( ! isPy3k ) modules . sqlite3 ;
buildInputs = with self ; [ six pytest hypothesis ] ;
checkPhase = ''
py . test
@ -21182,7 +21169,7 @@ in modules // {
} ;
buildInputs = with self ; [ nose ] ;
propagatedBuildInputs = with self ; [ modules . sqlite3 six ] ;
propagatedBuildInputs = with self ; [ six ] ;
checkPhase = " n o s e t e s t s " ;
@ -21725,7 +21712,7 @@ in modules // {
propagatedBuildInputs = with self ;
[ django_1_6 recaptcha_client pytz memcached dateutil_1_5 paramiko flup
pygments djblets django_evolution pycrypto modules . sqlite3 pysvn pillow
pygments djblets django_evolution pycrypto pysvn pillow
psycopg2 django-haystack python_mimeparse markdown django-multiselectfield
] ;
} ;
@ -21893,7 +21880,7 @@ in modules // {
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 " ;
} ;
propagatedBuildInputs = with self ; [ pygments wxPython modules . sqlite3 ] ;
propagatedBuildInputs = with self ; [ pygments wxPython ] ;
# 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
@ -22323,8 +22310,6 @@ in modules // {
sha256 = " 1 b q m p 0 x g l k n d r q g m y b p w m z k v 4 6 2 m i r 8 q l k f w s x w b v v z h 9 l i 3 n d n 5 " ;
} ;
propagatedBuildInputs = [ modules . readline ] ;
meta = {
description = " P o w e r f u l i n t e r a c t i v e n e t w o r k p a c k e t m a n i p u l a t i o n p r o g r a m " ;
homepage = http://www.secdev.org/projects/scapy/ ;
@ -22793,8 +22778,6 @@ in modules // {
sha256 = " 4 7 2 1 6 0 7 e 0 b 8 1 7 b 8 9 e f d b a 7 e 7 9 c a b 8 8 1 a 0 3 1 6 4 b 9 4 7 7 7 f 4 c f 7 9 6 a d 5 d d 5 9 a 7 6 1 2 c 5 " ;
} ;
buildInputs = with self ; [ modules . sqlite3 ] ;
meta = {
description = " s q l i t e - b a c k e d d i c t i o n a r y " ;
homepage = " h t t p : / / g i t h u b . c o m / Y e l p / s q l i t e 3 d b m " ;
@ -22827,8 +22810,6 @@ in modules // {
sha256 = " 0 g 8 s j k y 8 a n r m c i s c 6 9 7 b 5 q n d p 8 8 q m a y 3 5 k n g 9 s z 9 x 4 6 w d 3 a g m 9 p a " ;
} ;
propagatedBuildInputs = with self ; [ modules . sqlite3 ] ;
meta = with pkgs . stdenv . lib ; {
homepage = " h t t p : / / s q l m a p . o r g " ;
license = licenses . gpl2 ;
@ -23289,7 +23270,7 @@ in modules // {
# 4 failing tests, 2to3
doCheck = false ;
propagatedBuildInputs = with self ; [ modules . curses ] ;
propagatedBuildInputs = with self ; [ ] ;
meta = {
maintainers = with maintainers ; [ domenkozar ] ;
@ -23885,7 +23866,6 @@ in modules // {
buildInputs = with self ; [ nose mock ]
++ stdenv . lib . optional doCheck pysqlite ;
propagatedBuildInputs = with self ; [ modules . sqlite3 ] ;
checkPhase = ''
$ { python . executable } sqla_nose . py
@ -23911,7 +23891,6 @@ in modules // {
buildInputs = with self ; [ pytest mock pytest_xdist ]
++ stdenv . lib . optional ( ! isPy3k ) pysqlite ;
propagatedBuildInputs = with self ; [ modules . sqlite3 ] ;
# Test-only dependency pysqlite doesn't build on Python 3. This isn't an
# acceptable reason to make all dependents unavailable on Python 3 as well
@ -24840,7 +24819,7 @@ in modules // {
PYTHON_EGG_CACHE = " ` p w d ` / . e g g - c a c h e " ;
propagatedBuildInputs = with self ; [ genshi setuptools modules . sqlite3 ] ;
propagatedBuildInputs = with self ; [ genshi ] ;
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 " ;
@ -25425,7 +25404,7 @@ in modules // {
patches = [ ../development/python-modules/virtualenv-change-prefix.patch ] ;
propagatedBuildInputs = with self ; [ modules . readline modules . sqlite3 modules . curses ] ;
propagatedBuildInputs = with self ; [ ] ;
# Tarball doesn't contain tests
doCheck = false ;
@ -25846,7 +25825,7 @@ in modules // {
sha256 = " e 0 3 d d 2 6 e a 6 9 4 b 8 7 7 a 2 b 3 b 7 b 4 d c c a 8 e 7 9 4 2 0 e 7 f 3 4 6 a b a b 3 4 2 9 2 b f f 4 3 d 9 9 2 a 8 c c 5 " ;
} ;
buildInputs = with self ; [ pytest modules . sqlite3 ] ;
buildInputs = with self ; [ pytest ] ;
propagatedBuildInputs = with self ; [ feedparser pytz lxml praw pyenchant pygeoip backports_ssl_match_hostname ] ;
checkPhase = ''
py . test test
@ -26888,7 +26867,7 @@ in modules // {
} ;
buildInputs = with self ; [ unittest2 nose mock ] ;
propagatedBuildInputs = with self ; [ modules . curses libarchive ] ;
propagatedBuildInputs = with self ; [ libarchive ] ;
# tests are still failing
doCheck = false ;
@ -27430,7 +27409,7 @@ in modules // {
sha256 = " 4 7 2 a 4 4 0 3 f d 5 b 5 3 6 4 9 3 9 a e e 1 0 e 7 8 f 1 7 1 b 1 4 8 9 e 5 f 6 b f e 6 f 1 5 0 e d 9 c a e 8 4 7 6 4 1 0 1 1 4 " ;
} ;
propagatedBuildInputs = with self ; [ django_1_5 django_tagging modules . sqlite3 whisper pycairo ldap memcached ] ;
propagatedBuildInputs = with self ; [ django_1_5 django_tagging whisper pycairo ldap memcached ] ;
postInstall = ''
wrapProgram $ out/bin/run-graphite-devel-server.py \