{ pkgs, python }: with pkgs.lib; let isPy26 = python.majorVersion == "2.6"; isPy27 = python.majorVersion == "2.7"; isPy33 = python.majorVersion == "3.3"; isPy34 = python.majorVersion == "3.4"; isPyPy = python.executable == "pypy"; isPy3k = strings.substring 0 1 python.majorVersion == "3"; # Unique python version identifier pythonName = if isPy26 then "python26" else if isPy27 then "python27" else if isPy33 then "python33" else if isPy34 then "python34" else if isPyPy then "pypy" else ""; modules = python.modules or { readline = null; sqlite3 = null; curses = null; curses_panel = null; ssl = null; crypt = null; }; pythonPackages = modules // import ./python-packages-generated.nix { inherit pkgs python; inherit (pkgs) stdenv fetchurl; self = pythonPackages; } # Python packages for all python versions // rec { inherit python isPy26 isPy27 isPy33 isPy34 isPyPy isPy3k pythonName; inherit (pkgs) fetchurl fetchsvn fetchgit stdenv unzip; # helpers # glibcLocales doesn't build on Darwin localePath = optionalString (! stdenv.isDarwin) "${pkgs.glibcLocales}/lib/locale/locale-archive"; callPackage = pkgs.newScope pythonPackages; # global distutils config used by buildPythonPackage distutils-cfg = callPackage ../development/python-modules/distutils-cfg { }; buildPythonPackage = makeOverridable (callPackage ../development/python-modules/generic { }); wrapPython = pkgs.makeSetupHook { deps = pkgs.makeWrapper; substitutions.libPrefix = python.libPrefix; substitutions.executable = "${python}/bin/${python.executable}"; } ../development/python-modules/generic/wrap.sh; # specials recursivePthLoader = callPackage ../development/python-modules/recursive-pth-loader { }; setuptools = callPackage ../development/python-modules/setuptools { }; # packages defined elsewhere blivet = callPackage ../development/python-modules/blivet { }; dbus = callPackage ../development/python-modules/dbus { dbus = pkgs.dbus; }; discid = buildPythonPackage rec { name = "discid-1.1.0"; meta = with stdenv.lib; { description = "Python binding of libdiscid"; homepage = "https://python-discid.readthedocs.org/"; license = licenses.lgpl3Plus; platforms = platforms.linux; maintainer = with maintainers; [ iyzsong ]; }; src = fetchurl { url = "https://pypi.python.org/packages/source/d/discid/${name}.tar.gz"; md5 = "2ad2141452dd10b03ad96ccdad075235"; }; patchPhase = '' substituteInPlace discid/libdiscid.py \ --replace '_open_library(_LIB_NAME)' "_open_library('${pkgs.libdiscid}/lib/libdiscid.so.0')" ''; }; h5py = callPackage ../development/python-modules/h5py { hdf5 = pkgs.hdf5.override { mpi = null; }; }; h5py-mpi = h5py.override { mpiSupport = true; mpi = pkgs.openmpi; hdf5 = pkgs.hdf5.override { mpi = pkgs.openmpi; enableShared = true; }; inherit mpi4py; }; ipython = callPackage ../shells/ipython { qtconsoleSupport = !pkgs.stdenv.isDarwin; # qt is not supported on darwin pylabQtSupport = !pkgs.stdenv.isDarwin; pylabSupport = !pkgs.stdenv.isDarwin; # cups is not supported on darwin }; ipythonLight = lowPrio (ipython.override { qtconsoleSupport = false; pylabSupport = false; pylabQtSupport = false; }); mpi4py = callPackage ../development/python-modules/mpi4py { mpi = pkgs.openmpi; }; nixpart = callPackage ../tools/filesystems/nixpart { }; # This is used for NixOps to make sure we won't break it with the next major # version of nixpart. nixpart0 = nixpart; pitz = callPackage ../applications/misc/pitz { }; pycairo = callPackage ../development/python-modules/pycairo { }; pycrypto = callPackage ../development/python-modules/pycrypto { }; pygobject = callPackage ../development/python-modules/pygobject { }; pygobject3 = callPackage ../development/python-modules/pygobject/3.nix { }; pygtk = callPackage ../development/python-modules/pygtk { libglade = null; }; pyGtkGlade = pygtk.override { libglade = pkgs.gnome.libglade; }; pyqt4 = callPackage ../development/python-modules/pyqt/4.x.nix { pythonDBus = dbus; }; pyqt5 = callPackage ../development/python-modules/pyqt/5.x.nix { sip = sip_4_16; pythonDBus = dbus; }; sip = callPackage ../development/python-modules/sip { }; sip_4_16 = callPackage ../development/python-modules/sip/4.16.nix { }; tables = callPackage ../development/python-modules/tables { hdf5 = pkgs.hdf5.override { zlib = pkgs.zlib; }; }; # packages defined here aafigure = buildPythonPackage rec { name = "aafigure-0.5"; src = fetchurl { url = "https://pypi.python.org/packages/source/a/aafigure/${name}.tar.gz"; md5 = "5322888a21eb0bb2e749fbf98eddf574"; }; 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|/usr/share/fonts|/nonexisting-fonts-path|" aafigure/PILhelper.py ''; meta = with stdenv.lib; { description = "ASCII art to image converter"; homepage = https://launchpad.net/aafigure/; license = licenses.bsd2; platforms = platforms.linux; maintainers = [ maintainers.bjornfor ]; }; }; actdiag = buildPythonPackage rec { name = "actdiag-0.5.1"; src = fetchurl { url = "https://pypi.python.org/packages/source/a/actdiag/${name}.tar.gz"; md5 = "171c47bc1f70e5fadfffd9df0c3157be"; }; buildInputs = [ pep8 nose unittest2 docutils ]; propagatedBuildInputs = [ blockdiag ]; # One test fails: # UnicodeEncodeError: 'ascii' codec can't encode character u'\u3042' in position 0: ordinal not in range(128) doCheck = false; meta = with stdenv.lib; { description = "Generate activity-diagram image from spec-text file (similar to Graphviz)"; homepage = http://blockdiag.com/; license = licenses.asl20; platforms = platforms.linux; maintainers = [ maintainers.bjornfor ]; }; }; afew = buildPythonPackage rec { rev = "9744c18c4d6b0a3e7f57b01e5fe145a60fc82a47"; name = "afew-1.0_${rev}"; src = fetchurl { url = "https://github.com/teythoon/afew/tarball/${rev}"; name = "${name}.tar.bz"; sha256 = "1qyban022aji2hl91dh0j3xa6ikkxl5argc6w71yp2x8b02kp3mf"; }; buildInputs = [ pkgs.dbacl ]; propagatedBuildInputs = [ pythonPackages.notmuch pythonPackages.chardet ] ++ optional (!isPy3k) pythonPackages.subprocess32; doCheck = false; preConfigure = '' substituteInPlace afew/DBACL.py --replace "'dbacl'" "'${pkgs.dbacl}/bin/dbacl'" ''; postInstall = '' wrapProgram $out/bin/afew \ --prefix LD_LIBRARY_PATH : ${pkgs.notmuch}/lib ''; meta = { homepage = https://github.com/teythoon/afew; description = "afew is an initial tagging script for notmuch mail."; maintainers = [ stdenv.lib.maintainers.garbas ]; }; }; alembic = buildPythonPackage rec { name = "alembic-0.6.6"; src = fetchurl { url = "https://pypi.python.org/packages/source/a/alembic/${name}.tar.gz"; md5 = "71e4a8f6849e1527abfc4ea33d51f37c"; }; buildInputs = [ nose mock ]; propagatedBuildInputs = [ Mako sqlalchemy9 ]; meta = { homepage = http://bitbucket.org/zzzeek/alembic; description = "A database migration tool for SQLAlchemy."; license = stdenv.lib.licenses.mit; }; }; almir = buildPythonPackage rec { name = "almir-0.1.8"; src = fetchurl { url = "http://pypi.python.org/packages/source/a/almir/${name}.zip"; md5 = "9a1f3c72a039622ca72b74be7a1cd37e"; }; buildInputs = [ pkgs.which pythonPackages.coverage pythonPackages.mock pythonPackages.tissue pythonPackages.unittest2 pythonPackages.webtest ]; propagatedBuildInputs = [ pkgs.makeWrapper pkgs.bacula 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 pythonPackages.psycopg2 ]; postInstall = '' ln -s ${pkgs.bacula}/bin/bconsole $out/bin ''; meta = { maintainers = [ stdenv.lib.maintainers.iElectric ]; platforms = stdenv.lib.platforms.all; }; }; alot = buildPythonPackage rec { rev = "fa4ddf000dc2ac4933852b210901b649634a5f86"; name = "alot-0.3.5_${rev}"; src = fetchurl { url = "https://github.com/pazz/alot/tarball/${rev}"; name = "${name}.tar.bz"; sha256 = "0h11lqyxg0xbkc9y1xqjvd0kmfm5pdwnmv9chmlsi1614dxn08n0"; }; # error: invalid command 'test' doCheck = false; propagatedBuildInputs = [ pythonPackages.notmuch pythonPackages.urwid pythonPackages.twisted pythonPackages.magic pythonPackages.configobj pythonPackages.pygpgme ]; postInstall = '' wrapProgram $out/bin/alot \ --prefix LD_LIBRARY_PATH : ${pkgs.notmuch}/lib:${pkgs.file}/lib:${pkgs.gpgme}/lib ''; meta = { homepage = https://github.com/pazz/alot; description = "Terminal MUA using notmuch mail"; maintainers = [ stdenv.lib.maintainers.garbas ]; }; }; anyjson = buildPythonPackage rec { name = "anyjson-0.3.3"; disabled = isPy3k; src = fetchurl { url = "http://pypi.python.org/packages/source/a/anyjson/${name}.tar.gz"; md5 = "2ea28d6ec311aeeebaf993cb3008b27c"; }; buildInputs = [ pythonPackages.nose ]; meta = { homepage = http://pypi.python.org/pypi/anyjson/; description = "Wrapper that selects the best available JSON implementation"; }; }; amqplib = buildPythonPackage rec { name = "amqplib-0.6.1"; src = fetchurl { url = "http://py-amqplib.googlecode.com/files/${name}.tgz"; sha1 = "f124e5e4a6644bf6d1734032a01ac44db1b25a29"; }; # error: invalid command 'test' doCheck = false; meta = { homepage = http://code.google.com/p/py-amqplib/; description = "Python client for the Advanced Message Queuing Procotol (AMQP)"; }; }; apsw = buildPythonPackage rec { name = "apsw-3.7.6.2-r1"; disabled = isPyPy; src = fetchurl { url = "http://apsw.googlecode.com/files/${name}.zip"; sha1 = "fa4aec08e59fa5964197f59ba42408d64031675b"; }; buildInputs = [ pkgs.sqlite ]; # python: double free or corruption (fasttop): 0x0000000002fd4660 *** doCheck = false; meta = { description = "A Python wrapper for the SQLite embedded relational database engine"; homepage = http://code.google.com/p/apsw/; }; }; apscheduler = buildPythonPackage rec { name = "APScheduler-2.1.2"; propagatedBuildInputs = with pythonPackages; [ futures tzlocal six pytest mock]; src = fetchurl { url = "https://pypi.python.org/packages/source/A/APScheduler/APScheduler-2.1.2.tar.gz"; md5 = "6862959d460c16ef325d63e1fc3a6684"; }; meta = with pkgs.stdenv.lib; { description = "Advanced Python Scheduler (APScheduler) is a Python library that lets you schedule your Python code to be executed"; homepage = http://pypi.python.org/pypi/APScheduler/; license = licenses.mit; }; }; area53 = buildPythonPackage (rec { name = "Area53-0.94"; src = fetchurl { url = "https://pypi.python.org/packages/source/A/Area53/${name}.tar.gz"; sha256 = "0v9b7f8b6v21y410anx5sr52k2ac8jrzdf19q6m6p0zsdsf9vr42"; }; # error: invalid command 'test' doCheck = false; propagatedBuildInputs = [ pythonPackages.boto ]; }); arrow = buildPythonPackage rec { name = "arrow-${version}"; version = "0.4.4"; src = fetchurl { url = "https://pypi.python.org/packages/source/a/arrow/${name}.tar.gz"; sha256 = "1sdr4gyjgvz86yr0ll0i11mgy8l1slndr7f0ngam87rpy78gp052"; }; doCheck = false; meta = { description = "Twitter API library"; license = "apache"; maintainers = [ maintainers.thoughtpolice ]; }; }; async = buildPythonPackage rec { name = "async-0.6.1"; disabled = isPy3k; meta.maintainers = [ stdenv.lib.maintainers.mornfall ]; buildInputs = [ pkgs.zlib ]; doCheck = false; src = fetchurl { url = "https://pypi.python.org/packages/source/a/async/${name}.tar.gz"; sha256 = "1lfmjm8apy9qpnpbq8g641fd01qxh9jlya5g2d6z60vf8p04rla1"; }; }; argparse = buildPythonPackage (rec { name = "argparse-1.2.1"; src = fetchurl { url = "http://argparse.googlecode.com/files/${name}.tar.gz"; sha256 = "192174mys40m0bwk6l5jlfnzps0xi81sxm34cqms6dc3c454pbyx"; }; # error: invalid command 'test' doCheck = false; meta = { homepage = http://code.google.com/p/argparse/; license = stdenv.lib.licenses.asl20; description = "argparse: Python command line parser"; longDescription = '' The argparse module makes writing command line tools in Python easy. Just briefly describe your command line interface and argparse will take care of the rest, including: parsing the arguments and flags from sys.argv, converting arg strings into objects for your program, formatting and printing any help messages, and much more. ''; }; }); astroid = buildPythonPackage (rec { name = "astroid-1.1.1"; propagatedBuildInputs = [ logilab_common ]; src = fetchurl { url = "https://pypi.python.org/packages/source/a/astroid/${name}.tar.gz"; sha256 = "1x7103mlzndgg66yas6xrfwkwpihcq4bi9m8py1fjnhz8p5ka1vq"; }; }); autopep8 = buildPythonPackage (rec { name = "autopep8-1.0.3"; src = fetchurl { url = "https://pypi.python.org/packages/source/a/autopep8/${name}.tar.gz"; md5 = "7c16d385cf9ad7c1d7fbcfcea2588a56"; }; 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 tool that automatically formats Python code to conform to the PEP 8 style guide"; homepage = https://pypi.python.org/pypi/autopep8/; license = licenses.mit; platforms = platforms.all; maintainers = [ maintainers.bjornfor ]; }; }); avro = buildPythonPackage (rec { name = "avro-1.7.6"; disabled = isPy3k; src = fetchurl { url = "https://pypi.python.org/packages/source/a/avro/${name}.tar.gz"; md5 = "7f4893205e5ad69ac86f6b44efb7df72"; }; meta = with stdenv.lib; { description = "A serialization and RPC framework"; homepage = "https://pypi.python.org/pypi/avro/"; }; }); avro3k = pkgs.lowPrio (buildPythonPackage (rec { name = "avro3k-1.7.7-SNAPSHOT"; disabled = (!isPy3k); src = fetchurl { url = "https://pypi.python.org/packages/source/a/avro3k/${name}.tar.gz"; sha256 = "15ahl0irwwj558s964abdxg4vp6iwlabri7klsm2am6q5r0ngsky"; }; doCheck = false; # No such file or directory: './run_tests.py meta = with stdenv.lib; { description = "A serialization and RPC framework"; homepage = "https://pypi.python.org/pypi/avro3k/"; }; })); backports_ssl_match_hostname_3_4_0_2 = pythonPackages.buildPythonPackage rec { name = "backports.ssl_match_hostname-3.4.0.2"; src = fetchurl { url = "https://pypi.python.org/packages/source/b/backports.ssl_match_hostname/backports.ssl_match_hostname-3.4.0.2.tar.gz"; md5 = "788214f20214c64631f0859dc79f23c6"; }; meta = { description = "The Secure Sockets layer is only actually *secure*"; homepage = http://bitbucket.org/brandon/backports.ssl_match_hostname; }; }; batinfo = buildPythonPackage rec { version = "0.1.9"; name = "batinfo-${version}"; src = fetchurl { url = "https://pypi.python.org/packages/source/b/batinfo/${name}.tar.gz"; sha256 = "0ppzbh8lii16xfq5piczn82hwps1fnbq9rbwwl3rdpdx0n86l560"; }; meta = with stdenv.lib; { homepage = https://github.com/nicolargo/batinfo; description = "A simple Python lib to retreive battery information"; license = licenses.lgpl3; platforms = platforms.all; maintainers = [ maintainers.koral ]; }; }; bcdoc = buildPythonPackage rec { name = "bcdoc-0.12.1"; src = fetchurl { url = "https://pypi.python.org/packages/source/b/bcdoc/bcdoc-0.12.1.tar.gz"; md5 = "7c8617347c294ea4d36ec73fb5b2c26e"; }; buildInputs = [ pythonPackages.docutils pythonPackages.six ]; meta = { homepage = https://github.com/botocore/bcdoc; license = stdenv.lib.licenses.asl20; description = "ReST document generation tools for botocore"; }; }; beautifulsoup = buildPythonPackage (rec { name = "beautifulsoup-3.2.1"; disabled = isPy3k; src = fetchurl { url = "http://www.crummy.com/software/BeautifulSoup/download/3.x/BeautifulSoup-3.2.1.tar.gz"; sha256 = "1nshbcpdn0jpcj51x0spzjp519pkmqz0n0748j7dgpz70zlqbfpm"; }; # error: invalid command 'test' doCheck = false; meta = { homepage = http://www.crummy.com/software/BeautifulSoup/; license = "bsd"; description = "Undemanding HTML/XML parser"; }; }); beautifulsoup4 = buildPythonPackage (rec { name = "beautifulsoup4-4.1.3"; src = fetchurl { url = "http://pypi.python.org/packages/source/b/beautifulsoup4/${name}.tar.gz"; md5 = "f1481ed77336de77a2d8e5b061b6ad62"; }; # invalid command 'test' doCheck = false; meta = { homepage = http://crummy.com/software/BeautifulSoup/bs4/; description = "HTML and XML parser"; license = stdenv.lib.licenses.mit; maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }); beaker = buildPythonPackage rec { name = "Beaker-1.6.4"; disabled = isPy3k; src = fetchurl { url = "http://pypi.python.org/packages/source/B/Beaker/${name}.tar.gz"; md5 = "c2e102870ed4c53104dec48ceadf8e9d"; }; buildInputs = [ pythonPackages.sqlalchemy pythonPackages.pycryptopp pythonPackages.nose pythonPackages.mock pythonPackages.webtest ]; # 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; }; }; bedup = buildPythonPackage rec { name = "bedup-20140413"; src = fetchgit { url = "https://github.com/g2p/bedup.git"; rev = "5189e166145b8954ac41883f81ef3c3b50dc96ab"; sha256 = "e61768fa19934bd176799f90bda3ea9f49a5def21fa2523a8e47df8a48e730e9"; }; buildInputs = [ pkgs.btrfsProgs ]; propagatedBuildInputs = with pkgs; [ contextlib2 sqlalchemy9 pyxdg pycparser alembic ] ++ optionals (!isPyPy) [ cffi ]; meta = { description = "Deduplication for Btrfs"; 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 ]; }; }; beets = buildPythonPackage rec { name = "beets-1.3.6"; src = fetchurl { url = "http://pypi.python.org/packages/source/b/beets/${name}.tar.gz"; md5 = "59615a54b3ac3983159e77ff9dda373e"; }; # tests depend on $HOME setting preConfigure = "export HOME=$TMPDIR"; propagatedBuildInputs = [ pythonPackages.pyyaml pythonPackages.unidecode pythonPackages.mutagen pythonPackages.munkres pythonPackages.musicbrainzngs pythonPackages.enum34 pythonPackages.pylast pythonPackages.rarfile pythonPackages.flask modules.sqlite3 modules.readline ]; buildInputs = with pythonPackages; [ mock pyechonest six responses nose ]; # 10 tests are failing doCheck = false; meta = { homepage = http://beets.radbox.org; description = "Music tagger and library organizer"; license = licenses.mit; maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }; circus = buildPythonPackage rec { name = "circus-0.11.1"; src = fetchurl { url = "https://pypi.python.org/packages/source/c/circus/${name}.tar.gz"; md5 = "5c07cdbe9bb4a9b82e52737ad590617b"; }; doCheck = false; # weird error propagatedBuildInputs = with pythonPackages; [ iowait psutil pyzmq tornado mock ]; }; iowait = buildPythonPackage rec { name = "iowait-0.2"; src = fetchurl { url = "https://pypi.python.org/packages/source/i/iowait/${name}.tar.gz"; md5 = "f49ca7766fe4a67e03a731e575614f87"; }; meta = with stdenv.lib; { description = "Platform-independent module for I/O completion events"; homepage = https://launchpad.net/python-iowait; }; }; responses = pythonPackages.buildPythonPackage rec { name = "responses-0.2.2"; propagatedBuildInputs = with pythonPackages; [ requests mock six pytest flake8 ]; doCheck = false; src = fetchurl { url = "https://pypi.python.org/packages/source/r/responses/responses-0.2.2.tar.gz"; md5 = "5d79fd425cf8d858dfc8afa6475395d3"; }; }; rarfile = pythonPackages.buildPythonPackage rec { name = "rarfile-2.6"; propagatedBuildInputs = with pythonPackages; [ ]; src = fetchurl { url = "https://pypi.python.org/packages/source/r/rarfile/rarfile-2.6.tar.gz"; md5 = "50ce3f3fdb9196a00059a5ea7b3739fd"; }; meta = with stdenv.lib; { description = "rarfile - RAR archive reader for Python"; homepage = https://github.com/markokr/rarfile; }; }; pyechonest = pythonPackages.buildPythonPackage rec { name = "pyechonest-8.0.2"; propagatedBuildInputs = with pythonPackages; [ ]; src = fetchurl { url = "https://pypi.python.org/packages/source/p/pyechonest/pyechonest-8.0.2.tar.gz"; md5 = "5586fe8ece7af4e24f71ea740185127e"; }; meta = with stdenv.lib; { description = "Tap into The Echo Nest's Musical Brain for the best music search, information, recommendations and remix tools on the web"; homepage = https://github.com/echonest/pyechonest; }; }; bitbucket_api = buildPythonPackage rec { name = "bitbucket-api-0.4.4"; src = fetchurl { url = "http://pypi.python.org/packages/source/b/bitbucket-api/${name}.tar.gz"; md5 = "6f3cee3586c4aad9c0b2e04fce9704fb"; }; propagatedBuildInputs = [ requests_oauth2 nose sh ]; doCheck = false; meta = { homepage = https://github.com/Sheeprider/BitBucket-api; description = "Python library to interact with BitBucket REST API"; license = licenses.mit; }; }; bitbucket-cli = buildPythonPackage rec { name = "bitbucket-cli-0.4.1"; src = fetchurl { url = "https://pypi.python.org/packages/source/b/bitbucket-cli/${name}.tar.gz"; md5 = "79cdbdc6c95dfa313d12cbdef406c9f2"; }; pythonPath = [ requests ]; meta = with stdenv.lib; { description = "Bitbucket command line interface"; homepage = "https://bitbucket.org/zhemao/bitbucket-cli"; maintainers = [ maintainers.refnil ]; }; }; bitstring = buildPythonPackage rec { name = "bitstring-3.1.2"; src = fetchurl { url = "https://python-bitstring.googlecode.com/files/${name}.zip"; sha256 = "1i1p3rkj4ad108f23xyib34r4rcy571gy65paml6fk77knh0k66p"; }; # error: invalid command 'test' doCheck = false; meta = with stdenv.lib; { description = "Module for binary data manipulation"; homepage = https://code.google.com/p/python-bitstring/; license = licenses.mit; platforms = platforms.linux; maintainers = [ maintainers.bjornfor ]; }; }; blinker = buildPythonPackage rec { name = "blinker-${version}"; version = "1.3"; src = fetchurl { url = "https://pypi.python.org/packages/source/b/blinker/${name}.tar.gz"; md5 = "66e9688f2d287593a0e698cd8a5fbc57"; }; meta = with stdenv.lib; { homepage = http://pythonhosted.org/blinker/; description = "Fast, simple object-to-object and broadcast signaling"; license = licenses.mit; }; }; blockdiag = buildPythonPackage rec { name = "blockdiag-1.3.2"; src = fetchurl { url = "https://pypi.python.org/packages/source/b/blockdiag/${name}.tar.gz"; md5 = "602a8750f312eeee84d6d138055dfae7"; }; buildInputs = [ pep8 nose unittest2 docutils ]; propagatedBuildInputs = [ pillow webcolors funcparserlib ]; # One test fails: # ... # FAIL: test_auto_font_detection (blockdiag.tests.test_boot_params.TestBootParams) doCheck = false; meta = with stdenv.lib; { description = "Generate block-diagram image from spec-text file (similar to Graphviz)"; homepage = http://blockdiag.com/; license = licenses.asl20; platforms = platforms.linux; maintainers = [ maintainers.bjornfor ]; }; }; bpython = buildPythonPackage rec { name = "bpython-0.12"; src = fetchurl { url = "http://www.bpython-interpreter.org/releases/bpython-0.12.tar.gz"; sha256 = "1ilf58qq7sazmcgg4f1wswbhcn2gb8qbbrpgm6gf0j2lbm60gabl"; }; propagatedBuildInputs = [ modules.curses pygments ]; doCheck = false; meta = { description = "UNKNOWN"; homepage = "UNKNOWN"; maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }; boto = buildPythonPackage rec { name = "boto-${version}"; version = "2.32.0"; src = fetchurl { url = "https://github.com/boto/boto/archive/${version}.tar.gz"; sha256 = "0bl5y7m0m84rz4q7hx783kxpj1n9wcm7dhv54bnx8cnanyd13cxn"; }; # The tests seem to require AWS credentials. doCheck = false; meta = { homepage = https://github.com/boto/boto; license = "bsd"; description = "Python interface to Amazon Web Services"; longDescription = '' The boto module is an integrated interface to current and future infrastructural services offered by Amazon Web Services. This includes S3, SQS, EC2, among others. ''; }; }; botocore = buildPythonPackage rec { version = "0.33.0"; name = "botocore-${version}"; src = fetchurl { url = "https://pypi.python.org/packages/source/b/botocore/${name}.tar.gz"; md5 = "6743c73a2e148abaa9c487a6e2ee53a3"; }; propagatedBuildInputs = [ pythonPackages.dateutil pythonPackages.requests pythonPackages.jmespath ]; meta = { homepage = https://github.com/boto/botocore; license = "bsd"; description = "A low-level interface to a growing number of Amazon Web Services"; }; }; bottle = buildPythonPackage rec { version = "0.12.7"; name = "bottle-${version}"; src = fetchurl { url = "https://pypi.python.org/packages/source/b/bottle/${name}.tar.gz"; sha256 = "0wr0gfz0bqlzhxk691x0xnf80b8v5pnl3jpnbgs1m9bcy28j3sp3"; }; propagatedBuildInputs = [ setuptools ]; meta = with stdenv.lib; { homepage = http://bottlepy.org; description = "A fast and simple micro-framework for small web-applications"; license = licenses.mit; platforms = platforms.all; maintainers = [ maintainers.koral ]; }; }; # bugz = buildPythonPackage (rec { # name = "bugz-0.9.3"; # # src = fetchgit { # url = "https://github.com/williamh/pybugz.git"; # rev = "refs/tags/0.9.3"; # }; # # propagatedBuildInputs = [ pythonPackages.argparse modules.ssl ]; # # doCheck = false; # # meta = { # homepage = http://www.liquidx.net/pybugz/; # description = "Command line interface for Bugzilla"; # }; # }); buildout = zc_buildout; buildout152 = zc_buildout152; # A patched version of buildout, useful for buildout based development on Nix zc_buildout_nix = callPackage ../development/python-modules/buildout-nix { }; zc_recipe_egg = zc_recipe_egg_buildout171; zc_buildout = zc_buildout171; zc_buildout2 = zc_buildout221; zc_buildout221 = buildPythonPackage rec { name = "zc.buildout-2.2.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zc.buildout/${name}.tar.gz"; md5 = "476a06eed08506925c700109119b6e41"; }; meta = { homepage = "http://www.buildout.org"; description = "A software build and configuration system"; license = licenses.zpt21; maintainers = [ stdenv.lib.maintainers.garbas ]; }; }; zc_buildout171 = buildPythonPackage rec { name = "zc.buildout-1.7.1"; disabled = isPy3k; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zc.buildout/${name}.tar.gz"; md5 = "8834a21586bf2be53dc412002241a996"; }; meta = { homepage = "http://www.buildout.org"; description = "A software build and configuration system"; license = licenses.zpt21; maintainers = [ stdenv.lib.maintainers.garbas ]; }; }; zc_buildout152 = buildPythonPackage rec { name = "zc.buildout-1.5.2"; disabled = isPy3k; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zc.buildout/${name}.tar.gz"; md5 = "87f7b3f8d13926c806242fd5f6fe36f7"; }; # TODO: consider if this patch should be an option # It makes buildout useful in a nix profile, but this alters the default functionality patchPhase = '' sed -i "s/return (stdlib, site_paths)/return (stdlib, sys.path)/g" src/zc/buildout/easy_install.py ''; meta = { homepage = "http://www.buildout.org"; description = "A software build and configuration system"; license = licenses.zpt21; maintainers = [ stdenv.lib.maintainers.garbas ]; }; }; zc_recipe_egg_fun = { buildout, version, md5 }: buildPythonPackage rec { inherit version; name = "zc.recipe.egg-${version}"; buildInputs = [ buildout ]; doCheck = false; src = fetchurl { inherit md5; url = "https://pypi.python.org/packages/source/z/zc.recipe.egg/zc.recipe.egg-${version}.tar.gz"; }; }; zc_recipe_egg_buildout171 = zc_recipe_egg_fun { buildout = zc_buildout171; version = "1.3.2"; md5 = "1cb6af73f527490dde461d3614a36475"; }; zc_recipe_egg_buildout2 = zc_recipe_egg_fun { buildout = zc_buildout2; version = "2.0.1"; md5 = "5e81e9d4cc6200f5b1abcf7c653dd9e3"; }; bunch = buildPythonPackage (rec { name = "bunch-1.0.1"; meta.maintainers = [ stdenv.lib.maintainers.mornfall ]; src = fetchurl { url = "https://pypi.python.org/packages/source/b/bunch/${name}.tar.gz"; sha256 = "1akalx2pd1fjlvrq69plvcx783ppslvikqdm93z2sdybq07pmish"; }; doCheck = false; }); cairocffi = buildPythonPackage rec { name = "cairocffi-0.5.4"; src = fetchurl { url = "https://pypi.python.org/packages/source/c/cairocffi/${name}.tar.gz"; md5 = "e3fa4002583bfaa88b156e1af9c75bde"; }; propagatedBuildInputs = [ cffi ]; meta = { homepage = https://github.com/SimonSapin/cairocffi; license = "bsd"; description = "cffi-based cairo bindings for Python"; }; }; carrot = buildPythonPackage rec { name = "carrot-0.10.7"; src = fetchurl { url = "http://pypi.python.org/packages/source/c/carrot/${name}.tar.gz"; md5 = "530a0614de3a669314c3acd4995c54d5"; }; buildInputs = [ pythonPackages.nose ]; propagatedBuildInputs = [ pythonPackages.amqplib pythonPackages.anyjson ]; doCheck = false; # depends on the network meta = { homepage = http://pypi.python.org/pypi/carrot; description = "AMQP Messaging Framework for Python"; }; }; certifi = buildPythonPackage rec { name = "certifi-${version}"; version = "14.05.14"; src = fetchurl { url = "https://pypi.python.org/packages/source/c/certifi/${name}.tar.gz"; sha256 = "0s8vxzfz6s4m6fvxc7z25k9j35w0rh6jkw3wwcd1az1mssncn6qy"; }; meta = with stdenv.lib; { homepage = http://certifi.io/; description = "Python package for providing Mozilla's CA Bundle."; license = licenses.isc; maintainers = [ maintainers.koral ]; }; }; characteristic = buildPythonPackage rec { name = "characteristic-14.1.0"; src = fetchurl { url = "https://pypi.python.org/packages/source/c/characteristic/${name}.tar.gz"; md5 = "68ea7e28997fc57d3631791ec0567a05"; }; buildInputs = [ pythonPackages.pytest ]; meta = { description = "Python attributes without boilerplate"; homepage = https://characteristic.readthedocs.org; }; }; cheetah = buildPythonPackage rec { version = "2.4.4"; name = "cheetah-${version}"; disabled = isPy3k; src = fetchurl { url = "http://pypi.python.org/packages/source/C/Cheetah/Cheetah-${version}.tar.gz"; md5 = "853917116e731afbc8c8a43c37e6ddba"; }; propagatedBuildInputs = [ pythonPackages.markdown ]; meta = { homepage = http://www.cheetahtemplate.org/; description = "A template engine and code generation tool"; }; }; cherrypy = buildPythonPackage (rec { name = "cherrypy-${version}"; version = "3.2.2"; src = fetchurl { url = "http://download.cherrypy.org/cherrypy/${version}/CherryPy-${version}.tar.gz"; sha256 = "14dn129h69wj0h8yr0bjwbrk8kygl6mkfnxc5m3fxhlm4xb8hnnw"; }; # error: invalid command 'test' doCheck = false; meta = { homepage = "http://www.cherrypy.org"; description = "A pythonic, object-oriented HTTP framework"; }; }); click = buildPythonPackage { name = "click-2.1"; src = fetchurl { url = https://pypi.python.org/packages/source/c/click/click-2.1.tar.gz; md5 = "0ba97ba09af82c56e2d35f3412d0aa6e"; }; meta = { homepage = "http://click.pocoo.org/"; description = "Click is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary."; license = "bsd, 3-clause"; }; }; clepy = buildPythonPackage rec { name = "clepy-0.3.20"; src = fetchurl { url = "https://pypi.python.org/packages/source/c/clepy/${name}.tar.gz"; sha256 = "16vibfxms5z4ld8gbkra6dkhqm2cc3jnn0fwp7mw70nlwxnmm51c"; }; buildInputs = [ pythonPackages.mock pythonPackages.nose pythonPackages.decorator ]; meta = { homepage = http://code.google.com/p/clepy/; description = "Utilities created by the Cleveland Python users group"; }; }; clientform = buildPythonPackage (rec { name = "clientform-0.2.10"; disabled = isPy3k; src = fetchurl { url = "http://pypi.python.org/packages/source/C/ClientForm/ClientForm-0.2.10.tar.gz"; sha256 = "0dydh3i1sx7rrj6d0gj375wkjpiivm7jjlsimw6hmwv4ck7yf1wm"; }; meta = { homepage = http://wwwsearch.sourceforge.net/ClientForm/; license = "bsd"; description = "Python module for handling HTML forms on the client side"; }; }); cogapp = buildPythonPackage rec { version = "2.3"; name = "cogapp-${version}"; src = fetchurl { url = "https://pypi.python.org/packages/source/c/cogapp/${name}.tar.gz"; sha256 = "0gzmzbsk54r1qa6wd0yg4zzdxvn2f19ciprr2acldxaknzrpllnn"; }; # there are no tests doCheck = false; meta = with stdenv.lib; { description = "A code generator for executing Python snippets in source files"; homepage = http://nedbatchelder.com/code/cog; license = licenses.mit; maintainers = with maintainers; [ lovek323 ]; platforms = platforms.unix; }; }; colorama = buildPythonPackage rec { name = "colorama-0.2.5"; src = fetchurl { url = "https://pypi.python.org/packages/source/c/colorama/colorama-0.2.5.tar.gz"; md5 = "308c6e38917bdbfc4d3b0783c614897d"; }; propagatedBuildInputs = [ pythonPackages.clientform ]; doCheck = false; meta = { homepage = http://code.google.com/p/colorama/; license = "bsd"; description = "Cross-platform colored terminal text"; }; }; coilmq = buildPythonPackage (rec { name = "coilmq-0.6.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/C/CoilMQ/CoilMQ-0.6.1.tar.gz"; md5 = "5f39727415b837abd02651eeb2721749"; }; propagatedBuildInputs = [ pythonPackages.stompclient ]; preConfigure = '' sed -i '/distribute/d' setup.py ''; buildInputs = [ pythonPackages.coverage pythonPackages.sqlalchemy ]; # ValueError: Could not parse auth file: # /tmp/nix-build-.../CoilMQ-0.6.1/coilmq/tests/resources/auth.ini doCheck = false; meta = { description = "Simple, lightweight, and easily extensible STOMP message broker"; homepage = http://code.google.com/p/coilmq/; license = licenses.asl20; }; }); colander = buildPythonPackage rec { name = "colander-1.0b1"; src = fetchurl { url = "http://pypi.python.org/packages/source/c/colander/${name}.tar.gz"; md5 = "89f2cf4b5c87d43f7917d6a0d4872e6a"; }; propagatedBuildInputs = [ pythonPackages.translationstring ]; meta = { maintainers = [ stdenv.lib.maintainers.garbas stdenv.lib.maintainers.iElectric ]; platforms = stdenv.lib.platforms.all; }; }; ColanderAlchemy = buildPythonPackage rec { name = "ColanderAlchemy-0.2.0"; src = fetchurl { url = "https://pypi.python.org/packages/source/C/ColanderAlchemy/${name}.tar.gz"; md5 = "b054837bd2753cbf15f7d5028cba421b"; }; buildInputs = [ unittest2 ]; propagatedBuildInputs = [ colander sqlalchemy9 ]; # string: argument name cannot be overridden via info kwarg. doCheck = false; meta = { description = "Autogenerate Colander schemas based on SQLAlchemy models."; homepage = https://github.com/stefanofontanelli/ColanderAlchemy; license = licenses.mit; }; }; configobj = buildPythonPackage (rec { name = "configobj-5.0.6"; src = fetchurl { url = "http://pypi.python.org/packages/source/c/configobj/${name}.tar.gz"; md5 = "e472a3a1c2a67bb0ec9b5d54c13a47d6"; }; # error: invalid command 'test' doCheck = false; propagatedBuildInputs = [ six ]; meta = { description = "Config file reading, writing and validation."; homepage = http://pypi.python.org/pypi/configobj; license = licenses.bsd3; maintainers = [ stdenv.lib.maintainers.garbas ]; }; }); configshell_fb = buildPythonPackage rec { version = "1.1.fb10"; name = "configshell-fb-${version}"; src = fetchurl { url = "https://github.com/agrover/configshell-fb/archive/v${version}.tar.gz"; sha256 = "1dd87xvm98nk3jzybb041gjdahi2z9b53pwqhyxcfj4a91y82ndy"; }; propagatedBuildInputs = [ pyparsing modules.readline urwid ]; meta = { description = "A Python library for building configuration shells"; homepage = "https://github.com/agrover/configshell-fb"; platforms = stdenv.lib.platforms.linux; }; }; construct = buildPythonPackage rec { name = "construct-2.5.1"; src = fetchurl { url = "https://pypi.python.org/packages/source/c/construct/${name}.tar.gz"; sha256 = "08qksl87vr6g2wjxwsyrjh4w6v8bfmcgrcgln7irqvw5vv7qgqss"; }; propagatedBuildInputs = [ six ]; meta = with stdenv.lib; { description = "Powerful declarative parser (and builder) for binary data"; homepage = http://construct.readthedocs.org/; license = licenses.mit; platforms = platforms.linux; maintainers = [ maintainers.bjornfor ]; }; }; contextlib2 = buildPythonPackage rec { name = "contextlib2-0.4.0"; src = fetchurl rec { url = "https://pypi.python.org/packages/source/c/contextlib2/${name}.tar.gz"; md5 = "ea687207db25f65552061db4a2c6727d"; }; }; coverage = buildPythonPackage rec { name = "coverage-3.6"; src = fetchurl { url = "http://pypi.python.org/packages/source/c/coverage/${name}.tar.gz"; md5 = "67d4e393f4c6a5ffc18605409d2aa1ac"; }; meta = { description = "Code coverage measurement for python"; homepage = http://nedbatchelder.com/code/coverage/; license = licenses.bsd3; }; }; covCore = buildPythonPackage rec { name = "cov-core-1.7"; src = fetchurl { url = "http://pypi.python.org/packages/source/c/cov-core/cov-core-1.7.tar.gz"; md5 = "59c1e22e636633e10120beacbf45b28c"; }; meta = { description = "plugin core for use by pytest-cov, nose-cov and nose2-cov"; }; propagatedBuildInputs = [ pythonPackages.coverage ]; }; cython = buildPythonPackage rec { name = "Cython-0.20.1"; src = fetchurl { url = "http://www.cython.org/release/${name}.tar.gz"; sha256 = "0v3nc9z5ynnnjdgcgkyy5g9wazmkjv53nnpjal1v3mr199s6799i"; }; setupPyBuildFlags = ["--build-base=$out"]; buildInputs = [ pkgs.pkgconfig ]; meta = { description = "An interpreter to help writing C extensions for Python 2"; platforms = stdenv.lib.platforms.all; }; }; cryptacular = buildPythonPackage rec { name = "cryptacular-1.4.1"; buildInputs = [ coverage nose ]; propagatedBuildInputs = [ pbkdf2 modules.crypt ]; src = fetchurl { url = "http://pypi.python.org/packages/source/c/cryptacular/${name}.tar.gz"; md5 = "fe12232ac660185186dd8057d8ca7b0e"; }; # TODO: tests fail: TypeError: object of type 'NoneType' has no len() doCheck = false; meta = { maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }; detox = pythonPackages.buildPythonPackage rec { name = "detox-0.9.3"; propagatedBuildInputs = with pythonPackages; [ tox py eventlet ]; src = fetchurl { url = "https://pypi.python.org/packages/source/d/detox/detox-0.9.3.tar.gz"; md5 = "b52588ec61cd4c2d33e419677a5eac8c"; }; meta = with stdenv.lib; { description = "What is detox?"; homepage = http://bitbucket.org/hpk42/detox; }; }; pbkdf2 = buildPythonPackage rec { name = "pbkdf2-1.3"; src = fetchurl { url = "http://pypi.python.org/packages/source/p/pbkdf2/${name}.tar.gz"; md5 = "40cda566f61420490206597243dd869f"; }; # ImportError: No module named test doCheck = false; meta = { maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }; bcrypt = buildPythonPackage rec { name = "bcrypt-1.0.2"; src = fetchurl { url = "http://pypi.python.org/packages/source/b/bcrypt/${name}.tar.gz"; md5 = "c5df008669d17dd6eeb5e2042d5e136f"; }; buildInputs = [ pycparser mock pytest py ] ++ optionals (!isPyPy) [ cffi ]; meta = { maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }; cffi = buildPythonPackage rec { name = "cffi-0.7.2"; src = fetchurl { url = "http://pypi.python.org/packages/source/c/cffi/${name}.tar.gz"; md5 = "d329f5cb2053fd31dafc02e2c9ef0299"; }; propagatedBuildInputs = [ pkgs.libffi pycparser ]; meta = { maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }; pycollada = buildPythonPackage rec { name = "pycollada-0.4"; src = fetchurl { url = "http://pypi.python.org/packages/source/p/pycollada/${name}.tar.gz"; md5 = "5d0f00c035491b945cdccdfd8a698ad2"; }; # 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 = "Python library for reading and writing collada documents"; homepage = http://pycollada.github.io/; license = "BSD"; # they don't specify which BSD variant platforms = with platforms; linux ++ darwin; maintainers = [ maintainers.bjornfor ]; }; }; pycparser = buildPythonPackage rec { name = "pycparser-2.10"; src = fetchurl { url = "http://pypi.python.org/packages/source/p/pycparser/${name}.tar.gz"; md5 = "d87aed98c8a9f386aa56d365fe4d515f"; }; # ImportError: No module named test doCheck = false; meta = { maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }; pytest = buildPythonPackage rec { name = "pytest-2.6.2"; src = fetchurl { url = "http://pypi.python.org/packages/source/p/pytest/${name}.tar.gz"; md5 = "0a1735fb1d481ef3864f34678607ba85"; }; preCheck = '' # don't test bash builtins rm testing/test_argcomplete.py ''; propagatedBuildInputs = [ py ] ++ (optional isPy26 argparse) ++ stdenv.lib.optional pkgs.config.pythonPackages.pytest.selenium or false pythonPackages.selenium; meta = with stdenv.lib; { maintainers = with maintainers; [ iElectric lovek323 madjar ]; platforms = platforms.unix; }; }; pytest_xdist = buildPythonPackage rec { name = "pytest-xdist-1.8"; src = fetchurl { url = "https://pypi.python.org/packages/source/p/pytest-xdist/pytest-xdist-1.8.zip"; md5 = "9c0b8efe9d43b460f8cf049fa46ce14d"; }; buildInputs = [ pytest ]; propagatedBuildInputs = [ execnet ]; meta = { description = "py.test xdist plugin for distributed testing and loop-on-failing modes"; homepage = http://bitbucket.org/hpk42/pytest-xdist; }; }; cssselect = buildPythonPackage rec { name = "cssselect-0.7.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/c/cssselect/cssselect-0.7.1.tar.gz"; md5 = "c6c5e9a2e7ca226ce03f6f67a771379c"; }; # AttributeError: 'module' object has no attribute 'tests' doCheck = false; }; cssutils = buildPythonPackage (rec { name = "cssutils-0.9.9"; src = fetchurl { url = http://pypi.python.org/packages/source/c/cssutils/cssutils-0.9.9.zip; sha256 = "139yfm9yz9k33kgqw4khsljs10rkhhxyywbq9i82bh2r31cil1pp"; }; buildInputs = [ pythonPackages.mock ]; # couple of failing tests doCheck = false; meta = { description = "A Python package to parse and build CSS"; homepage = http://code.google.com/p/cssutils/; license = stdenv.lib.licenses.lgpl3Plus; }; }); darcsver = buildPythonPackage (rec { name = "darcsver-1.7.4"; disabled = isPy3k; src = fetchurl { url = "http://pypi.python.org/packages/source/d/darcsver/${name}.tar.gz"; sha256 = "1yb1c3jxqvy4r3qiwvnb86qi5plw6018h15r3yk5ji3nk54qdcb6"; }; buildInputs = [ pythonPackages.mock ]; # 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. # AttributeError: 'module' object has no attribute 'test_darcsver' doCheck = false; meta = { description = "Darcsver, generate a version number from Darcs history"; homepage = http://pypi.python.org/pypi/darcsver; license = "BSD-style"; }; }); dateutil = buildPythonPackage (rec { name = "dateutil-2.2"; src = fetchurl { url = "http://pypi.python.org/packages/source/p/python-dateutil/python-${name}.tar.gz"; sha256 = "0s74ad6r789810s10dxgvaf48ni6adac2icrdad34zxygqq6bj7f"; }; propagatedBuildInputs = [ pythonPackages.six ]; meta = { description = "Powerful extensions to the standard datetime module"; homepage = http://pypi.python.org/pypi/python-dateutil; license = "BSD-style"; }; }); # Buildbot 0.8.7p1 needs dateutil==1.5 dateutil_1_5 = buildPythonPackage (rec { name = "dateutil-1.5"; src = fetchurl { url = "http://pypi.python.org/packages/source/p/python-dateutil/python-${name}.tar.gz"; sha256 = "02dhw57jf5kjcp7ng1if7vdrbnlpb9yjmz7wygwwvf3gni4766bg"; }; propagatedBuildInputs = [ pythonPackages.six ]; meta = { description = "Powerful extensions to the standard datetime module"; homepage = http://pypi.python.org/pypi/python-dateutil; license = "BSD-style"; }; }); decorator = buildPythonPackage rec { name = "decorator-3.4.0"; src = fetchurl { url = "http://pypi.python.org/packages/source/d/decorator/${name}.tar.gz"; md5 = "1e8756f719d746e2fc0dd28b41251356"; }; meta = { homepage = http://pypi.python.org/pypi/decorator; }; }; deform = buildPythonPackage rec { name = "deform-0.9.9"; src = fetchurl { url = "http://pypi.python.org/packages/source/d/deform/${name}.tar.gz"; sha256 = "0ympsjhxz5v8h4hi1mv811h064221bh26d68l9hv1x6m7sxbxpd0"; }; buildInputs = [] ++ optional isPy26 unittest2; propagatedBuildInputs = [ pythonPackages.beautifulsoup4 pythonPackages.peppercorn pythonPackages.colander pythonPackages.translationstring pythonPackages.chameleon pythonPackages.zope_deprecation pythonPackages.coverage pythonPackages.nose ]; meta = { maintainers = [ stdenv.lib.maintainers.garbas stdenv.lib.maintainers.iElectric ]; platforms = stdenv.lib.platforms.all; }; }; deform2 = buildPythonPackage rec { name = "deform-2.0a2"; src = fetchurl { url = "http://pypi.python.org/packages/source/d/deform/${name}.tar.gz"; sha256 = "1gfaf1d8zp0mp4h229srlffxdp86w1nni9g4aqsshxysr23x591z"; }; buildInputs = [] ++ optional isPy26 unittest2; propagatedBuildInputs = [ pythonPackages.beautifulsoup4 pythonPackages.peppercorn pythonPackages.colander pythonPackages.translationstring pythonPackages.chameleon pythonPackages.zope_deprecation pythonPackages.coverage pythonPackages.nose ]; meta = { maintainers = [ stdenv.lib.maintainers.garbas stdenv.lib.maintainers.iElectric ]; platforms = stdenv.lib.platforms.all; }; }; deform_bootstrap = buildPythonPackage rec { name = "deform_bootstrap-0.2.9"; src = fetchurl { url = "http://pypi.python.org/packages/source/d/deform_bootstrap/${name}.tar.gz"; sha256 = "1hgq3vqsfqdmlyahnlc40w13viawhpzqf4jzigsggdb41x545fda"; }; propagatedBuildInputs = [ deform ]; meta = { maintainers = [ stdenv.lib.maintainers.iElectric ]; platforms = stdenv.lib.platforms.all; }; }; demjson = buildPythonPackage rec { name = "demjson-1.6"; src = fetchurl { url = "https://pypi.python.org/packages/source/d/demjson/${name}.tar.gz"; sha256 = "0abf7wqqq7rk1sycy47ayn5p93yy7gjq50cb2z69wmik1qqrr60x"; }; doCheck = false; # there are no tests preFixup = '' mkdir -p "$out/bin" cp jsonlint "$out/bin/" ''; meta = { description = "Encoder/decoder and lint/validator for JSON (JavaScript Object Notation)"; homepage = http://deron.meranda.us/python/demjson/; license = stdenv.lib.licenses.lgpl3Plus; maintainers = with stdenv.lib.maintainers; [ bjornfor ]; platforms = stdenv.lib.platforms.all; }; }; derpconf = pythonPackages.buildPythonPackage rec { name = "derpconf-0.4.9"; propagatedBuildInputs = [ six ]; src = fetchurl { url = "https://pypi.python.org/packages/source/d/derpconf/${name}.tar.gz"; md5 = "a164807d7bf0c4adf1de781305f29b82"; }; meta = { description = "derpconf abstracts loading configuration files for your app"; homepage = https://github.com/globocom/derpconf; license = licenses.mit; }; }; docker = buildPythonPackage rec { name = "docker-py-0.4.0"; src = fetchurl { url = "https://pypi.python.org/packages/source/d/docker-py/${name}.tar.gz"; md5 = "21ab8fd729105487e6423b654d6c0860"; }; propagatedBuildInputs = [ six requests websocket_client ]; # Version conflict doCheck = false; meta = { description = "An API client for docker written in Python"; homepage = https://github.com/docker/docker-py; license = licenses.asl20; }; }; dogpile_cache = buildPythonPackage rec { name = "dogpile.cache-0.5.4"; propagatedBuildInputs = [ dogpile_core ]; src = fetchurl { url = "https://pypi.python.org/packages/source/d/dogpile.cache/dogpile.cache-0.5.4.tar.gz"; md5 = "513b77ba1bd0c31bb15dd9dd0d8471af"; }; doCheck = false; meta = { description = "A caching front-end based on the Dogpile lock."; homepage = http://bitbucket.org/zzzeek/dogpile.cache; license = licenses.bsd3; }; }; dogpile_core = buildPythonPackage rec { name = "dogpile.core-0.4.1"; src = fetchurl { url = "https://pypi.python.org/packages/source/d/dogpile.core/dogpile.core-0.4.1.tar.gz"; md5 = "01cb19f52bba3e95c9b560f39341f045"; }; doCheck = false; meta = { description = "A 'dogpile' lock, typically used as a component of a larger caching solution"; homepage = http://bitbucket.org/zzzeek/dogpile.core; license = licenses.bsd3; }; }; dotfiles = buildPythonPackage rec { name = "dotfiles-0.6.3"; src = fetchurl { url = "https://pypi.python.org/packages/source/d/dotfiles/${name}.tar.gz"; md5 = "95a0792eb92a8fc0db8a7e59389470fe"; }; doCheck = true; meta = { description = "Easily manage your dotfiles"; homepage = https://github.com/jbernard/dotfiles; license = licenses.isc; }; }; dpkt = buildPythonPackage rec { name = "dpkt-1.8"; disabled = isPy3k; src = fetchurl { url = "https://dpkt.googlecode.com/files/${name}.tar.gz"; sha256 = "01q5prynymaqyfsfi2296xncicdpid2hs3yyasim8iigvkwy4vf5"; }; # error: invalid command 'test' doCheck = false; meta = with stdenv.lib; { description = "Fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols"; homepage = https://code.google.com/p/dpkt/; license = licenses.bsd3; maintainers = [ maintainers.bjornfor ]; platforms = stdenv.lib.platforms.all; }; }; urllib3 = buildPythonPackage rec { name = "urllib3-1.8"; src = fetchurl { url = "https://pypi.python.org/packages/source/u/urllib3/${name}.tar.gz"; sha256 = "0pdigfxkq8mhzxxsn6isx8c4h9azqywr1k18yanwyxyj8cdzm28s"; }; preConfigure = '' substituteInPlace test-requirements.txt --replace 'nose==1.3' 'nose' ''; checkPhase = '' nosetests --cover-min-percentage 70 ''; buildInputs = [ coverage tornado mock nose ]; meta = with stdenv.lib; { description = "A Python library for Dropbox's HTTP-based Core and Datastore APIs"; homepage = https://www.dropbox.com/developers/core/docs; license = licenses.mit; }; }; dropbox = buildPythonPackage rec { name = "dropbox-2.0.0"; doCheck = !isPy3k; # failures with hash randomization src = fetchurl { url = "https://pypi.python.org/packages/source/d/dropbox/${name}.zip"; sha256 = "1bi2z1lql6ryylfflmizhqn98ab55777vn7n5krhqz40pdcjilkx"; }; propagatedBuildInputs = [ urllib3 mock setuptools ]; meta = with stdenv.lib; { description = "A Python library for Dropbox's HTTP-based Core and Datastore APIs"; homepage = https://www.dropbox.com/developers/core/docs; license = licenses.mit; }; }; evdev = buildPythonPackage rec { version = "0.4.5"; name = "evdev-${version}"; disabled = isPy34; # see http://bugs.python.org/issue21121 src = fetchurl { url = "https://pypi.python.org/packages/source/e/evdev/${name}.tar.gz"; sha256 = "0w8ib3ab4mpfc1rvd335l8xkd41qbh3iyb0vfiiapgcfvqk74aq7"; }; buildInputs = [ pkgs.linuxHeaders ]; patchPhase = "sed -e 's#/usr/include/linux/input.h#${pkgs.linuxHeaders}/include/linux/input.h#' -i setup.py"; doCheck = false; meta = with stdenv.lib; { description = "Provides bindings to the generic input event interface in Linux"; homepage = http://pythonhosted.org/evdev; license = licenses.bsd3; maintainers = [ maintainers.goibhniu ]; platforms = stdenv.lib.platforms.linux; }; }; eyeD3 = buildPythonPackage rec { version = "0.7.4"; name = "eyeD3-${version}"; disabled = isPyPy; src = fetchurl { url = "http://eyed3.nicfit.net/releases/${name}.tgz"; sha256 = "001hzgqqnf2ig432mq78jsxidpky2rl2ilm28xwjp32vzphycf51"; }; buildInputs = [ paver ]; postInstall = '' for prog in "$out/bin/"*; do wrapProgram "$prog" --prefix PYTHONPATH : "$PYTHONPATH" done ''; meta = with stdenv.lib; { description = "A Python module and command line program for processing ID3 tags"; homepage = http://eyed3.nicfit.net/; license = licenses.gpl2; maintainers = with maintainers; [ lovek323 ]; platforms = platforms.unix; longDescription = '' eyeD3 is a Python module and command line program for processing ID3 tags. Information about mp3 files (i.e bit rate, sample frequency, play time, etc.) is also provided. The formats supported are ID3 v1.0/v1.1 and v2.3/v2.4. ''; }; }; execnet = buildPythonPackage rec { name = "execnet-1.1"; src = fetchurl { url = "https://pypi.python.org/packages/source/e/execnet/${name}.zip"; md5 = "be885ccd9612966bb81839670d2da099"; }; doCheck = !isPy3k; # failures.. meta = { description = "rapid multi-Python deployment"; license = stdenv.lib.licenses.gpl2; }; }; facebook-sdk = buildPythonPackage rec { name = "facebook-sdk-0.4.0"; disabled = isPy3k; src = fetchurl { url = "https://pypi.python.org/packages/source/f/facebook-sdk/facebook-sdk-0.4.0.tar.gz"; md5 = "ac9f38e197e54b8ba9f3a61988cc33b7"; }; meta = with pkgs.stdenv.lib; { description = "Client library that supports the Facebook Graph API and the official Facebook JavaScript SDK."; homepage = https://github.com/pythonforfacebook/facebook-sdk; license = licenses.asl20 ; }; }; faker = buildPythonPackage rec { name = "faker-0.0.4"; disabled = isPy3k; src = fetchurl { url = https://pypi.python.org/packages/source/F/Faker/Faker-0.0.4.tar.gz; sha256 = "09q5jna3j8di0gw5yjx0dvlndkrk2x9vvqzwyfsvg3nlp8h38js1"; }; buildInputs = [ nose ]; meta = with stdenv.lib; { description = "A Python library for generating fake user data."; homepage = http://pypi.python.org/pypi/Faker; license = licenses.mit; maintainers = with maintainers; [ lovek323 ]; platforms = platforms.unix; }; }; fake_factory = buildPythonPackage rec { name = "fake-factory-0.2"; src = fetchurl { url = https://pypi.python.org/packages/source/f/fake-factory/fake-factory-0.2.tar.gz; sha256 = "0qdmk8p4anrj9mf95dh9v7bkhv1pz69hvhlw380kj4iz7b44b6zn"; }; meta = with stdenv.lib; { description = "A Python package that generates fake data for you."; homepage = https://pypi.python.org/pypi/fake-factory; license = licenses.mit; maintainers = with maintainers; [ lovek323 ]; platforms = platforms.unix; }; }; fabric = buildPythonPackage rec { name = "fabric-${version}"; version = "1.9.1"; src = fetchurl { url = "https://pypi.python.org/packages/source/F/Fabric/Fabric-${version}.tar.gz"; sha256 = "103mzf0l15kyvw5nmf7bsdrqg6y3wpyxmkyl2h9lk7jxb5gdc9s1"; }; disabled = isPy3k; doCheck = (!isPyPy); # https://github.com/fabric/fabric/issues/11891 propagatedBuildInputs = [ paramiko pycrypto ]; buildInputs = [ fudge nose ]; }; fedora_cert = stdenv.mkDerivation (rec { name = "fedora-cert-0.5.9.2"; meta.maintainers = [ stdenv.lib.maintainers.mornfall ]; src = fetchurl { url = "https://fedorahosted.org/releases/f/e/fedora-packager/fedora-packager-0.5.9.2.tar.bz2"; sha256 = "105swvzshgn3g6bjwk67xd8pslnhpxwa63mdsw6cl4c7cjp2blx9"; }; propagatedBuildInputs = [ python python_fedora wrapPython ]; postInstall = "mv $out/bin/fedpkg $out/bin/fedora-cert-fedpkg"; doCheck = false; postFixup = "wrapPythonPrograms"; }); fedpkg = buildPythonPackage (rec { name = "fedpkg-1.14"; meta.maintainers = [ stdenv.lib.maintainers.mornfall ]; src = fetchurl { url = "https://fedorahosted.org/releases/f/e/fedpkg/fedpkg-1.14.tar.bz2"; sha256 = "0rj60525f2sv34g5llafnkmpvbwrfbmfajxjc14ldwzymp8clc02"; }; patches = [ ../development/python-modules/fedpkg-buildfix.diff ]; propagatedBuildInputs = [ rpkg offtrac urlgrabber fedora_cert ]; }); fudge = buildPythonPackage rec { name = "fudge-0.9.4"; src = fetchurl { url = https://pypi.python.org/packages/source/f/fudge/fudge-0.9.4.tar.gz; sha256 = "03sj2x6mpzm48swpa4hnn1gi6yilgniyjfg1ylz95wm1ijggi33w"; }; buildInputs = [ nose nosejs ]; propagatedBuildInputs = [ sphinx ]; }; funcparserlib = buildPythonPackage rec { name = "funcparserlib-0.3.6"; src = fetchurl { url = "https://pypi.python.org/packages/source/f/funcparserlib/${name}.tar.gz"; md5 = "3aba546bdad5d0826596910551ce37c0"; }; meta = with stdenv.lib; { description = "Recursive descent parsing library based on functional combinators"; homepage = https://code.google.com/p/funcparserlib/; license = licenses.mit; platforms = platforms.linux; }; }; singledispatch = buildPythonPackage rec { name = "singledispatch-3.4.0.3"; propagatedBuildInputs = [ six ]; src = fetchurl { url = "https://pypi.python.org/packages/source/s/singledispatch/${name}.tar.gz"; md5 = "af2fc6a3d6cc5a02d0bf54d909785fcb"; }; meta = with stdenv.lib; { homepage = http://docs.python.org/3/library/functools.html; }; }; gcutil = buildPythonPackage rec { name = "gcutil-1.15.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 = "12c98ivhjr01iz6lkga574xm8p0bsil6arydvpblyw8sjkgim5sq"; }; patchPhase = '' substituteInPlace setup.py --replace "httplib2==0.8" "httplib2" ''; propagatedBuildInputs = [ gflags iso8601_0_1_4 ipaddr httplib2 google_apputils google_api_python_client ]; }; gitdb = buildPythonPackage rec { name = "gitdb-0.5.4"; meta.maintainers = [ stdenv.lib.maintainers.mornfall ]; doCheck = false; src = fetchurl { url = "https://pypi.python.org/packages/source/g/gitdb/${name}.tar.gz"; sha256 = "10rpmmlln59aq44cd5vkb77hslak5pa1rbmigg6ski5f1nn2spfy"; }; propagatedBuildInputs = [ smmap async ]; }; GitPython = buildPythonPackage rec { name = "GitPython-0.3.2"; meta.maintainers = [ stdenv.lib.maintainers.mornfall ]; src = fetchurl { url = "https://pypi.python.org/packages/source/G/GitPython/GitPython-0.3.2.RC1.tar.gz"; sha256 = "1q4lc2ps12l517mmrxc8iq6gxyhj6d77bnk1p7mxf38d99l8crzx"; }; buildInputs = [ nose ]; propagatedBuildInputs = [ gitdb ]; }; googlecl = buildPythonPackage rec { version = "0.9.14"; name = "googlecl-${version}"; disabled = isPy3k; src = fetchurl { url = "https://googlecl.googlecode.com/files/${name}.tar.gz"; sha256 = "0nnf7xkr780wivr5xnchfcrahlzy9bi2dxcs1w1bh1014jql0iha"; }; meta = with stdenv.lib; { description = "Brings Google services to the command line."; homepage = "https://code.google.com/p/googlecl/"; license = licenses.asl20; maintainers = with maintainers; [ lovek323 ]; platforms = platforms.unix; }; propagatedBuildInputs = [ gdata ]; }; gtimelog = buildPythonPackage rec { name = "gtimelog-${version}"; version = "0.9.1"; disabled = isPy26; src = fetchurl { url = "https://github.com/gtimelog/gtimelog/archive/${version}.tar.gz"; sha256 = "0qk8fv8cszzqpdi3wl9vvkym1jil502ycn6sic4jrxckw5s9jsfj"; }; preBuild = '' export LOCALE_ARCHIVE=${localePath} export LC_ALL="en_US.UTF-8" ''; # TODO: AppIndicator propagatedBuildInputs = [ pkgs.gobjectIntrospection pygobject3 pkgs.makeWrapper pkgs.gtk3 ]; checkPhase = '' substituteInPlace runtests --replace "/usr/bin/env python" "${python}/bin/${python.executable}" ./runtests ''; preFixup = '' wrapProgram $out/bin/gtimelog \ --prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \ --prefix LD_LIBRARY_PATH ":" "${pkgs.gtk3}/lib" \ ''; meta = with stdenv.lib; { description = "A small Gtk+ app for keeping track of your time. It's main goal is to be as unintrusive as possible"; homepage = http://mg.pov.lt/gtimelog/; license = licenses.gpl2Plus; maintainers = [ maintainers.ocharles ]; platforms = platforms.unix; }; }; itsdangerous = buildPythonPackage rec { name = "itsdangerous-0.24"; src = fetchurl { url = "https://pypi.python.org/packages/source/i/itsdangerous/${name}.tar.gz"; sha256 = "06856q6x675ly542ig0plbqcyab6ksfzijlyf1hzhgg3sgwgrcyb"; }; meta = with stdenv.lib; { description = "helpers to pass trusted data to untrusted environments and back"; homepage = "https://pypi.python.org/pypi/itsdangerous/"; }; }; jsonwatch = buildPythonPackage rec { name = "jsonwatch-0.2.0"; disabled = isPyPy; # doesn't find setuptools src = fetchurl { url = "https://github.com/dbohdan/jsonwatch/archive/v0.2.0.tar.gz"; sha256 = "04b616ef97b9d8c3887004995420e52b72a4e0480a92dbf60aa6c50317261e06"; }; propagatedBuildInputs = [ six ]; meta = { description = "Like watch -d but for JSON"; longDescription = '' jsonwatch is a command line utility with which you can track changes in JSON data delivered by a shell command or a web (HTTP/HTTPS) API. jsonwatch requests data from the designated source repeatedly at a set interval and displays the differences when the data changes. It is similar in its behavior to how watch(1) with the -d switch works for plain-text data. ''; homepage = "https://github.com/dbohdan/jsonwatch"; license = stdenv.lib.licenses.mit; platforms = stdenv.lib.platforms.all; }; }; logilab_astng = buildPythonPackage rec { name = "logilab-astng-0.24.3"; src = fetchurl { url = "http://download.logilab.org/pub/astng/${name}.tar.gz"; sha256 = "0np4wpxyha7013vkkrdy54dvnil67gzi871lg60z8lap0l5h67wn"; }; propagatedBuildInputs = [ logilab_common ]; }; logster = buildPythonPackage { name = "logster-7475c53822"; src = fetchgit { url = git://github.com/etsy/logster; rev = "7475c53822"; sha256 = "1ls007qmziwb50c5iikxhqin0xbn673gbd25m5k09861435cknvr"; }; }; paver = buildPythonPackage rec { version = "1.2.2"; name = "Paver-${version}"; src = fetchurl { url = "https://pypi.python.org/packages/source/P/Paver/Paver-${version}.tar.gz"; sha256 = "0lix9d33ndb3yk56sm1zlj80fbmxp0w60yk0d9pr2xqxiwi88sqy"; }; buildInputs = [ cogapp mock virtualenv ]; propagatedBuildInputs = [ nose ]; # the tests do not pass doCheck = false; meta = with stdenv.lib; { description = "A Python-based build/distribution/deployment scripting tool"; homepage = http://github.com/paver/paver; matinainers = with maintainers; [ lovek323 ]; platforms = platforms.unix; }; }; peppercorn = buildPythonPackage rec { name = "peppercorn-0.4"; src = fetchurl { url = "http://pypi.python.org/packages/source/p/peppercorn/${name}.tar.gz"; md5 = "464d6f2342eaf704dfb52046c1f5c320"; }; meta = { maintainers = [ stdenv.lib.maintainers.garbas stdenv.lib.maintainers.iElectric ]; platforms = stdenv.lib.platforms.all; }; }; pew = buildPythonPackage rec { name = "pew-0.1.9"; src = fetchurl { url = "https://pypi.python.org/packages/source/p/pew/${name}.tar.gz"; md5 = "90a82400074b50a9e73c3045ed9ac217"; }; propagatedBuildInputs = [ virtualenv virtualenv-clone ]; meta = with stdenv.lib; { description = "Tools to manage multiple virtualenvs written in pure python, a virtualenvwrapper rewrite"; license = licenses.mit; platforms = platforms.all; }; }; pudb = buildPythonPackage rec { name = "pudb-2013.3.6"; src = fetchurl { url = "https://pypi.python.org/packages/source/p/pudb/${name}.tar.gz"; md5 = "063030763bf914166a0b2bc8c011143b"; }; propagatedBuildInputs = [ pythonPackages.pygments pythonPackages.urwid ]; meta = with stdenv.lib; { description = "A full-screen, console-based Python debugger"; license = licenses.mit; platforms = platforms.all; }; }; pyramid = buildPythonPackage rec { name = "pyramid-1.5.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/p/pyramid/${name}.tar.gz"; md5 = "8a1ab3b773d8e22437828f7df22852c1"; }; preCheck = '' # test is failing, see https://github.com/Pylons/pyramid/issues/1405 rm pyramid/tests/test_response.py ''; buildInputs = [ docutils virtualenv webtest zope_component zope_interface ] ++ optional isPy26 unittest2; 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 = "pyramid_beaker-0.7"; src = fetchurl { url = "http://pypi.python.org/packages/source/p/pyramid_beaker/${name}.tar.gz"; md5 = "acb863517a98b90b5f29648ce55dd563"; }; propagatedBuildInputs = [ beaker pyramid ]; meta = { maintainers = [ stdenv.lib.maintainers.iElectric ]; platforms = stdenv.lib.platforms.all; }; }; pyramid_chameleon = buildPythonPackage rec { name = "pyramid_chameleon-0.3"; src = pkgs.fetchurl { url = "https://pypi.python.org/packages/source/p/pyramid_chameleon/${name}.tar.gz"; md5 = "5bb5938356dfd13fce06e095f132e137"; }; propagatedBuildInputs = [ chameleon pyramid zope_interface setuptools ]; meta = with stdenv.lib; { maintainers = [ maintainers.iElectric ]; }; }; pyramid_jinja2 = buildPythonPackage rec { name = "pyramid_jinja2-1.9"; src = fetchurl { url = "http://pypi.python.org/packages/source/p/pyramid_jinja2/${name}.zip"; md5 = "a6728117cad24749ddb39d2827cd9033"; }; buildInputs = [ webtest ]; propagatedBuildInputs = [ jinja2 pyramid ]; meta = { maintainers = [ stdenv.lib.maintainers.iElectric ]; platforms = stdenv.lib.platforms.all; }; }; pyramid_debugtoolbar = buildPythonPackage rec { name = "pyramid_debugtoolbar-1.0.9"; src = fetchurl { url = "http://pypi.python.org/packages/source/p/pyramid_debugtoolbar/${name}.tar.gz"; sha256 = "1vnzg1qnnyisv7znxg7pasayfyr3nz7rrs5nqr4fmdgwj9q2pyv0"; }; buildInputs = [ ]; propagatedBuildInputs = [ pyramid pyramid_mako ]; }; pyramid_mako = buildPythonPackage rec { name = "pyramid_mako-0.3.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/p/pyramid_mako/${name}.tar.gz"; sha256 = "00811djmsc4rz20kpy2paam05fbx6dmrv2i5jf90f6xp6zw4isy6"; }; buildInputs = [ webtest ]; propagatedBuildInputs = [ pyramid Mako ]; }; pyramid_exclog = buildPythonPackage rec { name = "pyramid_exclog-0.7"; src = fetchurl { url = "http://pypi.python.org/packages/source/p/pyramid_exclog/${name}.tar.gz"; md5 = "05df86758b0d30ee6f8339ff36cef7a0"; }; propagatedBuildInputs = [ pyramid ]; meta = { maintainers = [ stdenv.lib.maintainers.garbas stdenv.lib.maintainers.iElectric ]; platforms = stdenv.lib.platforms.all; }; }; pyramid_tm = buildPythonPackage rec { name = "pyramid_tm-0.7"; src = fetchurl { url = "http://pypi.python.org/packages/source/p/pyramid_tm/${name}.tar.gz"; md5 = "6dc917d262c69366630c542bd21859a3"; }; # tests are failing in version 0.7 but are fixed in trunk doCheck = false; propagatedBuildInputs = [ transaction pyramid ]; meta = { maintainers = [ stdenv.lib.maintainers.garbas stdenv.lib.maintainers.iElectric stdenv.lib.maintainers.matejc ]; platforms = stdenv.lib.platforms.all; }; }; pyramid_multiauth = buildPythonPackage rec { name = "pyramid_multiauth-${version}"; version = "0.3.2"; src = fetchurl { url = "https://pypi.python.org/packages/source/p/pyramid_multiauth/${name}.tar.gz"; md5 = "044e423abc4fb76937ac0c21c1205e9c"; }; propagatedBuildInputs = [ pyramid ]; meta = with stdenv.lib; { description = "Authentication policy for Pyramid that proxies to a stack of other authentication policies"; homepage = https://github.com/mozilla-services/pyramid_multiauth; }; }; radicale = buildPythonPackage rec { name = "radicale-${version}"; namePrefix = ""; version = "0.9"; src = fetchurl { url = "http://pypi.python.org/packages/source/R/Radicale/Radicale-${version}.tar.gz"; sha256 = "77bf813fd26f0d359c1a7b7bcce9b842b4503c5516989a4a0a4f648e299e41f7"; }; propagatedBuildInputs = with pythonPackages; [ flup ldap sqlalchemy ]; doCheck = false; meta = { homepage = "http://www.radicale.org/"; description = "CalDAV CardDAV server"; 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 ]; }; }; raven = buildPythonPackage rec { name = "raven-3.4.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/r/raven/${name}.tar.gz"; md5 = "6a9264133bf646149ffb9118d81445be"; }; # way too many dependencies to run tests # see https://github.com/getsentry/raven-python/blob/master/setup.py doCheck = false; meta = { maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }; hypatia = buildPythonPackage rec { name = "hypatia-0.3"; src = fetchurl { url = "http://pypi.python.org/packages/source/h/hypatia/${name}.tar.gz"; md5 = "d74c6dda31ff459a39fa5da9e98f2425"; }; buildInputs = [ zope_interface zodb ]; meta = { maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }; zope_copy = buildPythonPackage rec { name = "zope.copy-4.0.2"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.copy/${name}.zip"; md5 = "36aa2c96dec4cfeea57f54da2b733eb9"; }; buildInputs = [ zope_interface zope_location zope_schema ]; meta = { maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }; statsd = buildPythonPackage rec { name = "statsd-2.0.2"; src = fetchurl { url = "http://pypi.python.org/packages/source/s/statsd/${name}.tar.gz"; md5 = "476ef5b9004f6e2cb25c7da440bb53d0"; }; buildInputs = [ ]; meta = { maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }; pyramid_zodbconn = buildPythonPackage rec { name = "pyramid_zodbconn-0.7"; src = fetchurl { url = "http://pypi.python.org/packages/source/p/pyramid_zodbconn/${name}.tar.gz"; md5 = "3c7746a227fbcda3e138ab8bfab7700b"; }; # should be fixed in next release doCheck = false; buildInputs = [ pyramid mock ]; propagatedBuildInputs = [ zodb zodburi ]; meta = { maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }; pyramid_mailer = buildPythonPackage rec { name = "pyramid_mailer-0.13"; src = fetchurl { url = "http://pypi.python.org/packages/source/p/pyramid_mailer/${name}.tar.gz"; md5 = "43800c7c894097a23140da58e3638c93"; }; buildInputs = [ pyramid transaction ]; propagatedBuildInputs = [ repoze_sendmail ]; meta = { maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }; pyrtlsdr = buildPythonPackage rec { name = "pyrtlsdr-0.2.0"; src = fetchurl { url = "http://pypi.python.org/packages/source/p/pyrtlsdr/${name}.zip"; md5 = "646336675a00d38e6f54e77a17011b95"; }; postPatch = '' sed "s|driver_files =.*|driver_files = ['${pkgs.rtl-sdr}/lib/librtlsdr.so']|" -i rtlsdr/librtlsdr.py ''; meta = with stdenv.lib; { description = "Python wrapper for librtlsdr (a driver for Realtek RTL2832U based SDR's)"; homepage = https://github.com/roger-/pyrtlsdr; license = licenses.gpl3; platforms = platforms.linux; maintainers = [ maintainers.bjornfor ]; }; }; repoze_sendmail = buildPythonPackage rec { name = "repoze.sendmail-4.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/r/repoze.sendmail/${name}.tar.gz"; md5 = "81d15f1f03cc67d6f56f2091c594ef57"; }; buildInputs = [ transaction ]; meta = { maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }; zodburi = buildPythonPackage rec { name = "zodburi-2.0"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zodburi/${name}.tar.gz"; md5 = "7876893829c2f784506c80d49f861b67"; }; buildInputs = [ zodb mock ZEO ]; meta = { maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }; ZEO = pythonPackages.buildPythonPackage rec { name = "ZEO-4.0.0"; propagatedBuildInputs = [ random2 zodb six transaction persistent zc_lockfile zconfig zdaemon zope_interface ]; src = fetchurl { url = "https://pypi.python.org/packages/source/Z/ZEO/${name}.tar.gz"; md5 = "494d8320549185097ba4a6b6b76017d6"; }; meta = with stdenv.lib; { homepage = https://pypi.python.org/pypi/ZEO; }; }; random2 = pythonPackages.buildPythonPackage rec { name = "random2-1.0.1"; doCheck = !isPyPy; src = fetchurl { url = "https://pypi.python.org/packages/source/r/random2/${name}.zip"; md5 = "48a0a86fe00e447212d0095de8cf3e21"; }; }; substanced = buildPythonPackage rec { # no release yet rev = "089818bc61c3dc5eca023254e37a280b041ea8cc"; name = "substanced-${rev}"; src = fetchgit { inherit rev; url = "https://github.com/Pylons/substanced.git"; sha256 = "17s7sdvydw9a9d2d36c70lq962ryny3dv9nzdxqpfvwiry9iy3jx"; }; buildInputs = [ mock ]; propagatedBuildInputs = [ pyramid pytz zodb venusian colander deform2 python_magic pyyaml cryptacular hypatia zope_copy zope_component zope_deprecation statsd pyramid_zodbconn pyramid_mailer pyramid_chameleon ZEO ]; meta = with stdenv.lib; { maintainers = [ maintainers.iElectric ]; }; }; repoze_lru = buildPythonPackage rec { name = "repoze.lru-0.6"; src = fetchurl { url = "http://pypi.python.org/packages/source/r/repoze.lru/${name}.tar.gz"; md5 = "2c3b64b17a8e18b405f55d46173e14dd"; }; meta = { maintainers = [ stdenv.lib.maintainers.garbas stdenv.lib.maintainers.iElectric ]; platforms = stdenv.lib.platforms.all; }; }; repoze_sphinx_autointerface = buildPythonPackage rec { name = "repoze.sphinx.autointerface-0.7.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/r/repoze.sphinx.autointerface/${name}.tar.gz"; md5 = "f2fee996ae28dc16eb48f1a3e8f64801"; }; propagatedBuildInputs = [ zope_interface sphinx ]; meta = { maintainers = [ stdenv.lib.maintainers.iElectric ]; platforms = stdenv.lib.platforms.all; }; }; rtmidi = buildPythonPackage rec { version = "0.3a"; name = "rtmidi-${version}"; src = fetchurl { url = "http://chrisarndt.de/projects/python-rtmidi/download/python-${name}.tar.bz2"; sha256 = "0d2if633m3kbiricd5hgn1csccd8xab6lnab1bq9prdr9ks9i8h6"; }; preConfigure = '' sed -i "/use_setuptools/d" setup.py ''; buildInputs = [ pkgs.alsaLib pkgs.jack2 ]; meta = with stdenv.lib; { description = "A Python wrapper for the RtMidi C++ library written with Cython"; homepage = http://trac.chrisarndt.de/code/wiki/python-rtmidi; license = licenses.mit; maintainers = [ maintainers.goibhniu ]; }; }; zope_tales = buildPythonPackage rec { name = "zope.tales-4.0.2"; propagatedBuildInputs = [ zope_interface six zope_testrunner ]; src = fetchurl { url = "https://pypi.python.org/packages/source/z/zope.tales/${name}.zip"; md5 = "902b03a5f9774f6e2decf3f06d18a09d"; }; }; zope_deprecation = buildPythonPackage rec { name = "zope.deprecation-3.5.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.deprecation/${name}.tar.gz"; md5 = "836cfea5fad548cd5a0d9af1300ec05e"; }; buildInputs = [ zope_testing ]; meta = { maintainers = [ stdenv.lib.maintainers.garbas stdenv.lib.maintainers.iElectric ]; platforms = stdenv.lib.platforms.all; }; }; venusian = buildPythonPackage rec { name = "venusian-1.0a7"; src = fetchurl { url = "http://pypi.python.org/packages/source/v/venusian/${name}.tar.gz"; md5 = "6f67506dd3cf77116f1c01682a6c3f27"; }; # TODO: https://github.com/Pylons/venusian/issues/23 doCheck = false; meta = { maintainers = [ stdenv.lib.maintainers.garbas stdenv.lib.maintainers.iElectric ]; platforms = stdenv.lib.platforms.all; }; }; chameleon = buildPythonPackage rec { name = "Chameleon-2.15"; src = fetchurl { url = "http://pypi.python.org/packages/source/C/Chameleon/${name}.tar.gz"; md5 = "0214647152fcfcb9ce357624f8f9f203"; }; buildInputs = [] ++ optionals isPy26 [ ordereddict unittest2 ]; # 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; }; }; distutils_extra = buildPythonPackage rec { name = "distutils-extra-2.26"; src = fetchurl { url = "http://launchpad.net/python-distutils-extra/trunk/2.26/+download/python-${name}.tar.gz"; md5 = "7caded30a45907b5cdb10ac4182846eb"; }; meta = { homepage = https://launchpad.net/python-distutils-extra; description = "Enhancements to Python's distutils"; }; }; deluge = buildPythonPackage rec { name = "deluge-1.3.7"; src = fetchurl { url = "http://download.deluge-torrent.org/source/${name}.tar.bz2"; sha256 = "07m5lgkqymlh0810bk2f5l0k83n51xb3gszj11sr509jgbnxjnmm"; }; propagatedBuildInputs = with pkgs; [ pyGtkGlade libtorrentRasterbar twisted Mako chardet pyxdg pyopenssl modules.curses ]; postInstall = '' cp -R deluge/data/share $out/share cp -R deluge/data/pixmaps $out/share/ cp -R deluge/data/icons $out/share/ ''; meta = { homepage = http://deluge-torrent.org; description = "Torrent client"; license = stdenv.lib.licenses.gpl3Plus; maintainers = [ stdenv.lib.maintainers.iElectric ]; platforms = stdenv.lib.platforms.all; }; }; pyxdg = buildPythonPackage rec { name = "pyxdg-0.25"; src = fetchurl { url = "http://pypi.python.org/packages/source/p/pyxdg/${name}.tar.gz"; md5 = "bedcdb3a0ed85986d40044c87f23477c"; }; # error: invalid command 'test' doCheck = false; meta = { homepage = http://freedesktop.org/wiki/Software/pyxdg; description = "Contains implementations of freedesktop.org standards"; license = stdenv.lib.licenses.lgpl2; maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }; chardet = buildPythonPackage rec { name = "chardet-2.1.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/c/chardet/${name}.tar.gz"; md5 = "295367fd210d20f3febda615a88e1ef0"; }; meta = { homepage = https://github.com/erikrose/chardet; description = "Universal encoding detector"; license = stdenv.lib.licenses.lgpl2; maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }; django = django_1_6; django_1_6 = buildPythonPackage rec { name = "Django-${version}"; version = "1.6.6"; src = fetchurl { url = "http://www.djangoproject.com/m/releases/1.6/${name}.tar.gz"; sha256 = "143yp984n8a2bs1dflxjp1s7skmji0cwkw05s9ikbfikwmabsv2k"; }; # error: invalid command 'test' doCheck = false; meta = { description = "A high-level Python Web framework"; homepage = https://www.djangoproject.com/; }; }; django_1_5 = buildPythonPackage rec { name = "Django-${version}"; version = "1.5.9"; src = fetchurl { url = "http://www.djangoproject.com/m/releases/1.5/${name}.tar.gz"; sha256 = "1lm0pa6m9f4cd6pv239lqj32z1snf8xjbvlbh8bqihs6a1f51kj7"; }; # error: invalid command 'test' doCheck = false; meta = { description = "A high-level Python Web framework"; homepage = https://www.djangoproject.com/; }; }; django_1_4 = buildPythonPackage rec { name = "Django-${version}"; version = "1.4.14"; src = fetchurl { url = "http://www.djangoproject.com/m/releases/1.4/${name}.tar.gz"; sha256 = "173ci9ml2vs1z2x51wahssfn8mrmhd02varmg9kibm8z460svvc1"; }; # error: invalid command 'test' doCheck = false; meta = { description = "A high-level Python Web framework"; homepage = https://www.djangoproject.com/; }; }; django_1_3 = buildPythonPackage rec { name = "Django-1.3.7"; src = fetchurl { url = "http://www.djangoproject.com/m/releases/1.3/${name}.tar.gz"; sha256 = "12pv8y2x3fhrcrjayfm6z40r57iwchfi5r19ajs8q8z78i3z8l7f"; }; # error: invalid command 'test' doCheck = false; meta = { description = "A high-level Python Web framework"; homepage = https://www.djangoproject.com/; }; }; django_evolution = buildPythonPackage rec { name = "django_evolution-0.6.9"; disabled = isPy3k; src = fetchurl { url = "http://downloads.reviewboard.org/releases/django-evolution/${name}.tar.gz"; md5 = "c0d7d10bc41898c88b14d434c48766ff"; }; propagatedBuildInputs = [ django_1_5 ]; meta = { description = "A database schema evolution tool for the Django web framework"; homepage = http://code.google.com/p/django-evolution/; }; }; django_tagging = buildPythonPackage rec { name = "django-tagging-0.3.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/d/django-tagging/${name}.tar.gz"; md5 = "a0855f2b044db15f3f8a025fa1016ddf"; }; # error: invalid command 'test' doCheck = false; propagatedBuildInputs = [ django_1_3 ]; meta = { description = "A generic tagging application for Django projects"; homepage = http://code.google.com/p/django-tagging/; }; }; djblets = buildPythonPackage rec { name = "Djblets-0.6.28"; src = fetchurl { url = "http://downloads.reviewboard.org/releases/Djblets/0.6/${name}.tar.gz"; sha256 = "11fsi911cqkjgv9j7646ljc2fgxsdfyq44kzmv01xhysm50fn6xx"; }; propagatedBuildInputs = [ pil django_1_3 feedparser ]; meta = { description = "A collection of useful extensions for Django"; homepage = https://github.com/djblets/djblets; }; }; dulwich = buildPythonPackage rec { name = "dulwich-${version}"; version = "0.9.7"; src = fetchurl { url = "https://pypi.python.org/packages/source/d/dulwich/${name}.tar.gz"; sha256 = "1wq083g9b1xsk89kb0wwpi4mxy63x6760vn9x5sk1fx36h27prqj"; }; # Only test dependencies buildInputs = [ pkgs.git gevent geventhttpclient mock fastimport ]; meta = with stdenv.lib; { description = "Simple Python implementation of the Git file formats and protocols."; homepage = http://samba.org/~jelmer/dulwich/; license = licenses.gpl2Plus; maintainers = [ maintainers.koral ]; }; }; hg-git = buildPythonPackage rec { name = "hg-git-${version}"; version = "0.6.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/h/hg-git/${name}.tar.gz"; sha256 = "136kz4w377ldcjdg865azi8aym0xnxzxl3rycnflgay26ar1309s"; }; propagatedBuildInputs = [ pkgs.mercurial dulwich ]; meta = with stdenv.lib; { description = "Push and pull from a Git server using Mercurial."; homepage = http://hg-git.github.com/; maintainers = [ maintainers.koral ]; }; }; docutils = buildPythonPackage rec { name = "docutils-0.11"; src = fetchurl { url = "mirror://sourceforge/docutils/${name}.tar.gz"; sha256 = "1jbybs5a396nrjy9m13pgvsxdwaj7jw7nsawkhl4fi1nvxm1dx4s"; }; # error: invalid command 'test' doCheck = false; meta = { homepage = http://docutils.sourceforge.net/; description = "Docutils is an open-source text processing system for processing plaintext documentation into useful formats, such as HTML or LaTeX."; }; }; doxypy = buildPythonPackage rec { name = "doxypy-0.4.2"; src = fetchurl { url = "http://code.foosel.org/files/${name}.tar.gz"; sha256 = "1afmb30zmy7942b53qa5vd3js883wwqqls35n8xfb3rnj0qnll8g"; }; meta = { homepage = http://code.foosel.org/doxypy; description = "An input filter for Doxygen"; }; doCheck = false; }; dtopt = buildPythonPackage rec { name = "dtopt-0.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/d/dtopt/${name}.tar.gz"; md5 = "9a41317149e926fcc408086aedee6bab"; }; meta = { description = "Add options to doctest examples while they are running"; homepage = http://pypi.python.org/pypi/dtopt; }; }; ecdsa = buildPythonPackage rec { name = "ecdsa-${version}"; version = "0.10"; src = fetchurl { url = "http://pypi.python.org/packages/source/e/ecdsa/${name}.tar.gz"; md5 = "e95941b3bcbf1726472bb724d7478551"; }; # Only needed for tests buildInputs = [ pkgs.openssl ]; meta = { description = "ECDSA cryptographic signature library"; homepage = "https://github.com/warner/python-ecdsa"; license = stdenv.lib.licenses.mit; maintainers = [ stdenv.lib.maintainers.aszlig ]; }; }; elpy = buildPythonPackage rec { name = "elpy-1.0.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/e/elpy/elpy-1.0.1.tar.gz"; md5 = "5453f085f7871ed8fc11d51f0b68c785"; }; buildInputs = [ ]; propagatedBuildInputs = [ flake8 ]; doCheck = false; # there are no tests meta = { description = "Backend for the elpy Emacs mode"; homepage = "https://github.com/jorgenschaefer/elpy"; }; }; enum = buildPythonPackage rec { name = "enum-0.4.4"; disabled = isPy3k; src = fetchurl { url = "http://pypi.python.org/packages/source/e/enum/${name}.tar.gz"; md5 = "ce75c7c3c86741175a84456cc5bd531e"; }; doCheck = !isPyPy; buildInputs = [ ]; propagatedBuildInputs = [ ]; meta = { homepage = http://pypi.python.org/pypi/enum/; description = "Robust enumerated type support in Python."; }; }; enum34 = buildPythonPackage rec { name = "enum34-1.0"; src = fetchurl { url = "http://pypi.python.org/packages/source/e/enum34/${name}.tar.gz"; md5 = "9d57f5454c70c11707998ea26c1b0a7c"; }; }; epc = buildPythonPackage rec { name = "epc-0.0.3"; src = fetchurl { url = "http://pypi.python.org/packages/source/e/epc/${name}.tar.gz"; md5 = "04a93c0cd32b496969ead09f414dac74"; }; propagatedBuildInputs = [ sexpdata ]; doCheck = false; meta = { description = "EPC (RPC stack for Emacs Lisp) implementation in Python"; homepage = "https://github.com/tkf/python-epc"; }; }; eventlet = buildPythonPackage rec { name = "eventlet-0.15.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/e/eventlet/${name}.tar.gz"; md5 = "7155780824bb6344651a573838416f21"; }; buildInputs = [ nose httplib2 ]; propagatedBuildInputs = optionals (!isPyPy) [ greenlet ]; PYTHON_EGG_CACHE = "`pwd`/.egg-cache"; doCheck = false; # !!! fix; tests access the network meta = { homepage = http://pypi.python.org/pypi/eventlet/; description = "A concurrent networking library for Python"; }; }; fastimport = buildPythonPackage rec { name = "fastimport-${version}"; version = "0.9.4"; src = fetchurl { url = "https://pypi.python.org/packages/source/f/fastimport/${name}.tar.gz"; sha256 = "0k8x7552ypx9rc14vbsvg2lc6z0r8pv9laah28pdwyynbq10825d"; }; meta = with stdenv.lib; { homepage = https://launchpad.net/python-fastimport; description = "VCS fastimport/fastexport parser"; maintainers = [ maintainers.koral ]; license = licenses.gpl2Plus; }; }; feedgenerator = buildPythonPackage (rec { name = "feedgenerator-1.7"; src = fetchurl { url = "https://pypi.python.org/packages/source/f/feedgenerator/${name}.tar.gz"; md5 = "92978492871342ad64e8ae0ccfcf200c"; }; preConfigure = '' export LOCALE_ARCHIVE=${pkgs.glibcLocales}/lib/locale/locale-archive export LC_ALL="en_US.UTF-8" ''; propagatedBuildInputs = [ six pytz ]; meta = { homepage = https://github.com/dmdm/feedgenerator-py3k.git; description = "Standalone version of django.utils.feedgenerator, compatible with Py3k"; }; }); feedparser = buildPythonPackage (rec { name = "feedparser-5.1.3"; src = fetchurl { url = "http://pypi.python.org/packages/source/f/feedparser/${name}.tar.gz"; md5 = "f2253de78085a1d5738f626fcc1d8f71"; }; meta = { homepage = http://code.google.com/p/feedparser/; description = "Universal feed parser"; license = stdenv.lib.licenses.bsd2; maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }); flake8 = buildPythonPackage (rec { name = "flake8-2.1.0"; src = fetchurl { url = "http://pypi.python.org/packages/source/f/flake8/${name}.tar.gz"; md5 = "cf326cfb88a1db6c5b29a3a6d9efb257"; }; buildInputs = [ nose mock ]; propagatedBuildInputs = [ pyflakes pep8 mccabe ]; # 3 failing tests #doCheck = false; meta = { description = "code checking using pep8 and pyflakes."; homepage = http://pypi.python.org/pypi/flake8; license = licenses.mit; maintainers = [ stdenv.lib.maintainers.garbas ]; }; }); flask = buildPythonPackage { name = "flask-0.10.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/F/Flask/Flask-0.10.1.tar.gz"; md5 = "378670fe456957eb3c27ddaef60b2b24"; }; propagatedBuildInputs = [ werkzeug jinja2 ]; meta = { homepage = http://flask.pocoo.org/; description = "A microframework based on Werkzeug, Jinja 2, and good intentions"; license = "BSD"; }; }; flask_cache = buildPythonPackage rec { name = "Flask-Cache-0.13.1"; src = fetchurl { url = "https://pypi.python.org/packages/source/F/Flask-Cache/${name}.tar.gz"; md5 = "ab82a9cd0844891ccdb54fbb93fd6c59"; }; propagatedBuildInputs = [ werkzeug flask ]; meta = { homepage = https://github.com/thadeusb/flask-cache; description = "Adds cache support to your Flask application"; license = "BSD"; }; }; flexget = buildPythonPackage rec { name = "FlexGet-1.2.161"; disabled = isPy3k; src = fetchurl { url = "https://pypi.python.org/packages/source/F/FlexGet/${name}.tar.gz"; md5 = "f7533e7b1df49cc8027fc4a2cde0290d"; }; buildInputs = [ nose ]; # dateutil dependency: 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; meta = { homepage = http://flexget.com/; description = "Multipurpose automation tool for content like torrents, ..."; license = stdenv.lib.licenses.mit; maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }; python_tvrage = buildPythonPackage (rec { version = "0.4.1"; name = "tvrage-${version}"; src = fetchurl { url = "https://pypi.python.org/packages/source/p/python-tvrage/python-tvrage-${version}.tar.gz"; md5 = "cdfec252158c5047b626861900186dfb"; }; # has mostly networking dependent tests doCheck = false; propagatedBuildInputs = [ beautifulsoup ]; meta = { homepage = https://github.com/ckreutzer/python-tvrage; description = "Client interface for tvrage.com's XML-based api feeds"; license = stdenv.lib.licenses.bsd3; maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }); jsonschema = buildPythonPackage (rec { version = "2.4.0"; name = "jsonschema-${version}"; src = fetchurl { url = "https://pypi.python.org/packages/source/j/jsonschema/jsonschema-${version}.tar.gz"; md5 = "661f85c3d23094afbb9ac3c0673840bf"; }; buildInputs = [ nose mock ]; patchPhase = '' substituteInPlace jsonschema/tests/test_jsonschema_test_suite.py --replace "python" "${python}/bin/${python.executable}" ''; checkPhase = '' nosetests ''; meta = { homepage = https://github.com/Julian/jsonschema; description = "An implementation of JSON Schema validation for Python"; license = stdenv.lib.licenses.mit; maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }); flup = buildPythonPackage (rec { name = "flup-1.0.2"; disabled = isPy3k; src = fetchurl { url = "http://www.saddi.com/software/flup/dist/${name}.tar.gz"; sha256 = "1nbx174g40l1z3a8arw72qz05a1qxi3didp9wm7kvkn1bxx33bab"; }; meta = { homepage = "http://trac.saddi.com/flup"; description = "FastCGI Python module set"; }; }); foolscap = buildPythonPackage (rec { name = "foolscap-0.6.4"; src = fetchurl { url = "http://foolscap.lothar.com/releases/${name}.tar.gz"; sha256 = "16cddyk5is0gjfn0ia5n2l4lhdzvbjzlx6sfpy7ddjd3d3fq7ckl"; }; propagatedBuildInputs = [ twisted pkgs.pyopenssl ]; meta = { homepage = http://foolscap.lothar.com/; description = "Foolscap, an RPC protocol for Python that follows the distributed object-capability model"; longDescription = '' "Foolscap" is the name for the next-generation RPC protocol, intended to replace Perspective Broker (part of Twisted). Foolscap is a protocol to implement a distributed object-capabilities model in Python. ''; # See http://foolscap.lothar.com/trac/browser/LICENSE. license = stdenv.lib.licenses.mit; maintainers = [ ]; }; }); fs = buildPythonPackage rec { name = "fs-0.5.0"; src = fetchurl { url = "https://pypi.python.org/packages/source/f/fs/${name}.tar.gz"; sha256 = "144f4yn2nvnxh2vrnmiabpwx3s637np0d1j1w95zym790d66shir"; }; meta = with stdenv.lib; { description = "Filesystem abstraction"; homepage = http://pypi.python.org/pypi/fs; license = licenses.bsd3; maintainers = with maintainers; [ lovek323 ]; platforms = platforms.unix; }; # Fails: "error: invalid command 'test'" doCheck = false; }; fuse = buildPythonPackage (rec { baseName = "fuse"; version = "0.2.1"; name = "${baseName}-${version}"; disabled = isPy3k; src = fetchurl { url = "mirror://sourceforge/fuse/fuse-python-${version}.tar.gz"; sha256 = "06rmp1ap6flh64m81j0n3a357ij2vj9zwcvvw0p31y6hz1id9shi"; }; buildInputs = [ pkgs.pkgconfig pkgs.fuse ]; meta = { description = "Python bindings for FUSE."; license = stdenv.lib.licenses.lgpl21; }; }); futures = buildPythonPackage rec { name = "futures-2.1.6"; propagatedBuildInputs = with pythonPackages; [ ]; src = fetchurl { url = "https://pypi.python.org/packages/source/f/futures/futures-2.1.6.tar.gz"; md5 = "cfab9ac3cd55d6c7ddd0546a9f22f453"; }; meta = with pkgs.stdenv.lib; { description = "Backport of the concurrent.futures package from Python 3.2"; homepage = http://code.google.com/p/pythonfutures; license = licenses.bsd2; }; }; gcovr = buildPythonPackage rec { name = "gcovr-2.4"; src = fetchurl { url = "http://pypi.python.org/packages/source/g/gcovr/${name}.tar.gz"; md5 = "672db629469882b93c40016aebff50ac"; }; meta = { description = "A Python script for summarizing gcov data"; license = "BSD"; }; }; genshi = buildPythonPackage { name = "genshi-0.7"; src = fetchurl { url = http://ftp.edgewall.com/pub/genshi/Genshi-0.7.tar.gz; sha256 = "0lkkbp6fbwzv0zda5iqc21rr7rdldkwh3hfabfjl9i4bwq14858x"; }; # FAIL: test_sanitize_remove_script_elem (genshi.filters.tests.html.HTMLSanitizerTestCase) # FAIL: test_sanitize_remove_src_javascript (genshi.filters.tests.html.HTMLSanitizerTestCase) doCheck = false; buildInputs = [ pkgs.setuptools ]; meta = { description = "Python components for parsing HTML, XML and other textual content"; longDescription = '' Python library that provides an integrated set of components for parsing, generating, and processing HTML, XML or other textual content for output generation on the web. ''; license = "BSD"; }; }; gevent = buildPythonPackage rec { name = "gevent-1.0.1"; disabled = isPy3k || isPyPy; # see https://github.com/surfly/gevent/issues/248 src = fetchurl { url = "https://pypi.python.org/packages/source/g/gevent/${name}.tar.gz"; sha256 = "0hyzfb0gcx9pm5c2igan8y57hqy2wixrwvdjwsaivxsqs0ay49s6"; }; buildInputs = [ pkgs.libev ]; propagatedBuildInputs = optionals (!isPyPy) [ greenlet ]; meta = with stdenv.lib; { description = "Coroutine-based networking library"; homepage = http://www.gevent.org/; license = licenses.mit; platforms = platforms.linux; maintainers = [ maintainers.bjornfor ]; }; }; geventhttpclient = buildPythonPackage rec { name = "geventhttpclient-${version}"; version = "1.1.0"; src = fetchurl { url = "https://pypi.python.org/packages/source/g/geventhttpclient/${name}.tar.gz"; sha256 = "1k7s4dnkmcfqqkmbqi0vvb2ns53r9cl2652mq20bgg65zj26j2l6"; }; propagatedBuildInputs = [ gevent certifi backports_ssl_match_hostname_3_4_0_2 ]; meta = with stdenv.lib; { homepage = http://github.com/gwik/geventhttpclient; description = "HTTP client library for gevent"; license = licenses.mit; maintainers = [ maintainers.koral ]; }; }; gevent-socketio = buildPythonPackage rec { name = "gevent-socketio-0.3.6"; src = fetchurl { url = "https://pypi.python.org/packages/source/g/gevent-socketio/${name}.tar.gz"; sha256 = "1zra86hg2l1jcpl9nsnqagy3nl3akws8bvrbpgdxk15x7ywllfak"; }; buildInputs = [ versiontools gevent-websocket mock pytest ]; propagatedBuildInputs = [ gevent ]; }; gevent-websocket = buildPythonPackage rec { name = "gevent-websocket-0.9.3"; src = fetchurl { url = "https://pypi.python.org/packages/source/g/gevent-websocket/${name}.tar.gz"; sha256 = "07rqwfpbv13mk6gg8mf0bmvcf6siyffjpgai1xd8ky7r801j4xb4"; }; propagatedBuildInputs = [ gevent ]; }; genzshcomp = buildPythonPackage { name = "genzshcomp-0.5.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/g/genzshcomp/genzshcomp-0.5.1.tar.gz"; md5 = "7a954f1835875002e9044fe55ed1b488"; }; buildInputs = [ pkgs.setuptools ] ++ (optional isPy26 argparse); meta = { description = "automatically generated zsh completion function for Python's option parser modules"; license = "BSD"; }; }; gflags = buildPythonPackage rec { name = "gflags-2.0"; src = fetchurl { url = "http://python-gflags.googlecode.com/files/python-${name}.tar.gz"; sha256 = "1mkc7315bpmh39vbn0jq237jpw34zsrjr1sck98xi36bg8hnc41i"; }; meta = { homepage = http://code.google.com/p/python-gflags/; description = "A module for command line handling, similar to Google's gflags for C++"; }; }; glance = buildPythonPackage rec { name = "glance-0.1.7"; src = fetchurl { url = "http://pypi.python.org/packages/source/g/glance/${name}.tar.gz"; md5 = "e733713ccd23e4a6253386a47971cfb5"; }; buildInputs = [ nose mox ]; # tests fail for python2.6 doCheck = python.majorVersion != "2.6"; propagatedBuildInputs = [ gflags sqlalchemy webob routes eventlet ]; PYTHON_EGG_CACHE = "`pwd`/.egg-cache"; meta = { homepage = https://launchpad.net/glance; description = "Services for discovering, registering, and retrieving virtual machine images"; }; }; glances = buildPythonPackage rec { name = "glances-${version}"; version = "2.1"; disabled = isPyPy; src = pkgs.fetchFromGitHub { owner = "nicolargo"; repo = "glances"; rev = "v${version}"; sha256 = "1bgr7lif0bpnz39arcdrsfdy7ra4c3ay2pxz1lvh4fqxyxwp3gm6"; }; doCheck = false; buildInputs = [ unittest2 ]; propagatedBuildInputs = [ modules.curses modules.curses_panel psutil setuptools bottle batinfo pkgs.hddtemp pysnmp ]; preConfigure = '' sed -i 's/data_files\.append((conf_path/data_files.append(("etc\/glances"/' setup.py; ''; meta = { homepage = "http://nicolargo.github.io/glances/"; description = "Cross-platform curses-based monitoring tool"; }; }; goobook = buildPythonPackage rec { name = "goobook-1.5"; disabled = isPy3k; src = fetchurl { url = "https://pypi.python.org/packages/source/g/goobook/${name}.tar.gz"; sha256 = "05vpriy391l5i05ckl5ja5bswqyvl3rwrbmks9pi46w1813j7p5z"; }; buildInputs = [ six ]; preConfigure = '' sed -i '/distribute/d' setup.py ''; meta = with stdenv.lib; { description = "Search your google contacts from the command-line or mutt."; homepage = "https://pypi.python.org/pypi/goobook"; license = licenses.gpl3; maintainers = with maintainers; [ lovek323 ]; platforms = platforms.unix; }; propagatedBuildInputs = [ gdata hcs_utils keyring simplejson ]; }; google_api_python_client = buildPythonPackage rec { name = "google-api-python-client-1.2"; src = fetchurl { url = "https://google-api-python-client.googlecode.com/files/google-api-python-client-1.2.tar.gz"; sha256 = "0xd619w71xk4ldmikxqhaaqn985rc2hy4ljgwfp50jb39afg7crw"; }; propagatedBuildInputs = [ httplib2 ]; meta = with stdenv.lib; { description = "The core Python library for accessing Google APIs"; homepage = "https://code.google.com/p/google-api-python-client/"; license = licenses.asl20; platforms = platforms.unix; }; }; google_apputils = buildPythonPackage rec { name = "google-apputils-0.4.0"; disabled = isPy3k; src = fetchurl { url = http://pypi.python.org/packages/source/g/google-apputils/google-apputils-0.4.0.tar.gz; sha256 = "18wlivnqxvx1wsw177lckpl32nmr6cq7f5nhk8r72fvjy8wynq5j"; }; propagatedBuildInputs = [ pytz gflags dateutil_1_5 mox ]; meta = with stdenv.lib; { description = "Google Application Utilities for Python"; homepage = http://code.google.com/p/google-apputils-python; }; }; greenlet = buildPythonPackage rec { name = "greenlet-0.4.3"; disabled = isPyPy; # builtin for pypy src = fetchurl { url = "http://pypi.python.org/packages/source/g/greenlet/${name}.zip"; md5 = "a5e467a5876c415cd357c1ab9027e06c"; }; meta = { homepage = http://pypi.python.org/pypi/greenlet; description = "Module for lightweight in-process concurrent programming"; }; }; gyp = buildPythonPackage rec { rev = "1977"; name = "gyp-r${rev}"; src = fetchsvn { url = "http://gyp.googlecode.com/svn/trunk"; inherit rev; sha256 = "0vnr75yd3bidysiwl9lljvf1dv6v9m9xqdnx0hdgyl92w689n9j8"; }; patches = optionals pkgs.stdenv.isDarwin [ ../development/python-modules/gyp/no-darwin-cflags.patch ]; meta = { homepage = http://code.google.com/p/gyp; license = stdenv.lib.licenses.bsd3; description = "Generate Your Projects"; }; }; gunicorn = buildPythonPackage rec { name = "gunicorn-19.1.0"; src = fetchurl { url = "http://pypi.python.org/packages/source/g/gunicorn/${name}.tar.gz"; md5 = "3d759bec3c46a680ff010775258c4c56"; }; buildInputs = [ pytest ]; meta = { homepage = http://pypi.python.org/pypi/gunicorn; description = "WSGI HTTP Server for UNIX"; }; }; hcs_utils = buildPythonPackage rec { name = "hcs_utils-1.5"; src = fetchurl { url = "https://pypi.python.org/packages/source/h/hcs_utils/${name}.tar.gz"; sha256 = "1d2za9crkgzildx610w3zif2i8phcqhh6n8nzg3yvy2mg0s18mkl"; }; preBuild = '' export LOCALE_ARCHIVE=${localePath} export LC_ALL="en_US.UTF-8" ''; buildInputs = [ six ]; meta = with stdenv.lib; { description = "Library collecting some useful snippets"; homepage = https://pypi.python.org/pypi/hcs_utils/1.3; license = licenses.isc; maintainers = with maintainers; [ lovek323 ]; platforms = platforms.unix; }; }; hetzner = buildPythonPackage rec { name = "hetzner-${version}"; version = "0.7.2"; src = fetchurl { url = "https://github.com/RedMoonStudios/hetzner/archive/" + "v${version}.tar.gz"; sha256 = "07jnrgy9fkh1hwgsa8491ljz9spazmifqsg92m3xnamja1536qfl"; }; # not there yet, but coming soon. doCheck = false; meta = { homepage = "https://github.com/RedMoonStudios/hetzner"; description = "High-level Python API for accessing the Hetzner robot"; license = stdenv.lib.licenses.bsd3; maintainers = [ stdenv.lib.maintainers.aszlig ]; }; }; htmllaundry = buildPythonPackage rec { name = "htmllaundry-2.0"; src = fetchurl { url = "https://pypi.python.org/packages/source/h/htmllaundry/${name}.tar.gz"; md5 = "6db6909de76c4b259e65d90b5debdbda"; }; 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 = "Simple HTML cleanup utilities"; license = stdenv.lib.licenses.bsd3; }; }; html5lib = buildPythonPackage (rec { name = "html5lib-0.95"; src = fetchurl { url = "http://pypi.python.org/packages/source/h/html5lib/${name}.tar.gz"; md5 = "fe607f9917d81763e842f818f23464ee"; }; meta = { homepage = http://code.google.com/p/html5lib/; description = "HTML parser based on WHAT-WG HTML5 specification"; license = stdenv.lib.licenses.mit; maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }); http_signature = buildPythonPackage (rec { name = "http_signature-0.1.4"; disabled = isPy3k; src = fetchurl { url = "http://pypi.python.org/packages/source/h/http_signature/${name}.tar.gz"; md5 = "015061846254bd5d8c5dbc2913985153"; }; propagatedBuildInputs = [pycrypto]; meta = { homepage = https://github.com/atl/py-http-signature; description = ""; license = stdenv.lib.licenses.mit; }; }); httpbin = buildPythonPackage rec { name = "httpbin-0.2.0"; src = fetchurl { url = "https://pypi.python.org/packages/source/h/httpbin/${name}.tar.gz"; md5 = "9b2bb2fab45f5fa839e9a776a64d6089"; }; propagatedBuildInputs = [ flask markupsafe decorator itsdangerous six ]; meta = { homepage = https://github.com/kennethreitz/httpbin; description = "HTTP Request & Response Service"; license = licenses.mit; }; }; httplib2 = buildPythonPackage rec { name = "httplib2-0.9"; src = fetchurl { url = "https://pypi.python.org/packages/source/h/httplib2/${name}.tar.gz"; sha256 = "1asi5wpncnc6ki3bz33mhb9xh2lrkb24y4qng8bmqnczdmm8rsir"; }; meta = { homepage = http://code.google.com/p/httplib2; description = "A comprehensive HTTP client library"; license = licenses.mit; maintainers = [ stdenv.lib.maintainers.garbas ]; }; }; httpretty = buildPythonPackage rec { name = "httpretty-${version}"; version = "0.8.3"; disabled = isPy3k; doCheck = !isPyPy; src = fetchurl { url = "http://pypi.python.org/packages/source/h/httpretty/${name}.tar.gz"; md5 = "50b02560a49fe928c90c53a49791f621"; }; 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 < ghc, we don't add # darcs as a propagated build input. propagatedBuildInputs = [ darcsver ]; meta = { description = "setuptools plugin for the Darcs version control system"; homepage = http://allmydata.org/trac/setuptools_darcs; license = "BSD"; }; }; setuptoolsTrial = buildPythonPackage { name = "setuptools-trial-0.5.12"; src = fetchurl { url = "http://pypi.python.org/packages/source/s/setuptools_trial/setuptools_trial-0.5.12.tar.gz"; md5 = "f16f4237c9ee483a0cd13208849d96ad"; }; propagatedBuildInputs = [ twisted ]; meta = { description = "setuptools plug-in that helps run unit tests built with the \"Trial\" framework (from Twisted)"; homepage = http://allmydata.org/trac/setuptools_trial; license = "unspecified"; # ! }; }; simplejson = buildPythonPackage (rec { name = "simplejson-3.3.0"; src = fetchurl { url = "http://pypi.python.org/packages/source/s/simplejson/${name}.tar.gz"; md5 = "0e29b393bceac8081fa4e93ff9f6a001"; }; meta = { description = "simplejson is a simple, fast, extensible JSON encoder/decoder for Python"; longDescription = '' simplejson is compatible with Python 2.4 and later with no external dependencies. It covers the full JSON specification for both encoding and decoding, with unicode support. By default, encoding is done in an encoding neutral fashion (plain ASCII with \uXXXX escapes for unicode characters). ''; homepage = http://code.google.com/p/simplejson/; license = stdenv.lib.licenses.mit; }; }); sigal = buildPythonPackage rec { name = "sigal-0.7.0"; src = fetchurl { url = "http://pypi.python.org/packages/source/s/sigal/${name}.tar.gz"; md5 = "d2386706ac8543378aebde1ea4edeba4"; }; propagatedBuildInputs = [ jinja2 markdown pillow pilkit clint argh pytest ]; meta = with stdenv.lib; { description = "Yet another simple static gallery generator"; homepage = http://sigal.saimon.org/en/latest/index.html; license = licenses.mit; maintainers = [ maintainers.iElectric ]; }; }; pgpdump = pythonPackages.buildPythonPackage rec { name = "pgpdump-1.5"; src = fetchurl { url = "https://pypi.python.org/packages/source/p/pgpdump/pgpdump-1.5.tar.gz"; md5 = "040a451c8e63de3e61fc5b66efa7fca5"; }; meta = with stdenv.lib; { description = "Python library for parsing PGP packets"; homepage = https://github.com/toofishes/python-pgpdump; license = licenses.bsd3; }; }; spambayes = buildPythonPackage rec { name = "spambayes-1.1b1"; src = fetchurl { url = "mirror://sourceforge/spambayes/${name}.tar.gz"; sha256 = "0kqvjb89b02wp41p650ydfspi1s8d7akx1igcrw62diidqbxp04n"; }; propagatedBuildInputs = [ pydns lockfile ]; meta = with stdenv.lib; { description = "Statistical anti-spam filter, initially based on the work of Paul Graham"; homepage = http://spambayes.sourceforge.net/; }; }; shapely = buildPythonPackage rec { name = "Shapely-1.3.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/S/Shapely/${name}.tar.gz"; sha256 = "099sc7ajpp6hbgrx3c0bl6hhkz1mhnr0ahvc7s4i3f3b7q1zfn7l"; }; buildInputs = [ pkgs.geos ]; preConfigure = '' export LANG="en_US.UTF-8"; export LOCALE_ARCHIVE=${localePath} ''; patchPhase = '' sed -i "s|_lgeos = load_dll('geos_c', fallbacks=.*)|_lgeos = load_dll('geos_c', fallbacks=['${pkgs.geos}/lib/libgeos_c.so'])|" shapely/geos.py ''; doCheck = false; # won't suceed for unknown reasons that look harmless, though meta = with stdenv.lib; { description = "Geometric objects, predicates, and operations"; homepage = "https://pypi.python.org/pypi/Shapely/"; }; }; stevedore = buildPythonPackage rec { name = "stevedore-0.15"; src = fetchurl { url = "http://pypi.python.org/packages/source/s/stevedore/${name}.tar.gz"; sha256 = "bec9269cbfa58de4f0849ec79bb7d54eeeed9df8b5fbfa1637fbc68062822847"; }; buildInputs = [ pbr pip ]; propagatedBuildInputs = [ setuptools ]; meta = { description = "Manage dynamic plugins for Python applications"; homepage = "https://pypi.python.org/pypi/stevedore"; license = licenses.asl20; }; }; pydns = buildPythonPackage rec { name = "pydns-2.3.6"; disabled = isPy3k; src = fetchurl { url = "https://pypi.python.org/packages/source/p/pydns/${name}.tar.gz"; sha256 = "0qnv7i9824nb5h9psj0rwzjyprwgfiwh5s5raa9avbqazy5hv5pi"; }; doCheck = false; }; sympy = buildPythonPackage rec { name = "sympy-0.7.4"; disabled = isPy34; # some tests fail src = fetchurl { url = "https://github.com/sympy/sympy/releases/download/${name}/${name}.tar.gz"; sha256 = "0h1b9mx0snyyybj1x1ga69qssgjzkkgx2rw6nddjhyz1fknf8ywh"; }; preCheck = '' export LANG="en_US.UTF-8" export LOCALE_ARCHIVE=${localePath} ''; meta = with stdenv.lib; { description = "A Python library for symbolic mathematics"; homepage = http://www.sympy.org/; license = "free"; maintainers = with maintainers; [ lovek323 ]; platforms = platforms.unix; }; }; pilkit = buildPythonPackage rec { name = "pilkit-1.1.4"; src = fetchurl { url = "http://pypi.python.org/packages/source/p/pilkit/${name}.tar.gz"; md5 = "659dd67440f4b576889f2cd350f43d7b"; }; 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 = "clint-0.3.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/c/clint/${name}.tar.gz"; md5 = "7dcd43fb08bfb84c7d63e9356ada7b73"; }; checkPhase = '' nosetests ''; buildInputs = [ pillow nose_progressive nose mock blessings nose ]; meta = with stdenv.lib; { maintainers = [ maintainers.iElectric ]; }; }; argh = buildPythonPackage rec { name = "argh-0.23.3"; src = fetchurl { url = "http://pypi.python.org/packages/source/a/argh/${name}.tar.gz"; md5 = "25bb02c6552b42875f2c36714e0ff16c"; }; preCheck = '' export LANG="en_US.UTF-8" export LOCALE_ARCHIVE=${localePath} ''; buildInputs = [ pytest py mock ]; meta = with stdenv.lib; { maintainers = [ maintainers.iElectric ]; }; }; nose_progressive = buildPythonPackage rec { name = "nose-progressive-1.3"; src = fetchurl { url = "http://pypi.python.org/packages/source/n/nose-progressive/${name}.tar.gz"; md5 = "180be93929c5962044a35489f193259d"; }; buildInputs = [ pillow blessings nose ]; propagatedBuildInputs = [ modules.curses ]; meta = with stdenv.lib; { maintainers = [ maintainers.iElectric ]; }; }; blessings = buildPythonPackage rec { name = "blessings-1.5.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/b/blessings/${name}.tar.gz"; md5 = "fbbddbf20b1f9a13e3fa612b1e086fd8"; }; # 4 failing tests doCheck = false; buildInputs = [ nose modules.curses ]; meta = with stdenv.lib; { maintainers = [ maintainers.iElectric ]; }; }; semantic = buildPythonPackage rec { name = "semantic-1.0.3"; disabled = isPy3k; propagatedBuildInputs = [ quantities numpy ]; src = fetchurl { url = "https://pypi.python.org/packages/source/s/semantic/semantic-1.0.3.tar.gz"; md5 = "78a150190e3e7d0f6f357b4c828e5f0d"; }; # strange setuptools error (can not import semantic.test) doCheck = false; meta = with pkgs.stdenv.lib; { description = "Common Natural Language Processing Tasks for Python"; homepage = https://github.com/crm416/semantic; license = licenses.mit; }; }; sexpdata = buildPythonPackage rec { name = "sexpdata-0.0.2"; src = fetchurl { url = "http://pypi.python.org/packages/source/s/sexpdata/${name}.tar.gz"; md5 = "efc44265bc27cb3d6ffed4fbf5733fc1"; }; doCheck = false; meta = { description = "S-expression parser for Python"; homepage = "https://github.com/tkf/sexpdata"; }; }; sh = buildPythonPackage rec { name = "sh-1.08"; src = fetchurl { url = "http://pypi.python.org/packages/source/s/sh/${name}.tar.gz"; md5 = "4028bcba85daa0aef579ed24261e88a3"; }; doCheck = false; meta = { description = "Python subprocess interface"; homepage = http://pypi.python.org/pypi/sh/; }; }; six = buildPythonPackage rec { name = "six-1.7.3"; src = fetchurl { url = "http://pypi.python.org/packages/source/s/six/${name}.tar.gz"; md5 = "784c6e5541c3c4952de9c0a966a0a80b"; }; # error: invalid command 'test' doCheck = false; meta = { description = "A Python 2 and 3 compatibility library"; homepage = http://pypi.python.org/pypi/six/; }; }; skype4py = buildPythonPackage (rec { name = "Skype4Py-1.0.32.0"; disabled = isPy3k || isPyPy; src = fetchurl { url = mirror://sourceforge/skype4py/Skype4Py-1.0.32.0.tar.gz; sha256 = "0cmkrv450wa8v50bng5dflpwkl5c1p9pzysjkb2956w5kvwh6f5b"; }; unpackPhase = '' tar xf $src find . -type d -exec chmod +rx {} \; sourceRoot=`pwd`/`ls -d S*` ''; # error: invalid command 'test' doCheck = false; propagatedBuildInputs = [ pkgs.xlibs.libX11 pkgs.pythonDBus pygobject ]; meta = { description = "High-level, platform independent Skype API wrapper for Python"; # The advertisement says https://developer.skype.com/wiki/Skype4Py # but that url does not work. This following web page points to the # download link and has some information about the package. homepage = http://pypi.python.org/pypi/Skype4Py/1.0.32.0; license = "BSD"; }; }); smartdc = buildPythonPackage rec { name = "smartdc-0.1.12"; src = fetchurl { url = https://pypi.python.org/packages/source/s/smartdc/smartdc-0.1.12.tar.gz; md5 = "b960f61facafc879142b699050f6d8b4"; }; propagatedBuildInputs = [ requests http_signature ]; meta = { description = "Joyent SmartDataCenter CloudAPI connector using http-signature authentication via Requests"; homepage = https://github.com/atl/py-smartdc; license = licenses.mit; }; }; sorl_thumbnail = buildPythonPackage rec { name = "sorl-thumbnail-11.12"; src = fetchurl { url = "https://pypi.python.org/packages/source/s/sorl-thumbnail/${name}.tar.gz"; sha256 = "050b9kzbx7jvs3qwfxxshhis090hk128maasy8pi5wss6nx5kyw4"; }; # Disabled due to an improper configuration error when tested against django. This looks like something broken in the test cases for sorl. doCheck = false; meta = { homepage = http://sorl-thumbnail.readthedocs.org/en/latest/; description = "Thumbnails for Django"; license = stdenv.lib.licenses.bsd3; }; }; supervisor = buildPythonPackage rec { name = "supervisor-3.1.1"; disabled = isPy3k; src = fetchurl { url = "https://pypi.python.org/packages/source/s/supervisor/${name}.tar.gz"; md5 = "8c9714feaa63902f03871317e3ebf62e"; }; buildInputs = [ mock ]; propagatedBuildInputs = [ meld3 ]; # failing tests when building under chroot as root user doesn't exist doCheck = false; meta = { description = "A system for controlling process state under UNIX"; homepage = http://supervisord.org/; }; }; subprocess32 = buildPythonPackage rec { name = "subprocess32-3.2.6"; disabled = isPy3k; src = fetchurl { url = "https://pypi.python.org/packages/source/s/subprocess32/${name}.tar.gz"; md5 = "754c5ab9f533e764f931136974b618f1"; }; doCheck = false; meta = { homepage = "https://pypi.python.org/pypi/subprocess32"; description = "Backport of the subprocess module from Python 3.2.5 for use on 2.x."; maintainers = [ stdenv.lib.maintainers.garbas ]; }; }; sphinx = buildPythonPackage (rec { name = "Sphinx-1.2"; src = fetchurl { url = "http://pypi.python.org/packages/source/S/Sphinx/${name}.tar.gz"; md5 = "8516046aad73fe46dedece4e8e434328"; }; propagatedBuildInputs = [docutils jinja2 pygments]; meta = { description = "Sphinx is a tool that makes it easy to create intelligent and beautiful documentation for Python projects."; homepage = http://sphinx.pocoo.org/; license = "BSD"; }; }); sphinxcontrib_httpdomain = buildPythonPackage (rec { name = "sphinxcontrib-httpdomain-1.1.9"; src = fetchurl { url = "https://pypi.python.org/packages/source/s/sphinxcontrib-httpdomain/${name}.tar.gz"; md5 = "0f63aea612cc9e0b55a6c39e5b0f87b7"; }; propagatedBuildInputs = [sphinx]; meta = { description = "Provides a Sphinx domain for describing RESTful HTTP APIs"; homepage = http://bitbucket.org/birkenfeld/sphinx-contrib; license = "BSD"; }; }); sphinx_pypi_upload = buildPythonPackage (rec { name = "Sphinx-PyPI-upload-0.2.1"; src = fetchurl { url = "https://pypi.python.org/packages/source/S/Sphinx-PyPI-upload/${name}.tar.gz"; md5 = "b9f1df5c8443197e4d49abbba1cfddc4"; }; meta = { description = "Setuptools command for uploading Sphinx documentation to PyPI"; homepage = http://bitbucket.org/jezdez/sphinx-pypi-upload/; license = "BSD"; }; }); sqlalchemy = sqlalchemy9.override rec { name = "SQLAlchemy-0.7.10"; disabled = isPy34; doCheck = !isPyPy; src = fetchurl { url = "http://pypi.python.org/packages/source/S/SQLAlchemy/${name}.tar.gz"; sha256 = "0rhxgr85xdhjn467qfs0dkyj8x46zxcv6ad3dfx3w14xbkb3kakp"; }; 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 ]; preConfigure = optionalString isPy3k '' python3 sa2to3.py --no-diffs -w lib test examples ''; }; sqlalchemy8 = sqlalchemy9.override rec { name = "SQLAlchemy-0.8.7"; disabled = isPy34; doCheck = !isPyPy; src = fetchurl { url = "https://pypi.python.org/packages/source/S/SQLAlchemy/${name}.tar.gz"; md5 = "4f3377306309e46739696721b1785335"; }; preConfigure = optionalString isPy3k '' python3 sa2to3.py --no-diffs -w lib test examples ''; }; sqlalchemy9 = buildPythonPackage rec { name = "SQLAlchemy-0.9.4"; src = fetchurl { url = "https://pypi.python.org/packages/source/S/SQLAlchemy/${name}.tar.gz"; md5 = "c008ea5e2565ec1418ee8461393a99b1"; }; buildInputs = [ nose mock ]; propagatedBuildInputs = [ modules.sqlite3 ]; checkPhase = '' ${python.executable} sqla_nose.py ''; meta = { homepage = http://www.sqlalchemy.org/; description = "A Python SQL toolkit and Object Relational Mapper"; }; }; sqlalchemy_imageattach = buildPythonPackage rec { name = "SQLAlchemy-ImageAttach-${version}"; version = "0.8.2"; disabled = isPy33; src = fetchgit { url = https://github.com/crosspop/sqlalchemy-imageattach.git; rev = "refs/tags/${version}"; md5 = "cffdcde30952176e35fccf385f579dda"; }; buildInputs = [ pytest webob pkgs.imagemagick nose ]; propagatedBuildInputs = [ sqlalchemy8 wand ]; checkPhase = '' cd tests export MAGICK_HOME="${pkgs.imagemagick}" export PYTHONPATH=$PYTHONPATH:../ py.test cd .. ''; doCheck = !isPyPy; # failures due to sqla version mismatch meta = { homepage = https://github.com/crosspop/sqlalchemy-imageattach; description = "SQLAlchemy extension for attaching images to entity objects"; license = licenses.mit; }; }; sqlalchemy_migrate = buildPythonPackage rec { name = "sqlalchemy-migrate-0.6.1"; src = fetchurl { url = "http://sqlalchemy-migrate.googlecode.com/files/${name}.tar.gz"; sha1 = "17168b5fa066bd56fd93f26345525377e8a83d8a"; }; buildInputs = [ nose unittest2 scripttest ]; propagatedBuildInputs = [ tempita decorator sqlalchemy ]; preCheck = '' echo sqlite:///__tmp__ > test_db.cfg ''; # Some tests fail with "unexpected keyword argument 'script_path'". doCheck = false; meta = { homepage = http://code.google.com/p/sqlalchemy-migrate/; description = "Schema migration tools for SQLAlchemy"; }; }; python_statsd = buildPythonPackage rec { name = "python-statsd-${version}"; version = "1.6.0"; disabled = isPy3k; # next release will be py3k compatible src = fetchurl { url = "https://pypi.python.org/packages/source/p/python-statsd/${name}.tar.gz"; md5 = "3a0c71a160b504b843703c3041c7d7fb"; }; buildInputs = [ mock nose coverage ]; meta = { description = "A client for Etsy's node-js statsd server"; homepage = https://github.com/WoLpH/python-statsd; license = licenses.bsd3; }; }; stompclient = buildPythonPackage (rec { name = "stompclient-0.3.2"; disabled = isPy3k; src = fetchurl { url = "http://pypi.python.org/packages/source/s/stompclient/${name}.tar.gz"; md5 = "af0a314b6106dd80da24a918c24a1eab"; }; buildInputs = [ mock nose ]; # XXX: Ran 0 tests in 0.217s meta = { description = "Lightweight and extensible STOMP messaging client"; homepage = http://bitbucket.org/hozn/stompclient; license = licenses.asl20; }; }); subunit = buildPythonPackage rec { name = "subunit-${version}"; version = "0.0.16"; src = fetchurl { url = "https://launchpad.net/subunit/trunk/${version}/+download/python-${name}.tar.gz"; sha256 = "1ylla1wlmv29vdr76r5kgr7y21bz4ahi3v26mxsys42w90rfkahi"; }; propagatedBuildInputs = [ testtools ]; meta = { description = "A streaming protocol for test results"; homepage = https://launchpad.net/subunit; license = licenses.asl20; }; }; sure = buildPythonPackage rec { name = "sure-${version}"; version = "1.2.7"; preBuild = '' export LOCALE_ARCHIVE=${localePath} export LC_ALL="en_US.UTF-8" ''; src = fetchurl { url = "http://pypi.python.org/packages/source/s/sure/${name}.tar.gz"; md5 = "6dbecef27dffc41c8cd8aab8a8b3fdfb"; }; buildInputs = [ nose ]; propagatedBuildInputs = [ six mock ]; meta = { description = "Utility belt for automated testing"; homepage = "http://falcao.it/sure/"; license = licenses.gpl3Plus; }; }; structlog = buildPythonPackage rec { name = "structlog-0.4.2"; src = fetchurl { url = "https://pypi.python.org/packages/source/s/structlog/${name}.tar.gz"; md5 = "062cda36069e8573e00c265f451f899e"; }; meta = { description = "Painless structural logging"; homepage = http://www.structlog.org/; license = licenses.asl20; }; }; # XXX: ValueError: ZIP does not support timestamps before 1980 # svneverever = buildPythonPackage rec { # name = "svneverever-778489a8"; # # src = pkgs.fetchgit { # url = git://git.goodpoint.de/svneverever.git; # rev = "778489a8c6f07825fb18c9da3892a781c3d659ac"; # sha256 = "41c9da1dab2be7b60bff87e618befdf5da37c0a56287385cb0cbd3f91e452bb6"; # }; # # propagatedBuildInputs = [ pysvn argparse ]; # # doCheck = false; # }; targetcli_fb = buildPythonPackage rec { version = "2.1.fb33"; name = "targetcli-fb-${version}"; src = fetchurl { url = "https://github.com/agrover/targetcli-fb/archive/v${version}.tar.gz"; sha256 = "1zcm0agdpf866020b43fl8zyyyzz6r74mn1sz4xpaa0pinpwjk42"; }; propagatedBuildInputs = [ configshell_fb rtslib_fb ]; meta = { description = "A command shell for managing the Linux LIO kernel target"; homepage = "https://github.com/agrover/targetcli-fb"; platforms = stdenv.lib.platforms.linux; }; }; tarsnapper = buildPythonPackage rec { name = "tarsnapper-0.2.1"; disabled = isPy3k; src = fetchgit { url = https://github.com/miracle2k/tarsnapper.git; rev = "620439bca68892f2ffaba1079a34b18496cc6596"; sha256 = "06pp499qm2dxpja2jgmmq2jrcx3m4nq52x5hhil9r1jxvyiq962p"; }; propagatedBuildInputs = [ argparse pyyaml ]; patches = [ ../development/python-modules/tarsnapper-path.patch ]; preConfigure = '' substituteInPlace src/tarsnapper/script.py \ --replace '@NIXTARSNAPPATH@' '${pkgs.tarsnap}/bin/tarsnap' ''; }; taskcoach = buildPythonPackage rec { name = "TaskCoach-1.3.22"; disabled = isPy3k; src = fetchurl { url = "mirror://sourceforge/taskcoach/${name}.tar.gz"; sha256 = "1ddx56bqmh347synhgjq625ijv5hqflr0apxg0nl4jqdsqk1zmxh"; }; 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 ''; # error: invalid command 'test' doCheck = false; meta = { homepage = http://taskcoach.org/; description = "Todo manager to keep track of personal tasks and todo lists"; license = stdenv.lib.licenses.gpl3Plus; }; }; tempita = buildPythonPackage rec { version = "0.5.2"; name = "tempita-${version}"; src = fetchurl { url = "http://pypi.python.org/packages/source/T/Tempita/Tempita-${version}.tar.gz"; md5 = "4c2f17bb9d481821c41b6fbee904cea1"; }; disabled = isPy3k; buildInputs = [ nose ]; meta = { homepage = http://pythonpaste.org/tempita/; description = "A very small text templating language"; }; }; testtools = buildPythonPackage rec { name = "testtools-${version}"; version = "0.9.34"; src = fetchurl { url = "https://pypi.python.org/packages/source/t/testtools/${name}.tar.gz"; sha256 = "0s6sn9h26dif2c9sayf875x622kq8jb2f4qbc6if7gwh2sssgicn"; }; propagatedBuildInputs = [ pythonPackages.python_mimeparse pythonPackages.extras lxml ]; meta = { description = "A set of extensions to the Python standard library's unit testing framework"; homepage = http://pypi.python.org/pypi/testtools; license = licenses.mit; }; }; python_mimeparse = buildPythonPackage rec { name = "python-mimeparse-${version}"; version = "0.1.4"; src = fetchurl { url = "https://pypi.python.org/packages/source/p/python-mimeparse/${name}.tar.gz"; sha256 = "1hyxg09kaj02ri0rmwjqi86wk4nd1akvv7n0dx77azz76wga4s9w"; }; # error: invalid command 'test' doCheck = false; meta = { description = "A module provides basic functions for parsing mime-type names and matching them against a list of media-ranges."; homepage = https://code.google.com/p/mimeparse/; license = licenses.mit; }; }; extras = buildPythonPackage rec { name = "extras-${version}"; version = "0.0.3"; src = fetchurl { url = "https://pypi.python.org/packages/source/e/extras/extras-${version}.tar.gz"; sha256 = "1h7zx4dfyclalg0fqnfjijpn0f793a9mx8sy3b27gd31nr6dhq3s"; }; # error: invalid command 'test' doCheck = false; meta = { description = "A module provides basic functions for parsing mime-type names and matching them against a list of media-ranges."; homepage = https://code.google.com/p/mimeparse/; license = licenses.mit; }; }; tmdb3 = buildPythonPackage rec { name = "tmdb3-${version}"; version = "0.6.17"; src = fetchurl { url = "https://pypi.python.org/packages/source/t/tmdb3/${name}.zip"; md5 = "cd259427454472164c9a2479504c9cbb"; }; meta = { description = "Python implementation of the v3 API for TheMovieDB.org, allowing access to movie and cast information."; homepage = http://pypi.python.org/pypi/tmdb3; license = stdenv.lib.licenses.bsd3; }; }; # TODO # 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 # tox = buildPythonPackage rec { name = "tox-1.7.2"; propagatedBuildInputs = [ py virtualenv ]; doCheck = false; src = fetchurl { url = "https://pypi.python.org/packages/source/t/tox/${name}.tar.gz"; md5 = "0d9b3acb1a9252659d753b0ae6b9b264"; }; }; smmap = buildPythonPackage rec { name = "smmap-0.8.2"; disabled = isPy3k || isPyPy; # next release will have py3k/pypy support meta.maintainers = [ stdenv.lib.maintainers.mornfall ]; src = fetchurl { url = "https://pypi.python.org/packages/source/s/smmap/${name}.tar.gz"; sha256 = "0vrdgr6npmajrv658fv8bij7zgm5jmz2yxkbv8kmbv25q1f9b8ny"; }; }; trac = buildPythonPackage { name = "trac-1.0.1"; disabled = isPy3k; src = fetchurl { url = http://ftp.edgewall.com/pub/trac/Trac-1.0.1.tar.gz; sha256 = "1nqa95fcnkpyq4jk6az7l7sqgm3b3pjq3bx1n7y4v3bad5jr1m4x"; }; # couple of failing tests doCheck = false; PYTHON_EGG_CACHE = "`pwd`/.egg-cache"; propagatedBuildInputs = [ genshi pkgs.setuptools modules.sqlite3 ]; meta = { description = "Enhanced wiki and issue tracking system for software development projects"; license = "BSD"; }; }; transaction = buildPythonPackage rec { name = "transaction-${version}"; version = "1.4.3"; src = fetchurl { url = "http://pypi.python.org/packages/source/t/transaction/${name}.tar.gz"; md5 = "b4ca5983c9e3a0808ff5ff7648092c76"; }; propagatedBuildInputs = [ zope_interface ]; meta = { description = "Transaction management"; homepage = http://pypi.python.org/pypi/transaction; license = "ZPL"; }; }; transmissionrpc = buildPythonPackage rec { name = "transmissionrpc-${version}"; version = "0.11"; src = fetchurl { url = "https://pypi.python.org/packages/source/t/transmissionrpc/${name}.tar.gz"; md5 = "b2f918593e509f0e66e2e643291b436d"; }; propagatedBuildInputs = [ six ]; meta = { description = "Python implementation of the Transmission bittorent client RPC protocol."; homepage = http://pypi.python.org/pypi/transmissionrpc/; license = stdenv.lib.licenses.mit; }; }; eggdeps = buildPythonPackage rec { name = "eggdeps-${version}"; version = "0.4"; src = fetchurl { url = "http://pypi.python.org/packages/source/t/tl.eggdeps/tl.${name}.tar.gz"; md5 = "2472204a2abd0d8cd4d11ff0fbf36ae7"; }; # tests fail, see http://hydra.nixos.org/build/4316603/log/raw doCheck = false; propagatedBuildInputs = [ zope_interface zope_testing ]; meta = { description = "A tool which computes a dependency graph between active Python eggs"; homepage = http://thomas-lotze.de/en/software/eggdeps/; license = "ZPL"; }; }; turses = buildPythonPackage (rec { name = "turses-0.2.22"; src = fetchurl { url = "http://pypi.python.org/packages/source/t/turses/${name}.tar.gz"; sha256 = "1dqgvdqly4c4d6819mbkqy4g8r7zch4dkmxicfwck7q8h96wmyx3"; }; propagatedBuildInputs = [ oauth2 urwid tweepy ] ++ optional isPy26 argparse; #buildInputs = [ tox ]; # needs tox doCheck = false; meta = { homepage = "https://github.com/alejandrogomez/turses"; description = "A Twitter client for the console."; license = licenses.gpl3; maintainers = [ stdenv.lib.maintainers.garbas ]; platforms = stdenv.lib.platforms.linux; }; }); tweepy = buildPythonPackage (rec { name = "tweepy-2.3.0"; disabled = isPy3k; src = fetchurl { url = "http://pypi.python.org/packages/source/t/tweepy/${name}.tar.gz"; sha256 = "0wcj5g21brcqr1g7m4by4rs72lfiib4scg19qynn2wz1x77jyrzp"; }; meta = { homepage = "https://github.com/tweepy/tweepy"; description = "Twitter library for python"; license = licenses.mit; maintainers = [ stdenv.lib.maintainers.garbas ]; platforms = stdenv.lib.platforms.linux; }; }); twitter = buildPythonPackage rec { name = "twitter-${version}"; version = "1.14.3"; src = fetchurl { url = "https://pypi.python.org/packages/source/t/twitter/${name}.tar.gz"; sha256 = "1nhhjajbq0jik43q2makpnz094qcziq9p8rj35jxamybd0hwwzs9"; }; doCheck = false; meta = { description = "Twitter API library"; license = licenses.mit; maintainers = [ maintainers.thoughtpolice ]; }; }; twisted = buildPythonPackage rec { # 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) disabled = isPy3k; name = "Twisted-11.1.0"; src = fetchurl { url = "https://pypi.python.org/packages/source/T/Twisted/${name}.tar.bz2"; sha256 = "05agfp17cndhv2w0p559lvknl7nv0xqkg10apc47fm53m8llbfvz"; }; propagatedBuildInputs = [ zope_interface ]; # Generate Twisted's plug-in cache. Twited users must do it as well. See # http://twistedmatrix.com/documents/current/core/howto/plugin.html#auto3 # and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477103 for # details. postInstall = "$out/bin/twistd --help > /dev/null"; meta = { homepage = http://twistedmatrix.com/; description = "Twisted, an event-driven networking engine written in Python"; longDescription = '' Twisted is an event-driven networking engine written in Python and licensed under the MIT license. ''; license = licenses.mit; maintainers = [ ]; }; }; tzlocal = buildPythonPackage rec { name = "tzlocal-1.1.1"; propagatedBuildInputs = with pythonPackages; [ pytz ]; src = fetchurl { url = "https://pypi.python.org/packages/source/t/tzlocal/tzlocal-1.1.1.zip"; md5 = "56c2a04501b98f2a1188d003fd6d3dba"; }; # test fail (timezone test fail) doCheck = false; meta = with pkgs.stdenv.lib; { description = "Tzinfo object for the local timezone."; homepage = https://github.com/regebro/tzlocal; license = licenses.cddl; }; }; unittest2 = buildPythonPackage rec { version = "0.5.1"; name = "unittest2-${version}"; src = if python.is_py3k or false then fetchurl { url = "http://pypi.python.org/packages/source/u/unittest2py3k/unittest2py3k-${version}.tar.gz"; sha256 = "00yl6lskygcrddx5zspkhr0ibgvpknl4678kkm6s626539grq93q"; } else fetchurl { url = "http://pypi.python.org/packages/source/u/unittest2/unittest2-${version}.tar.gz"; md5 = "a0af5cac92bbbfa0c3b0e99571390e0f"; }; preConfigure = '' sed -i 's/unittest2py3k/unittest2/' setup.py ''; meta = { description = "A backport of the new features added to the unittest testing framework in Python 2.7"; homepage = http://pypi.python.org/pypi/unittest2; }; }; urlgrabber = buildPythonPackage rec { name = "urlgrabber-3.9.1"; disabled = isPy3k; src = fetchurl { url = "http://urlgrabber.baseurl.org/download/${name}.tar.gz"; sha256 = "4437076c8708e5754ea04540e46c7f4f233734ee3590bb8a96389264fb0650d0"; }; # error: invalid command 'test' doCheck = false; propagatedBuildInputs = [ pycurl ]; meta = { homepage = "urlgrabber.baseurl.org"; license = stdenv.lib.licenses.lgpl2Plus; description = "Python module for downloading files"; maintainers = [ stdenv.lib.maintainers.qknight ]; }; }; urwid = buildPythonPackage (rec { name = "urwid-1.2.1"; # multiple: NameError: name 'evl' is not defined doCheck = false; src = fetchurl { url = "https://pypi.python.org/packages/source/u/urwid/${name}.tar.gz"; md5 = "6a05ada11b87e7b026b01fc5150855b0"; }; meta = { description = "A full-featured console (xterm et al.) user interface library"; homepage = http://excess.org/urwid; repositories.git = git://github.com/wardi/urwid.git; license = licenses.lgpl21; maintainers = [ stdenv.lib.maintainers.garbas ]; }; }); pyuv = buildPythonPackage rec { name = "pyuv-0.11.5"; disabled = isPyPy; # see https://github.com/saghul/pyuv/issues/49 src = fetchurl { url = "https://github.com/saghul/pyuv/archive/${name}.tar.gz"; sha256 = "c251952cb4e54c92ab0e871decd13cf73d11ca5dba9f92962de51d12e3a310a9"; }; patches = [ ../development/python-modules/pyuv-external-libuv.patch ]; buildInputs = [ pkgs.libuvVersions.v0_11_29 ]; meta = { description = "Python interface for libuv"; homepage = https://github.com/saghul/pyuv; repositories.git = git://github.com/saghul/pyuv.git; license = licenses.mit; }; }; virtualenv = buildPythonPackage rec { name = "virtualenv-1.11.6"; src = fetchurl { url = "http://pypi.python.org/packages/source/v/virtualenv/${name}.tar.gz"; md5 = "f61cdd983d2c4e6aeabb70b1060d6f49"; }; inherit recursivePthLoader; pythonPath = [ recursivePthLoader ]; patches = [ ../development/python-modules/virtualenv-change-prefix.patch ]; propagatedBuildInputs = [ modules.readline modules.sqlite3 modules.curses ]; buildInputs = [ mock nose ]; # XXX: Ran 0 tests in 0.003s meta = with stdenv.lib; { description = "a tool to create isolated Python environments"; homepage = http://www.virtualenv.org; license = licenses.mit; maintainers = [ maintainers.goibhniu ]; }; }; virtualenv-clone = buildPythonPackage rec { name = "virtualenv-clone-0.2.4"; src = fetchurl { url = "https://pypi.python.org/packages/source/v/virtualenv-clone/${name}.tar.gz"; md5 = "71168b975eaaa91e65559bcc79290b3b"; }; buildInputs = [pytest]; propagatedBuildInputs = [virtualenv]; # needs tox to run the tests doCheck = false; meta = with stdenv.lib; { description = "Script to clone virtualenvs"; license = licenses.mit; platforms = platforms.all; }; }; virtualenvwrapper = buildPythonPackage (rec { name = "virtualenvwrapper-4.3"; src = fetchurl { url = "https://pypi.python.org/packages/source/v/virtualenvwrapper/${name}.tar.gz"; sha256 = "514cbc22218347bf7b54bdbe49e1a5f550d2d53b1ad2491c10e91ddf48fb528f"; }; # pip depend on $HOME setting preConfigure = "export HOME=$TMPDIR"; buildInputs = [ pbr pip pkgs.which ]; propagatedBuildInputs = [ stevedore virtualenv virtualenv-clone ]; patchPhase = '' substituteInPlace "virtualenvwrapper.sh" --replace "which" "${pkgs.which}/bin/which" substituteInPlace "virtualenvwrapper_lazy.sh" --replace "which" "${pkgs.which}/bin/which" ''; postInstall = '' # 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. for file in "virtualenvwrapper.sh" "virtualenvwrapper_lazy.sh"; do local wrapper="$out/bin/$file" local wrapped="$out/bin/.$file-wrapped" mv "$wrapper" "$wrapped" cat > "$wrapper" <<- EOF export PATH=$PATH:\$PATH export PYTHONPATH=$PYTHONPATH:$(toPythonPath $out):\$PYTHONPATH source "$wrapped" EOF chmod -x "$wrapped" chmod +x "$wrapper" done ''; meta = { description = "Enhancements to virtualenv"; homepage = "https://pypi.python.org/pypi/virtualenvwrapper"; license = licenses.mit; }; }); waitress = buildPythonPackage rec { name = "waitress-0.8.7"; src = fetchurl { url = "http://pypi.python.org/packages/source/w/waitress/${name}.tar.gz"; md5 = "714f3d458d82a47f12fb168460de8366"; }; doCheck = false; meta = { maintainers = [ stdenv.lib.maintainers.garbas stdenv.lib.maintainers.iElectric ]; platforms = stdenv.lib.platforms.all; }; }; webcolors = buildPythonPackage rec { name = "webcolors-1.4"; src = fetchurl { url = "https://pypi.python.org/packages/source/w/webcolors/${name}.tar.gz"; md5 = "35de9d785b5c04a9cc66a2eae0519254"; }; # error: invalid command 'test' doCheck = false; meta = with stdenv.lib; { description = "Library for working with color names/values defined by the HTML and CSS specifications"; homepage = https://bitbucket.org/ubernostrum/webcolors/overview/; license = licenses.bsd3; platforms = platforms.linux; }; }; wand = buildPythonPackage rec { name = "Wand-0.3.5"; src = fetchurl { url = "https://pypi.python.org/packages/source/W/Wand/${name}.tar.gz"; md5 = "10bab03bf86ce8da2a95a3b15197ae2e"; }; buildInputs = [ pkgs.imagemagick pytest psutil memory_profiler pytest_xdist ]; meta = { description = "Ctypes-based simple MagickWand API binding for Python"; homepage = http://wand-py.org/; platforms = stdenv.lib.platforms.all; }; }; webob = buildPythonPackage rec { version = "1.4"; name = "webob-${version}"; src = fetchurl { url = "http://pypi.python.org/packages/source/W/WebOb/WebOb-${version}.tar.gz"; md5 = "8437607c0cc00c35f658f972516ffb55"; }; propagatedBuildInputs = [ nose modules.ssl ]; meta = { description = "WSGI request and response object"; homepage = http://pythonpaste.org/webob/; platforms = stdenv.lib.platforms.all; }; }; websockify = buildPythonPackage rec { version = "0.3.0"; name = "websockify-${version}"; src = fetchurl { url = "http://pypi.python.org/packages/source/w/websockify/websockify-${version}.tar.gz"; md5 = "29b6549d3421907de4bbd881ecc2e1b1"; }; propagatedBuildInputs = [ numpy ]; meta = { description = "WebSockets support for any application/server"; homepage = https://github.com/kanaka/websockify; }; }; webtest = buildPythonPackage rec { version = "2.0.15"; name = "webtest-${version}"; src = fetchurl { url = "http://pypi.python.org/packages/source/W/WebTest/WebTest-${version}.zip"; md5 = "49314bdba23f4d0bd807facb2a6d3f90"; }; preConfigure = '' substituteInPlace setup.py --replace "nose<1.3.0" "nose" ''; # XXX: skipping two tests fails in python2.6 doCheck = ! isPy26; buildInputs = optionals isPy26 [ pythonPackages.ordereddict unittest2 ]; propagatedBuildInputs = [ nose webob six beautifulsoup4 waitress mock pyquery wsgiproxy2 paste_deploy coverage ]; meta = { description = "Helper to test WSGI applications"; homepage = http://webtest.readthedocs.org/en/latest/; platforms = stdenv.lib.platforms.all; }; }; werkzeug = buildPythonPackage rec { name = "Werkzeug-0.9.6"; src = fetchurl { url = "http://pypi.python.org/packages/source/W/Werkzeug/${name}.tar.gz"; md5 = "f7afcadc03b0f2267bdc156c34586043"; }; propagatedBuildInputs = [ itsdangerous ]; doCheck = false; # tests fail, not sure why meta = { homepage = http://werkzeug.pocoo.org/; description = "A WSGI utility library for Python"; license = "BSD"; }; }; wokkel = buildPythonPackage (rec { url = "http://wokkel.ik.nu/releases/0.7.0/wokkel-0.7.0.tar.gz"; name = nameFromURL url ".tar"; src = fetchurl { inherit url; sha256 = "0rnshrzw8605x05mpd8ndrx3ri8h6cx713mp8sl4f04f4gcrz8ml"; }; propagatedBuildInputs = [twisted dateutil]; meta = { description = "Some (mainly XMPP-related) additions to twisted"; homepage = "http://wokkel.ik.nu/"; license = stdenv.lib.licenses.mit; }; }); wsgiproxy2 = buildPythonPackage rec { name = "WSGIProxy2-0.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/W/WSGIProxy2/${name}.tar.gz"; md5 = "157049212f1c81a8790efa31146fbabf"; }; propagatedBuildInputs = [ six webob ]; meta = { maintainers = [ stdenv.lib.maintainers.garbas stdenv.lib.maintainers.iElectric ]; platforms = stdenv.lib.platforms.all; }; }; wxPython = wxPython28; wxPython28 = callPackage ../development/python-modules/wxPython/2.8.nix { wxGTK = pkgs.wxGTK28; }; wxPython30 = callPackage ../development/python-modules/wxPython/3.0.nix { wxGTK = pkgs.wxGTK30; }; xe = buildPythonPackage rec { url = "http://www.blarg.net/%7Esteveha/xe-0.7.4.tar.gz"; name = stdenv.lib.nameFromURL url ".tar"; src = fetchurl { inherit url; sha256 = "0v9878cl0y9cczdsr6xjy8v9l139lc23h4m5f86p4kpf2wlnpi42"; }; # error: invalid command 'test' doCheck = false; meta = { homepage = "http://home.blarg.net/~steveha/xe.html"; description = "XML elements"; }; }; xlib = buildPythonPackage (rec { name = "xlib-0.15rc1"; src = fetchurl { url = "mirror://sourceforge/python-xlib/python-${name}.tar.bz2"; sha256 = "0mvzz605pxzj7lfp2w6z4qglmr4rjza9xrb7sl8yn12cklzfky0m"; }; # Tests require `pyutil' so disable them to avoid circular references. doCheck = false; propagatedBuildInputs = [ pkgs.xlibs.libX11 ]; meta = { description = "Fully functional X client library for Python programs"; homepage = http://python-xlib.sourceforge.net/; license = stdenv.lib.licenses.gpl2Plus; }; }); zbase32 = buildPythonPackage (rec { name = "zbase32-1.1.2"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zbase32/${name}.tar.gz"; sha256 = "2f44b338f750bd37b56e7887591bf2f1965bfa79f163b6afcbccf28da642ec56"; }; # Tests require `pyutil' so disable them to avoid circular references. doCheck = false; buildInputs = [ setuptoolsDarcs ]; meta = { description = "zbase32, a base32 encoder/decoder"; homepage = http://pypi.python.org/pypi/zbase32; license = "BSD"; }; }); zconfig = buildPythonPackage rec { name = "zconfig-${version}"; version = "3.0.3"; src = fetchurl { url = "http://pypi.python.org/packages/source/Z/ZConfig/ZConfig-${version}.tar.gz"; md5 = "60a107c5857c3877368dfe5930559804"; }; propagatedBuildInputs = [ zope_testrunner ]; meta = { description = "Structured Configuration Library"; homepage = http://pypi.python.org/pypi/ZConfig; license = "ZPL"; maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zc_lockfile = buildPythonPackage rec { name = "zc.lockfile-${version}"; version = "1.0.2"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zc.lockfile/${name}.tar.gz"; md5 = "f099d4cf2583a0c7bea0146a44dc4d59"; }; meta = { description = "Inter-process locks"; homepage = http://www.python.org/pypi/zc.lockfile; license = "ZPL"; maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zdaemon = buildPythonPackage rec { name = "zdaemon-${version}"; version = "4.0.0"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zdaemon/${name}.tar.gz"; md5 = "4056e2ea35855695ed15389d9c168b92"; }; propagatedBuildInputs = [ zconfig ]; # too many deps.. doCheck = false; meta = { description = "A daemon process control library and tools for Unix-based systems"; homepage = http://pypi.python.org/pypi/zdaemon; license = "ZPL"; maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zfec = buildPythonPackage (rec { name = "zfec-1.4.24"; disabled = isPyPy; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zfec/${name}.tar.gz"; sha256 = "1ks94zlpy7n8sb8380gf90gx85qy0p9073wi1wngg6mccxp9xsg3"; }; buildInputs = [ setuptoolsDarcs ]; propagatedBuildInputs = [ pyutil argparse ]; meta = { homepage = http://allmydata.org/trac/zfec; description = "Zfec, a fast erasure codec which can be used with the command-line, C, Python, or Haskell"; longDescription = '' Fast, portable, programmable erasure coding a.k.a. "forward error correction": the generation of redundant blocks of information such that if some blocks are lost then the original data can be recovered from the remaining blocks. The zfec package includes command-line tools, C API, Python API, and Haskell API. ''; license = stdenv.lib.licenses.gpl2Plus; }; }); zodb3 = buildPythonPackage rec { name = "zodb3-${version}"; version = "3.11.0"; disabled = isPyPy; src = fetchurl { url = "http://pypi.python.org/packages/source/Z/ZODB3/ZODB3-${version}.tar.gz"; md5 = "21975c1609296e7834e8cf4025af3039"; }; propagatedBuildInputs = [ manuel transaction zc_lockfile zconfig zdaemon zope_interface zope_event BTrees persistent ZEO ]; meta = { description = "An object-oriented database for Python"; homepage = http://pypi.python.org/pypi/ZODB3; license = "ZPL"; maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zodb = buildPythonPackage rec { name = "zodb-${version}"; disabled = isPyPy; version = "4.0.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/Z/ZODB/ZODB-${version}.tar.gz"; md5 = "092d787524b095164231742c96b32f50"; }; propagatedBuildInputs = [ manuel transaction zc_lockfile zconfig zdaemon zope_interface persistent BTrees ] ++ optionals isPy3k [ zodbpickle ]; preCheck = if isPy3k then '' # test failure on py3.4 rm src/ZODB/tests/testDB.py '' else ""; meta = { description = "An object-oriented database for Python"; homepage = http://pypi.python.org/pypi/ZODB; license = "ZPL"; maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zodbpickle = pythonPackages.buildPythonPackage rec { name = "zodbpickle-0.5.2"; disabled = isPyPy; # https://github.com/zopefoundation/zodbpickle/issues/10 src = fetchurl { url = "https://pypi.python.org/packages/source/z/zodbpickle/${name}.tar.gz"; md5 = "d401bd89f99ec8d56c22493e6f8c0443"; }; # fails.. doCheck = false; meta = with stdenv.lib; { homepage = http://pypi.python.org/pypi/zodbpickle; }; }; BTrees = pythonPackages.buildPythonPackage rec { name = "BTrees-4.0.8"; patches = [ ./../development/python-modules/btrees_interger_overflow.patch ]; propagatedBuildInputs = [ persistent zope_interface transaction ]; src = fetchurl { url = "https://pypi.python.org/packages/source/B/BTrees/${name}.tar.gz"; md5 = "7f5df4cf8dd50fb0c584c0929a406c92"; }; meta = with stdenv.lib; { description = "scalable persistent components"; homepage = http://packages.python.org/BTrees; }; }; persistent = pythonPackages.buildPythonPackage rec { name = "persistent-4.0.8"; propagatedBuildInputs = [ zope_interface ]; src = fetchurl { url = "https://pypi.python.org/packages/source/p/persistent/${name}.tar.gz"; md5 = "2942f1ca7764b1bef8d48fa0d9a236b7"; }; meta = with stdenv.lib; { description = "automatic persistence for Python objects"; homepage = http://www.zope.org/Products/ZODB; }; }; xdot = buildPythonPackage rec { name = "xdot-0.6"; src = fetchurl { url = "https://pypi.python.org/packages/source/x/xdot/xdot-0.6.tar.gz"; md5 = "a8e5fc5208657b03ad1bd4c46de75724"; }; propagatedBuildInputs = with pythonPackages; [ pygtk pygobject pkgs.graphviz ]; meta = with stdenv.lib; { description = "xdot.py is an interactive viewer for graphs written in Graphviz's dot"; homepage = https://github.com/jrfonseca/xdot.py; license = licenses.lgpl3Plus; }; }; zope_broken = buildPythonPackage rec { name = "zope.broken-3.6.0"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.broken/${name}.zip"; md5 = "eff24d7918099a3e899ee63a9c31bee6"; }; buildInputs = [ zope_interface ]; meta = { maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_browser = buildPythonPackage rec { name = "zope.browser-2.0.2"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.browser/${name}.zip"; sha256 = "0f9r5rn9lzgi4hvkhgb6vgw8kpz9sv16jsfb9ws4am8gbqcgv2iy"; }; propagatedBuildInputs = [ zope_interface ]; meta = { maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_browserresource = buildPythonPackage rec { name = "zope.browserresource-4.0.1"; propagatedBuildInputs = [ zope_component zope_configuration zope_contenttype zope_i18n zope_interface zope_location zope_publisher zope_schema zope_traversing ]; # all tests fail doCheck = false; src = fetchurl { url = "https://pypi.python.org/packages/source/z/zope.browserresource/zope.browserresource-4.0.1.zip"; md5 = "81bbe92c1f04725561470f89d73222c5"; }; }; zope_component = buildPythonPackage rec { name = "zope.component-4.2.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.component/zope.component-4.2.1.tar.gz"; sha256 = "1gzbr0j6c2h0cqnpi2cjss38wrz1bcwx8xahl3vykgz5laid15l6"; }; propagatedBuildInputs = [ zope_configuration zope_event zope_i18nmessageid zope_interface zope_testing ]; # ignore tests because of a circular dependency on zope_security doCheck = false; meta = { maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_configuration = buildPythonPackage rec { name = "zope.configuration-4.0.3"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.configuration/zope.configuration-4.0.3.tar.gz"; sha256 = "1x9dfqypgympnlm25p9m43xh4qv3p7d75vksv9pzqibrb4cggw5n"; }; propagatedBuildInputs = [ zope_i18nmessageid zope_schema ]; meta = { maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_container = buildPythonPackage rec { name = "zope.container-4.0.0"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.container/${name}.tar.gz"; md5 = "b24d2303ece65a2d9ce23a5bd074c335"; }; # a test is failing doCheck = false; propagatedBuildInputs = [ zodb3 zope_broken zope_dottedname zope_publisher zope_filerepresentation zope_lifecycleevent zope_size zope_traversing ]; meta = { maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_contenttype = buildPythonPackage rec { name = "zope.contenttype-4.0.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.contenttype/${name}.tar.gz"; md5 = "171be44753e86742da8c81b3ad008ce0"; }; meta = { maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_dottedname = buildPythonPackage rec { name = "zope.dottedname-3.4.6"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.dottedname/${name}.tar.gz"; md5 = "62d639f75b31d2d864fe5982cb23959c"; }; meta = { maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_event = buildPythonPackage rec { name = "zope.event-${version}"; version = "4.0.3"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.event/${name}.tar.gz"; sha256 = "1w858k9kmgzfj36h65kp27m9slrmykvi5cjq6c119xqnaz5gdzgm"; }; meta = { description = "An event publishing system"; homepage = http://pypi.python.org/pypi/zope.event; license = "ZPL"; maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_exceptions = buildPythonPackage rec { name = "zope.exceptions-${version}"; version = "4.0.5"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.exceptions/${name}.tar.gz"; md5 = "c95569fcb444ae541777de7ae5297492"; }; propagatedBuildInputs = [ zope_interface ]; meta = { description = "Exception interfaces and implementations"; homepage = http://pypi.python.org/pypi/zope.exceptions; license = "ZPL"; maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_filerepresentation = buildPythonPackage rec { name = "zope.filerepresentation-3.6.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.filerepresentation/${name}.tar.gz"; md5 = "4a7a434094f4bfa99a7f22e75966c359"; }; propagatedBuildInputs = [ zope_schema ]; meta = { maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_i18n = buildPythonPackage rec { name = "zope.i18n-3.8.0"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.i18n/${name}.tar.gz"; sha256 = "045nnimmshibcq71yym2d8yrs6wzzhxq5gl7wxjnkpyjm5y0hfkm"; }; propagatedBuildInputs = [ pytz zope_component ]; meta = { maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_i18nmessageid = buildPythonPackage rec { name = "zope.i18nmessageid-4.0.3"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.i18nmessageid/zope.i18nmessageid-4.0.3.tar.gz"; sha256 = "1rslyph0klk58dmjjy4j0jxy21k03azksixc3x2xhqbkv97cmzml"; }; meta = { maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_lifecycleevent = buildPythonPackage rec { name = "zope.lifecycleevent-3.7.0"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.lifecycleevent/${name}.tar.gz"; sha256 = "0s5brphqzzz89cykg61gy7zcmz0ryq1jj2va7gh2n1b3cccllp95"; }; propagatedBuildInputs = [ zope_event zope_component ]; meta = { maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_location = buildPythonPackage rec { name = "zope.location-4.0.3"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.location/zope.location-4.0.3.tar.gz"; sha256 = "1nj9da4ksiyv3h8n2vpzwd0pb03mdsh7zy87hfpx72b6p2zcwg74"; }; propagatedBuildInputs = [ zope_proxy ]; # ignore circular dependency on zope_schema preBuild = '' sed -i '/zope.schema/d' setup.py ''; doCheck = false; meta = { maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_proxy = buildPythonPackage rec { name = "zope.proxy-4.1.4"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.proxy/${name}.tar.gz"; md5 = "3bcaf8b8512a99649ecf2f158c11d05b"; }; propagatedBuildInputs = [ zope_interface ]; meta = { maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_publisher = buildPythonPackage rec { name = "zope.publisher-3.12.6"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.publisher/${name}.tar.gz"; md5 = "495131970cc7cb14de8e517fb3857ade"; }; propagatedBuildInputs = [ zope_browser zope_contenttype zope_i18n zope_security ]; meta = { maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_schema = buildPythonPackage rec { name = "zope.schema-4.4.2"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.schema/${name}.tar.gz"; sha256 = "1p943jdxb587dh7php4vx04qvn7b2877hr4qs5zyckvp5afhhank"; }; propagatedBuildInputs = [ zope_location zope_event zope_interface zope_testing ] ++ optional isPy26 ordereddict; meta = { maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_security = buildPythonPackage rec { name = "zope.security-4.0.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.security/${name}.tar.gz"; md5 = "27d1f2873a0ee9c1f485f7b8f22d8e1c"; }; propagatedBuildInputs = [ zope_component zope_configuration zope_i18nmessageid zope_schema zope_proxy zope_testrunner ]; meta = { maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_size = buildPythonPackage rec { name = "zope.size-3.5.0"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.size/${name}.tar.gz"; sha256 = "006xfkhvmypwd3ww9gbba4zly7n9w30bpp1h74d53la7l7fiqk2f"; }; propagatedBuildInputs = [ zope_i18nmessageid zope_interface ]; meta = { maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_sqlalchemy = buildPythonPackage rec { name = "zope.sqlalchemy-0.7.5"; doCheck = !isPyPy; # https://github.com/zopefoundation/zope.sqlalchemy/issues/12 src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.sqlalchemy/${name}.zip"; md5 = "0a468bd5b8884cd29fb71acbf7eaa31e"; }; buildInputs = [ zope_testing zope_interface ]; propagatedBuildInputs = [ sqlalchemy9 transaction ]; meta = { maintainers = [ stdenv.lib.maintainers.garbas stdenv.lib.maintainers.iElectric ]; platforms = stdenv.lib.platforms.all; }; }; zope_testing = buildPythonPackage rec { name = "zope.testing-${version}"; version = "4.1.3"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.testing/${name}.tar.gz"; md5 = "6c73c5b668a67fdc116a25b884058ed9"; }; doCheck = !(python.isPypy or false); propagatedBuildInputs = [ zope_interface zope_exceptions zope_location ]; meta = { description = "Zope testing helpers"; homepage = http://pypi.python.org/pypi/zope.testing; license = "ZPL"; maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_testrunner = buildPythonPackage rec { name = "zope.testrunner-${version}"; version = "4.4.3"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.testrunner/${name}.zip"; sha256 = "1dwk35kg0bmj2lzp4fd2bgp6dv64q5sda09bf0y8j63y53vqbsw8"; }; propagatedBuildInputs = [ zope_interface zope_exceptions zope_testing six ] ++ optional (!python.is_py3k or false) subunit; doCheck = true; meta = { description = "A flexible test runner with layer support"; homepage = http://pypi.python.org/pypi/zope.testrunner; license = "ZPL"; maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_traversing = buildPythonPackage rec { name = "zope.traversing-4.0.0"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.traversing/${name}.zip"; md5 = "5cc40c552f953939f7c597ebbedd586f"; }; propagatedBuildInputs = [ zope_location zope_security zope_publisher transaction zope_tales ]; # circular dependency on zope_browserresource doCheck = false; meta = { maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; zope_interface = buildPythonPackage rec { name = "zope.interface-4.1.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/z/zope.interface/${name}.tar.gz"; md5 = "edcd5f719c5eb2e18894c4d06e29b6c6"; }; propagatedBuildInputs = [ zope_event ]; meta = { description = "Zope.Interface"; homepage = http://zope.org/Products/ZopeInterface; license = "ZPL"; maintainers = [ stdenv.lib.maintainers.goibhniu ]; }; }; # 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"; # }; # # buildInputs = [ pkgs.setuptools ]; # doCheck = false; # # meta = { # description = "HgSVN"; # homepage = http://pypi.python.org/pypi/hgsvn; # }; # }; cliapp = buildPythonPackage rec { name = "cliapp-${version}"; version = "1.20140719"; disabled = isPy3k; src = fetchurl rec { url = "http://code.liw.fi/debian/pool/main/p/python-cliapp/python-cliapp_${version}.orig.tar.gz"; sha256 = "0kxl2q85n4ggvbw2m8crl11x8n637mx6y3a3b5ydw8nhlsiqijgp"; }; buildInputs = [ sphinx ]; # error: invalid command 'test' doCheck = false; meta = { homepage = http://liw.fi/cliapp/; description = "Python framework for Unix command line programs."; maintainers = [ stdenv.lib.maintainers.rickynils ]; }; }; tornado = buildPythonPackage rec { name = "tornado-3.2"; propagatedBuildInputs = [ backports_ssl_match_hostname_3_4_0_2 ]; src = fetchurl { url = "https://pypi.python.org/packages/source/t/tornado/${name}.tar.gz"; md5 = "bd83cee5f1a5c5e139e87996d00b251b"; }; doCheck = false; }; tornadokick = buildPythonPackage rec { name = "tornadokick-0.2.1"; propagatedBuildInputs = [ tornado ]; src = fetchurl { url = "https://pypi.python.org/packages/source/t/tornadokick/${name}.tar.gz"; md5 = "95ee5a295ce3f361c6f843c4f39cbb8c"; }; meta = { description = "The TornadoKick Web Toolkit for Tornado Web Framework."; homepage = http://github.com/multoncore/tornadokick; license = stdenv.lib.licenses.asl20; }; }; screenkey = buildPythonPackage rec { version = "0.2-b3634a2c6eb6d6936c3b2c1ef5078bf3a84c40c6"; name = "screenkey-${version}"; propagatedBuildInputs = [ pygtk distutils_extra xlib pkgs.xorg.xmodmap ]; preConfigure = '' substituteInPlace setup.py --replace "/usr/share" "./share" # disable the feature that binds a shortcut to turning on/off # screenkey. This is because keybinder is not packages in Nix as # of today. substituteInPlace Screenkey/screenkey.py \ --replace "import keybinder" "" \ --replace " keybinder.bind(self.options['hotkey'], self.hotkey_cb, show_item)" "" ''; src = fetchgit { url = https://github.com/scs3jb/screenkey.git; rev = "b3634a2c6eb6d6936c3b2c1ef5078bf3a84c40c6"; sha256 = "eb754917e98e03cb9d528eb5f57a08c88fa7a8172f92325a9fe796b2daf14db0"; }; meta = with stdenv.lib; { homepage = https://github.com/scs3jb/screenkey; description = "A screencast tool to show your keys"; license = stdenv.lib.licenses.gpl3Plus; maintainers = [ maintainers.DamienCassou ]; platforms = platforms.linux; }; }; tarman = buildPythonPackage rec { version = "0.1.3"; name = "tarman-${version}"; disabled = isPy3k; src = fetchurl { url = "https://pypi.python.org/packages/source/t/tarman/tarman-${version}.zip"; sha256 = "0ri6gj883k042xaxa2d5ymmhbw2bfcxdzhh4bz7700ibxwxxj62h"; }; buildInputs = [ unittest2 nose mock ]; propagatedBuildInputs = [ modules.curses libarchive ]; # tests are still failing doCheck = false; }; libarchive = buildPythonPackage rec { version = "3.1.2-1"; name = "libarchive-${version}"; disabled = isPy3k; src = fetchurl { url = "http://python-libarchive.googlecode.com/files/python-libarchive-${version}.tar.gz"; sha256 = "0j4ibc4mvq64ljya9max8832jafi04jciff9ia9qy0xhhlwkcx8x"; }; propagatedBuildInputs = [ pkgs.libarchive ]; }; pyzmq = buildPythonPackage rec { name = "pyzmq-13.0.0"; src = fetchurl { url = "http://pypi.python.org/packages/source/p/pyzmq/pyzmq-13.0.0.zip"; md5 = "fa2199022e54a393052d380c6e1a0934"; }; buildInputs = [ pkgs.zeromq3 ]; propagatedBuildInputs = [ ]; doCheck = false; }; tissue = buildPythonPackage rec { name = "tissue-0.9.2"; src = fetchurl { url = "http://pypi.python.org/packages/source/t/tissue/${name}.tar.gz"; md5 = "87dbcdafff41bfa1b424413f79aa9153"; }; buildInputs = [ nose ]; propagatedBuildInputs = [ pep8 ]; meta = { maintainers = [ stdenv.lib.maintainers.garbas stdenv.lib.maintainers.iElectric ]; platforms = stdenv.lib.platforms.all; }; }; tracing = buildPythonPackage rec { name = "tracing-${version}"; version = "0.8"; src = fetchurl rec { url = "http://code.liw.fi/debian/pool/main/p/python-tracing/python-tracing_${version}.orig.tar.gz"; sha256 = "1l4ybj5rvrrcxf8csyq7qx52izybd502pmx70zxp46gxqm60d2l0"; }; buildInputs = [ sphinx ]; # error: invalid command 'test' doCheck = false; meta = { homepage = http://liw.fi/tracing/; description = "Python debug logging helper."; maintainers = [ stdenv.lib.maintainers.rickynils ]; }; }; translationstring = buildPythonPackage rec { name = "translationstring-1.1"; src = fetchurl { url = "http://pypi.python.org/packages/source/t/translationstring/${name}.tar.gz"; md5 = "0979b46d8f0f852810c8ec4be5c26cf2"; }; meta = { maintainers = [ stdenv.lib.maintainers.garbas stdenv.lib.maintainers.iElectric ]; platforms = stdenv.lib.platforms.all; }; }; ttystatus = buildPythonPackage rec { name = "ttystatus-${version}"; version = "0.23"; disabled = isPy3k; src = fetchurl rec { url = "http://code.liw.fi/debian/pool/main/p/python-ttystatus/python-ttystatus_${version}.orig.tar.gz"; sha256 = "0ymimviyjyh2iizqilg88g4p26f5vpq1zm3cvg7dr7q4y3gmik8y"; }; buildInputs = [ sphinx ]; # error: invalid command 'test' doCheck = false; meta = { homepage = http://liw.fi/ttystatus/; description = "Progress and status updates on terminals for Python."; maintainers = [ stdenv.lib.maintainers.rickynils ]; }; }; larch = buildPythonPackage rec { name = "larch-${version}"; version = "1.20131130"; src = fetchurl rec { url = "http://code.liw.fi/debian/pool/main/p/python-larch/python-larch_${version}.orig.tar.gz"; sha256 = "1hfanp9l6yc5348i3f5sb8c5s4r43y382hflnbl6cnz4pm8yh5r7"; }; buildInputs = [ sphinx ]; propagatedBuildInputs = [ tracing ttystatus cliapp ]; # error: invalid command 'test' doCheck = false; meta = { homepage = http://liw.fi/larch/; description = "Python B-tree library."; maintainers = [ stdenv.lib.maintainers.rickynils ]; }; }; websocket_client = buildPythonPackage rec { name = "websocket-client-0.17.0"; src = fetchurl { url = "https://pypi.python.org/packages/source/w/websocket-client/${name}.tar.gz"; md5 = "c86591719085eaf4a01c2275e0c834fc"; }; propagatedBuildInputs = [ six backports_ssl_match_hostname_3_4_0_2 unittest2 argparse ]; meta = { homepage = https://github.com/liris/websocket-client; description = "Websocket client for python"; license = licenses.lgpl2; }; }; webhelpers = buildPythonPackage rec { name = "WebHelpers-1.3"; src = fetchurl { url = "http://pypi.python.org/packages/source/W/WebHelpers/${name}.tar.gz"; md5 = "32749ffadfc40fea51075a7def32588b"; }; buildInputs = [ routes markupsafe webob nose ]; # 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; }; }; whisper = buildPythonPackage rec { name = "whisper-${version}"; version = "0.9.12"; src = fetchurl { url = "https://pypi.python.org/packages/source/w/whisper/${name}.tar.gz"; md5 = "5fac757cc4822ab0678dbe0d781d904e"; }; # error: invalid command 'test' doCheck = false; meta = with stdenv.lib; { homepage = http://graphite.wikidot.com/; description = "Fixed size round-robin style database"; maintainers = with maintainers; [ rickynils offline ]; }; }; carbon = buildPythonPackage rec { name = "carbon-${version}"; version = "0.9.12"; src = fetchurl { url = "https://pypi.python.org/packages/source/c/carbon/${name}.tar.gz"; md5 = "66967d5a622fd29973838fcd10eb34f3"; }; propagatedBuildInputs = [ whisper txamqp zope_interface twisted ]; # error: invalid command 'test' doCheck = false; meta = with stdenv.lib; { homepage = http://graphite.wikidot.com/; description = "Backend data caching and persistence daemon for Graphite"; maintainers = with maintainers; [ rickynils offline ]; }; }; ujson = buildPythonPackage rec { name = "ujson-1.33"; disabled = isPyPy; src = fetchurl { url = "https://pypi.python.org/packages/source/u/ujson/${name}.zip"; md5 = "8148a2493fff78940feab1e11dc0a893"; }; meta = { homepage = http://pypi.python.org/pypi/ujson; description = "Ultra fast JSON encoder and decoder for Python"; license = licenses.bsd3; }; }; unidecode = buildPythonPackage rec { name = "Unidecode-0.04.12"; src = fetchurl { url = "http://pypi.python.org/packages/source/U/Unidecode/${name}.tar.gz"; md5 = "351dc98f4512bdd2e93f7a6c498730eb"; }; meta = { homepage = http://pypi.python.org/pypi/Unidecode/; description = "ASCII transliterations of Unicode text"; license = licenses.gpl2; maintainers = [ stdenv.lib.maintainers.iElectric ]; }; }; pyusb = buildPythonPackage rec { name = "pyusb-1.0.0b1"; src = fetchurl { url = "https://pypi.python.org/packages/source/p/pyusb/${name}.tar.gz"; md5 = "5cc9c7dd77b4d12fcc22fee3b39844bc"; }; # Fix the USB backend library lookup postPatch = '' libusb=${pkgs.libusb1}/lib/libusb-1.0.so test -f $libusb || { echo "ERROR: $libusb doesn't exist, please update/fix this build expression."; exit 1; } sed -i -e "s|libname = .*|libname = \"$libusb\"|" usb/backend/libusb1.py ''; meta = with stdenv.lib; { description = "Python USB access module (wraps libusb 1.0)"; # can use other backends homepage = http://pyusb.sourceforge.net/; license = "BSD"; maintainers = [ maintainers.bjornfor ]; }; }; usbtmc = buildPythonPackage rec { name = "usbtmc-${version}"; version = "0.5"; src = fetchurl { url = "https://github.com/python-ivi/python-usbtmc/archive/v${version}.tar.gz"; sha256 = "0xn8whjcdn8wgs9j1gj7sw7fh425akdmq3hi448m36fywldbhryg"; }; propagatedBuildInputs = [ pyusb ]; meta = { description = "Python implementation of the USBTMC instrument control protocol"; homepage = http://alexforencich.com/wiki/en/python-usbtmc/start; license = licenses.mit; maintainers = [ maintainers.bjornfor ]; }; }; txamqp = buildPythonPackage rec { name = "txamqp-${version}"; version = "0.3"; src = fetchurl rec { url = "https://launchpad.net/txamqp/trunk/${version}/+download/python-txamqp_${version}.orig.tar.gz"; sha256 = "1r2ha0r7g14i4b5figv2spizjrmgfpspdbl1m031lw9px2hhm463"; }; buildInputs = [ twisted ]; meta = { homepage = https://launchpad.net/txamqp; description = "Library for communicating with AMQP peers and brokers using Twisted"; maintainers = [ stdenv.lib.maintainers.rickynils ]; }; }; versiontools = buildPythonPackage rec { name = "versiontools-1.9.1"; doCheck = (!isPy3k); src = fetchurl { url = "https://pypi.python.org/packages/source/v/versiontools/${name}.tar.gz"; sha256 = "1xhl6kl7f4srgnw6zw4lr8j2z5vmrbaa83nzn2c9r2m1hwl36sd9"; }; }; graphite_web = buildPythonPackage rec { name = "graphite-web-${version}"; version = "0.9.12"; src = fetchurl rec { url = "https://pypi.python.org/packages/source/g/graphite-web/${name}.tar.gz"; md5 = "8edbb61f1ffe11c181bd2cb9ec977c72"; }; propagatedBuildInputs = [ django_1_3 django_tagging modules.sqlite3 whisper pkgs.pycairo ldap memcached ]; postInstall = '' wrapProgram $out/bin/run-graphite-devel-server.py \ --prefix PATH : ${pkgs.which}/bin ''; preConfigure = '' substituteInPlace webapp/graphite/thirdparty/pytz/__init__.py --replace '/usr/share/zoneinfo' '/etc/zoneinfo' substituteInPlace webapp/graphite/settings.py --replace "join(WEBAPP_DIR, 'content')" "join('$out', 'webapp', 'content')" cp webapp/graphite/manage.py bin/manage-graphite.py substituteInPlace bin/manage-graphite.py --replace 'settings' 'graphite.settings' ''; # error: invalid command 'test' doCheck = false; meta = with stdenv.lib; { homepage = http://graphite.wikidot.com/; description = "Enterprise scalable realtime graphing"; maintainers = with maintainers; [ rickynils offline ]; }; }; graphite_api = buildPythonPackage rec { name = "graphite-api-1.0.1"; disabled = isPyPy; src = fetchgit { url = "https://github.com/brutasse/graphite-api.git"; rev = "b6f75e8a08fae695c094fece6de611b893fc65fb"; sha256 = "41b90d5f35e99a020a6b1b77938690652521d1841b3165574fcfcee807ce4e6a"; }; checkPhase = "nosetests"; propagatedBuildInputs = [ flask flask_cache cairocffi pyparsing pytz pyyaml raven six structlog tzlocal ]; buildInputs = [ nose mock ]; LD_LIBRARY_PATH = "${pkgs.cairo}/lib"; meta = { description = "Graphite-web, without the interface. Just the rendering HTTP API."; homepage = https://github.com/brutasse/graphite-api; license = licenses.asl20; }; }; graphite_influxdb = buildPythonPackage rec { name = "graphite-influxdb-0.3"; src = fetchgit { url = "https://github.com/vimeo/graphite-influxdb.git"; rev = "2273d12a24e1d804685a36debfd4224b7416b62f"; sha256 = "e386eaf190793d3ad0a42a74b9e137a968a51fc3806f602ff756e09c0c0648a8"; }; propagatedBuildInputs = [ influxdb graphite_api ]; passthru.moduleName = "graphite_influxdb.InfluxdbFinder"; meta = { description = "An influxdb backend for Graphite-web and graphite-api"; homepage = https://github.com/vimeo/graphite-influxdb; license = licenses.asl20; }; }; pyspotify = buildPythonPackage rec { name = "pyspotify-${version}"; version = "1.11"; src = fetchurl { url = "https://github.com/mopidy/pyspotify/archive/v1.11.tar.gz"; sha256 = "089ml6pqr3f2d15n70jpzbaqjp5pjgqlyv4algkxw92xscjw2izg"; }; buildInputs = [ pkgs.libspotify ] ++ stdenv.lib.optional stdenv.isDarwin pkgs.install_name_tool; # python zip complains about old timestamps preConfigure = '' find -print0 | xargs -0 touch ''; postInstall = stdenv.lib.optionalString stdenv.isDarwin '' find "$out" -name _spotify.so -exec \ install_name_tool -change \ @loader_path/../Frameworks/libspotify.framework/libspotify \ ${pkgs.libspotify}/lib/libspotify.dylib \ {} \; ''; # There are no tests doCheck = false; meta = with stdenv.lib; { homepage = http://pyspotify.mopidy.com; description = "A Python interface to Spotify’s online music streaming service"; license = licenses.unfree; maintainers = with maintainers; [ lovek323 rickynils ]; platforms = platforms.unix; }; }; pykka = buildPythonPackage rec { name = "pykka-${version}"; version = "1.2.0"; src = fetchgit { url = "https://github.com/jodal/pykka.git"; rev = "refs/tags/v${version}"; sha256 = "17vv2q636zp2fvxrp7ckgnz1ifaffcj5vdxvfb4isd1d32c49amb"; }; # There are no tests doCheck = false; meta = with stdenv.lib; { homepage = http://www.pykka.org; description = "A Python implementation of the actor model"; maintainers = [ maintainers.rickynils ]; }; }; ws4py = buildPythonPackage rec { name = "ws4py-${version}"; version = "git-20130303"; src = fetchgit { url = "https://github.com/Lawouach/WebSocket-for-Python.git"; rev = "ace276500ca7e4c357595e3773be151d37bcd6e2"; sha256 = "04m4m3ncn7g4rb81xg5n28imns7rsq8d2w98gjpaib6vlmyly3g1"; }; # python zip complains about old timestamps preConfigure = '' find -print0 | xargs -0 touch ''; # Tests depend on other packages doCheck = false; meta = { homepage = https://ws4py.readthedocs.org; description = "A WebSocket package for Python"; maintainers = [ stdenv.lib.maintainers.rickynils ]; }; }; gdata = buildPythonPackage rec { name = "gdata-${version}"; version = "2.0.17"; src = fetchurl { url = "https://gdata-python-client.googlecode.com/files/${name}.tar.gz"; # sha1 = "d2d9f60699611f95dd8c328691a2555e76191c0c"; sha256 = "0bdaqmicpbj9v3p0swvyrqs7m35bzwdw1gy56d3k09np692jfwmd"; }; # Fails with "error: invalid command 'test'" doCheck = false; meta = { homepage = https://code.google.com/p/gdata-python-client/; description = "Python client library for Google data APIs"; license = licenses.asl20; }; }; IMAPClient = buildPythonPackage rec { name = "IMAPClient-${version}"; version = "0.11"; disabled = isPy34; src = fetchurl { url = "http://freshfoo.com/projects/IMAPClient/${name}.tar.gz"; sha256 = "1w54h8gz25qf6ggazzp6xf7kvsyiadsjfkkk17gm0p6pmzvvccbn"; }; buildInputs = [ mock ]; preConfigure = '' sed -i '/distribute_setup/d' setup.py substituteInPlace setup.py --replace "mock==0.8.0" "mock" ''; meta = { homepage = http://imapclient.freshfoo.com/; description = "Easy-to-use, Pythonic and complete IMAP client library"; license = licenses.bsd3; }; }; Logbook = buildPythonPackage rec { name = "Logbook-${version}"; version = "0.4.2"; src = fetchurl { url = "https://pypi.python.org/packages/source/L/Logbook/${name}.tar.gz"; # md5 = "143cb15af4c4a784ca785a1546ad1b93"; sha256 = "1g2pnhxh7m64qsrs0ifwcmpfk7gqjvrawd8z66i001rsdnq778v0"; }; meta = { homepage = http://pythonhosted.org/Logbook/; description = "A logging replacement for Python"; license = licenses.bsd3; }; }; libvirt = pkgs.stdenv.mkDerivation rec { name = "libvirt-python-${version}"; version = "1.2.7"; src = fetchurl { url = "http://libvirt.org/sources/python/${name}.tar.gz"; sha256 = "0wg0pnvrwfjdl8haxr2dyfhdasddq97zy6l27xwrvd1hnh1394f1"; }; buildInputs = [ python pkgs.pkgconfig pkgs.libvirt lxml ]; buildPhase = "python setup.py build"; installPhase = "python setup.py install --prefix=$out"; meta = { homepage = http://www.libvirt.org/; description = "libvirt Python bindings"; license = pkgs.lib.licenses.lgpl2; }; }; searx = buildPythonPackage rec { name = "searx-${rev}"; rev = "44d3af9fb2482cd0df1a8ababbe2fdf27ab33172"; src = fetchgit { url = "git://github.com/asciimoo/searx"; inherit rev; sha256 = "1w505pzdkkcglq782wg7f5fxrw9i5jzp7px20c2xz18pps2m3rsm"; }; propagatedBuildInputs = [ pyyaml lxml grequests flaskbabel flask requests gevent speaklater Babel pytz dateutil ]; meta = { homepage = https://github.com/asciimoo/searx; description = "A privacy-respecting, hackable metasearch engine"; license = stdenv.lib.licenses.agpl3Plus; maintainers = [ stdenv.lib.maintainers.matejc ]; }; }; grequests = buildPythonPackage rec { name = "grequests-0.2.0"; src = fetchurl { url = "http://pypi.python.org/packages/source/g/grequests/${name}.tar.gz"; sha256 = "0lafzax5igbh8y4x0krizr573wjsxz7bhvwygiah6qwrzv83kv5c"; }; buildInputs = [ requests gevent ]; meta = { description = "GRequests allows you to use Requests with Gevent to make asyncronous HTTP Requests easily."; homepage = https://github.com/kennethreitz/grequests; license = "bsd"; maintainers = [ stdenv.lib.maintainers.matejc ]; }; }; flaskbabel = buildPythonPackage rec { name = "Flask-Babel-0.9"; src = fetchurl { url = "http://pypi.python.org/packages/source/F/Flask-Babel/${name}.tar.gz"; sha256 = "0k7vk4k54y55ma0nx2k5s0phfqbriwslhy5shh3b0d046q7ibzaa"; }; buildInputs = [ flask jinja2 speaklater Babel pytz ]; meta = { description = "Adds i18n/l10n support to Flask applications"; homepage = https://github.com/mitsuhiko/flask-babel; license = "bsd"; maintainers = [ stdenv.lib.maintainers.matejc ]; }; }; speaklater = buildPythonPackage rec { name = "speaklater-1.3"; src = fetchurl { url = "http://pypi.python.org/packages/source/s/speaklater/${name}.tar.gz"; sha256 = "1ab5dbfzzgz6cnz4xlwx79gz83id4bhiw67k1cgqrlzfs0va7zjr"; }; meta = { description = "implements a lazy string for python useful for use with gettext"; homepage = https://github.com/mitsuhiko/speaklater; license = "bsd"; maintainers = [ stdenv.lib.maintainers.matejc ]; }; }; power = buildPythonPackage rec { name = "power-1.2"; src = fetchurl { url = "http://pypi.python.org/packages/source/p/power/${name}.tar.gz"; sha256 = "09a00af8357f63dbb1a1eb13b82e39ccc0a14d6d2e44e5b235afe60ce8ee8195"; }; meta = { description = "Cross-platform system power status information"; homepage = https://github.com/Kentzo/Power; license = stdenv.lib.licenses.mit; }; }; udiskie = buildPythonPackage rec { version = "1.1.2"; name = "udiskie-${version}"; src = fetchurl { url = "https://github.com/coldfix/udiskie/archive/${version}.tar.gz"; sha256 = "07fyvwp4rga47ayfsmb79p2784sqrih0sglwnd9c4x6g63xgljvb"; }; propagatedBuildInputs = with pythonPackages; [ pygtk pyyaml pygobject dbus notify pkgs.udisks2 pkgs.gettext ]; # tests require dbusmock doCheck = false; meta = with stdenv.lib; { description = "Removable disk automounter for udisks"; license = licenses.mit; homepage = https://github.com/coldfix/udiskie; maintainers = [ maintainers.AndersonTorres ]; }; }; pythonefl_1_11 = buildPythonPackage rec { name = "python-efl-${version}"; version = "1.11.0"; src = fetchurl { url = "http://download.enlightenment.org/rel/bindings/python/${name}.tar.xz"; sha256 = "1d4hj39alg6j7ah1bc8wvlka9d13i8iy3fxxraik2f60w6811i48"; }; preConfigure = '' export NIX_CFLAGS_COMPILE="-I${pkgs.e19.efl}/include/eo-1 -I${pkgs.e19.efl}/include/eina-1 -I${pkgs.e19.efl}/include/eina-1/eina -I${pkgs.e19.efl}/include/evas-1 -I${dbus}/include/dbus-1.0 -I${pkgs.e19.efl}/include/efl-1 -I${pkgs.e19.efl}/include/eet-1 -I${pkgs.e19.efl}/include/ecore-1 -I${pkgs.e19.efl}/include/ecore-evas-1 -I${pkgs.e19.efl}/include/ecore-file-1 -I${pkgs.e19.efl}/include/ecore-input-1 -I${pkgs.e19.efl}/include/ecore-imf-1 -I${pkgs.e19.efl}/include/ecore-con-1 -I${pkgs.e19.efl}/include/edje-1 -I${pkgs.e19.efl}/include/eldbus-1 -I${pkgs.e19.efl}/include/efreet-1 -I${pkgs.e19.efl}/include/ethumb-client-1 -I${pkgs.e19.efl}/include/ethumb-1 -I${pkgs.e19.efl}/include/ecore-x-1 $NIX_CFLAGS_COMPILE" ''; buildInputs = [ pkgs.pkgconfig pkgs.e19.efl pkgs.e19.elementary ]; meta = { description = "Python bindings for EFL and Elementary."; homepage = http://enlightenment.org/; maintainers = [ stdenv.lib.maintainers.matejc ]; platforms = stdenv.lib.platforms.linux; license = stdenv.lib.licenses.gpl3; }; }; pythonefl = buildPythonPackage rec { name = "python-efl-${version}"; version = "1.10.0"; src = fetchurl { url = "http://download.enlightenment.org/rel/bindings/python/${name}.tar.gz"; sha256 = "1inv2qalnm9paifdwyh9q3ffxcp9bjj92phvfw1rgkaildvfji5i"; }; preConfigure = '' export NIX_CFLAGS_COMPILE="-I${pkgs.e18.efl}/include/eo-1 -I${pkgs.e18.efl}/include/eina-1 -I${pkgs.e18.efl}/include/eina-1/eina -I${pkgs.e18.efl}/include/evas-1 -I${dbus}/include/dbus-1.0 -I${pkgs.e18.efl}/include/efl-1 -I${pkgs.e18.efl}/include/eet-1 -I${pkgs.e18.efl}/include/ecore-1 -I${pkgs.e18.efl}/include/ecore-evas-1 -I${pkgs.e18.efl}/include/ecore-file-1 -I${pkgs.e18.efl}/include/ecore-input-1 -I${pkgs.e18.efl}/include/ecore-imf-1 -I${pkgs.e18.efl}/include/ecore-con-1 -I${pkgs.e18.efl}/include/edje-1 -I${pkgs.e18.efl}/include/eldbus-1 -I${pkgs.e18.efl}/include/efreet-1 -I${pkgs.e18.efl}/include/ethumb-client-1 -I${pkgs.e18.efl}/include/ethumb-1 -I${pkgs.e18.efl}/include/ecore-x-1 $NIX_CFLAGS_COMPILE" ''; buildInputs = [ pkgs.pkgconfig pkgs.e18.efl pkgs.e18.elementary ]; meta = { description = "Python bindings for EFL and Elementary."; homepage = http://enlightenment.org/; maintainers = [ stdenv.lib.maintainers.matejc ]; platforms = stdenv.lib.platforms.linux; license = stdenv.lib.licenses.gpl3; }; }; snapperGUI = buildPythonPackage rec { name = "Snapper-GUI"; src = fetchgit { url = "https://github.com/ricardomv/snapper-gui"; rev = "11d98586b122180c75a86fccda45c4d7e3137591"; sha256 = "7a9f86fc17dbf130526e70c3e925eac30e2c74d6b932efbf7e7cd9fbba6dc4b1"; }; # no tests available doCheck = false; propagatedBuildInputs = with pythonPackages; [ pygobject3 dbus ]; meta = { homepage = https://github.com/ricardomv/snapper-gui; description = "Graphical frontend for snapper"; license = licenses.gpl2; maintainers = [ stdenv.lib.maintainers.tstrobel ]; }; }; redNotebook = buildPythonPackage rec { name = "rednotebook-1.8.1"; src = fetchurl { url = "mirror://sourceforge/rednotebook/${name}.tar.gz"; sha256 = "00b7s4xpqpxsbzjvjx9qsx5d84m9pvn383c5di1nsfh35pig0rzn"; }; # no tests available doCheck = false; propagatedBuildInputs = with pythonPackages; [ pygtk pywebkitgtk pyyaml chardet ]; meta = { homepage = http://rednotebook.sourceforge.net/index.html; description = "A modern journal that includes a calendar navigation, customizable templates, export functionality and word clouds"; license = licenses.gpl2; maintainers = [ stdenv.lib.maintainers.tstrobel ]; }; }; # python2.7 specific packages } // optionalAttrs isPy27 ( with pythonPackages; { pypi2nix = pythonPackages.buildPythonPackage rec { rev = "04a68d8577acbceb88bdf51b1231a9dbdead7003"; name = "pypi2nix-1.0_${rev}"; src = pkgs.fetchurl { url = "https://github.com/garbas/pypi2nix/tarball/${rev}"; name = "${name}.tar.bz"; sha256 = "1fv85x2bz442iyxsvka2g75zibjcq48gp2fc7szaqcfqxq42syy9"; }; doCheck = false; meta = { homepage = https://github.com/garbas/pypi2nix; description = ""; maintainers = [ pkgs.stdenv.lib.maintainers.garbas ]; }; }; thumbor = pythonPackages.buildPythonPackage rec { name = "thumbor-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 = "https://pypi.python.org/packages/source/t/thumbor/${name}.tar.gz"; md5 = "cf639a1cc57ee287b299ace450444408"; }; meta = { description = "Thumbor is a smart imaging service. It enables on-demand crop, resizing and flipping of images."; homepage = https://github.com/globocom/thumbor/wiki; license = licenses.mit; }; }; thumborPexif = pythonPackages.buildPythonPackage rec { name = "thumbor-pexif-0.14"; src = fetchurl { url = "https://pypi.python.org/packages/source/t/thumbor-pexif/${name}.tar.gz"; md5 = "fb4cdb60f4a0bead5193fb483ccd3430"; }; meta = { description = "Module to parse and edit the EXIF data tags in a JPEG image"; homepage = http://www.benno.id.au/code/pexif/; license = licenses.mit; }; }; pync = buildPythonPackage rec { version = "1.4"; baseName = "pync"; name = "${baseName}-${version}"; src = fetchurl { url = "https://pypi.python.org/packages/source/p/${baseName}/${name}.tar.gz"; md5 = "5cc79077f386a17b539f1e51c05a3650"; }; buildInputs = [ pkgs.coreutils ]; propagatedBuildInputs = [ dateutil ]; preInstall = stdenv.lib.optionalString stdenv.isDarwin '' sed -i 's|^\([ ]*\)self.bin_path.*$|\1self.bin_path = "${pkgs.rubyLibs.terminal_notifier}/bin/terminal-notifier"|' build/lib/pync/TerminalNotifier.py ''; meta = with stdenv.lib; { description = "Python Wrapper for Mac OS 10.8 Notification Center"; homepage = https://pypi.python.org/pypi/pync/1.4; license = licenses.mit; platforms = platforms.darwin; maintainers = [ maintainers.lovek323 ]; }; }; weboob = buildPythonPackage rec { name = "weboob-0.j"; src = fetchurl { url = "https://symlink.me/attachments/download/271/${name}.tar.gz"; md5 = "9e11b1f376ccb87d35995ec87bba5b38"; }; setupPyBuildFlags = ["--qt" "--xdg"]; propagatedBuildInputs = [ pillow prettytable pyyaml dateutil gdata requests2 mechanize feedparser lxml pkgs.gnupg pyqt4 pkgs.libyaml simplejson cssselect ]; meta = { homepage = http://weboob.org; description = "Collection of applications and APIs to interact with websites without requiring the user to open a browser"; license = stdenv.lib.licenses.agpl3; maintainers = [ stdenv.lib.maintainers.DamienCassou ]; }; }; }); in pythonPackages