Permalink
Switch branches/tags
v206 v192 release-16.03-start last-glibc-2.13 black@2016-05-13 binary backups/0.12-release@15293 backups/0.11-release@9315 backups/0.10-release@6725 backups/0.9-release@4651 backups/0.8-release@2530 backups/0.7-release@2398 backups/0.6-release@1775 backups/0.5.1-release@996 backups/0.5-stable@34171 backups/0.5-release@989 backups/xorg-7.5@18179 backups/x86_64-darwin@34171 backups/x-updates@26704 backups/x-updates@22736 backups/usability@34170 backups/udev-173@28837 backups/stdenv-updates@34093 backups/stdenv-updates@32824 backups/stdenv-updates@19858 backups/stdenv-updates@18281 backups/stdenv-updates@15332 backups/stdenv-updates@12144 backups/stdenv-updates@10965 backups/stdenv-updates2@18282 backups/stdenv-updates2@18273 backups/stdenv-updates-merge@10849 backups/stdenv-bootstrap-20100825@23426 backups/stdenv-ada@26758 backups/pure-python@34174 backups/parallel-building-merger@34171 backups/one-click@2549 backups/nixos-pkgs@34170 backups/multitask-builds@34175 backups/multiple-outputs-sandbox@34172 backups/modular-python@26697 backups/master@10848 backups/master@59 backups/mass-update-01@31456 backups/martin@828 backups/martin2@34171 backups/logistics@34171 backups/libpng15@32782 backups/kmod-no-lib-modules@34172 backups/kmod-MODULE_DIR@33576 backups/kernel-config@19023 backups/kde-4.7@34170 backups/glib-2.30@32938 backups/glib-2.30-take2@33502 backups/freebsd-losser@34171 backups/drop-kde4.5@30929 backups/darwin-without-xcode@34172 backups/darwin-updates@34176 backups/cve-2010-3856@34170 backups/armv5tel-linux@18007 18.09-beta 18.03 18.03-beta 17.09 17.09-beta 17.03 17.03-beta 16.09 16.09-beta 16.03 16.03-beta 15.09 15.09-beta 0.14 0.13 0.12 0.11 0.10 0.9 0.8 0.7 0.6 0.5.1 0.5 0.4 0.3 0.2 0.1
Nothing to show
Find file Copy path
3126be4 Sep 18, 2018
564 contributors

Users who have contributed to this file

@FRidh @domenkozar @Mic92 @lsix @dotlambda @abbradar @vcunat @aszlig @peti @etu @nckx @bjornfor @garbas @fpletz @chaoflow @edolstra @lethalman @adisbladis @dezgeg @offlinehacker @cillianderoiste @wizzup @wkennington @7c6f434c @teh @pSub
17161 lines (12819 sloc) 507 KB
# This file contains the Python packages set.
# Each attribute is a Python library or a helper function.
# Expressions for Python libraries are supposed to be in `pkgs/development/python-modules/<name>/default.nix`.
# Python packages that do not need to be available for each interpreter version do not belong in this packages set.
# Examples are Python-based cli tools.
#
# For more details, please see the Python section in the Nixpkgs manual.
{ pkgs
, stdenv
, python
, overrides ? (self: super: {})
}:
with pkgs.lib;
let
packages = ( self:
let
pythonAtLeast = versionAtLeast python.pythonVersion;
pythonOlder = versionOlder python.pythonVersion;
isPy27 = python.pythonVersion == "2.7";
isPy33 = python.pythonVersion == "3.3";
isPy34 = python.pythonVersion == "3.4";
isPy35 = python.pythonVersion == "3.5";
isPy36 = python.pythonVersion == "3.6";
isPy37 = python.pythonVersion == "3.7";
isPyPy = python.executable == "pypy";
isPy3k = strings.substring 0 1 python.pythonVersion == "3";
callPackage = pkgs.newScope self;
namePrefix = python.libPrefix + "-";
bootstrapped-pip = callPackage ../development/python-modules/bootstrapped-pip { };
# Derivations built with `buildPythonPackage` can already be overriden with `override`, `overrideAttrs`, and `overrideDerivation`.
# This function introduces `overridePythonAttrs` and it overrides the call to `buildPythonPackage`.
makeOverridablePythonPackage = f: origArgs:
let
ff = f origArgs;
overrideWith = newArgs: origArgs // (if pkgs.lib.isFunction newArgs then newArgs origArgs else newArgs);
in
if builtins.isAttrs ff then (ff // {
overridePythonAttrs = newArgs: makeOverridablePythonPackage f (overrideWith newArgs);
})
else if builtins.isFunction ff then {
overridePythonAttrs = newArgs: makeOverridablePythonPackage f (overrideWith newArgs);
__functor = self: ff;
}
else ff;
buildPythonPackage = makeOverridablePythonPackage ( makeOverridable (callPackage ../development/interpreters/python/build-python-package.nix {
inherit bootstrapped-pip;
flit = self.flit;
# We want Python libraries to be named like e.g. "python3.6-${name}"
inherit namePrefix;
inherit toPythonModule;
}));
buildPythonApplication = makeOverridablePythonPackage ( makeOverridable (callPackage ../development/interpreters/python/build-python-package.nix {
inherit bootstrapped-pip;
flit = self.flit;
namePrefix = "";
toPythonModule = x: x; # Application does not provide modules.
}));
# See build-setupcfg/default.nix for documentation.
buildSetupcfg = import ../build-support/build-setupcfg self;
fetchPypi = makeOverridable( {format ? "setuptools", ... } @attrs:
let
fetchWheel = {pname, version, sha256, python ? "py2.py3", abi ? "none", platform ? "any"}:
# Fetch a wheel. By default we fetch an universal wheel.
# See https://www.python.org/dev/peps/pep-0427/#file-name-convention for details regarding the optional arguments.
let
url = "https://files.pythonhosted.org/packages/${python}/${builtins.substring 0 1 pname}/${pname}/${pname}-${version}-${python}-${abi}-${platform}.whl";
in pkgs.fetchurl {inherit url sha256;};
fetchSource = {pname, version, sha256, extension ? "tar.gz"}:
# Fetch a source tarball.
let
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${pname}-${version}.${extension}";
in pkgs.fetchurl {inherit url sha256;};
fetcher = (if format == "wheel" then fetchWheel
else if format == "setuptools" then fetchSource
else throw "Unsupported kind ${kind}");
in fetcher (builtins.removeAttrs attrs ["format"]) );
# Check whether a derivation provides a Python module.
hasPythonModule = drv: drv?pythonModule && drv.pythonModule == python;
# Get list of required Python modules given a list of derivations.
requiredPythonModules = drvs: let
modules = filter hasPythonModule drvs;
in unique ([python] ++ modules ++ concatLists (catAttrs "requiredPythonModules" modules));
# Create a PYTHONPATH from a list of derivations. This function recurses into the items to find derivations
# providing Python modules.
makePythonPath = drvs: stdenv.lib.makeSearchPath python.sitePackages (requiredPythonModules drvs);
removePythonPrefix = name:
removePrefix namePrefix name;
# Convert derivation to a Python module.
toPythonModule = drv:
drv.overrideAttrs( oldAttrs: {
# Use passthru in order to prevent rebuilds when possible.
passthru = (oldAttrs.passthru or {})// {
pythonModule = python;
pythonPath = [ ]; # Deprecated, for compatibility.
requiredPythonModules = requiredPythonModules drv.propagatedBuildInputs;
};
});
# Convert a Python library to an application.
toPythonApplication = drv:
drv.overrideAttrs( oldAttrs: {
passthru = (oldAttrs.passthru or {}) // {
# Remove Python prefix from name so we have a "normal" name.
# While the prefix shows up in the store path, it won't be
# used by `nix-env`.
name = removePythonPrefix oldAttrs.name;
pythonModule = false;
};
});
disabledIf = x: drv:
if x then throw "${removePythonPrefix (drv.pname or drv.name)} not supported for interpreter ${python.executable}" else drv;
in {
inherit python bootstrapped-pip pythonAtLeast pythonOlder isPy27 isPy33 isPy34 isPy35 isPy36 isPy37 isPyPy isPy3k buildPythonPackage buildPythonApplication;
inherit fetchPypi callPackage;
inherit hasPythonModule requiredPythonModules makePythonPath disabledIf;
inherit toPythonModule toPythonApplication;
inherit buildSetupcfg;
# helpers
wrapPython = callPackage ../development/interpreters/python/wrap-python.nix {inherit python; inherit (pkgs) makeSetupHook makeWrapper; };
# specials
recursivePthLoader = callPackage ../development/python-modules/recursive-pth-loader { };
setuptools = toPythonModule (callPackage ../development/python-modules/setuptools { });
vowpalwabbit = callPackage ../development/python-modules/vowpalwabbit {
boost = pkgs.boost160;
};
acoustics = callPackage ../development/python-modules/acoustics { };
py3to2 = callPackage ../development/python-modules/3to2 { };
# Left for backwards compatibility
"3to2" = self.py3to2;
absl-py = callPackage ../development/python-modules/absl-py { };
aenum = callPackage ../development/python-modules/aenum { };
affinity = callPackage ../development/python-modules/affinity { };
agate = callPackage ../development/python-modules/agate { };
agate-dbf = callPackage ../development/python-modules/agate-dbf { };
phonenumbers = callPackage ../development/python-modules/phonenumbers { };
agate-excel = callPackage ../development/python-modules/agate-excel { };
agate-sql = callPackage ../development/python-modules/agate-sql { };
aioimaplib = callPackage ../development/python-modules/aioimaplib { };
aioamqp = callPackage ../development/python-modules/aioamqp { };
ansicolor = callPackage ../development/python-modules/ansicolor { };
argon2_cffi = callPackage ../development/python-modules/argon2_cffi { };
asana = callPackage ../development/python-modules/asana { };
ase = callPackage ../development/python-modules/ase { };
asn1crypto = callPackage ../development/python-modules/asn1crypto { };
aspy-yaml = callPackage ../development/python-modules/aspy.yaml { };
astral = callPackage ../development/python-modules/astral { };
astropy = callPackage ../development/python-modules/astropy { };
augeas = callPackage ../development/python-modules/augeas {
inherit (pkgs) augeas;
};
authres = callPackage ../development/python-modules/authres { };
autograd = callPackage ../development/python-modules/autograd { };
automat = callPackage ../development/python-modules/automat { };
aws-sam-translator = callPackage ../development/python-modules/aws-sam-translator { };
aws-xray-sdk = callPackage ../development/python-modules/aws-xray-sdk { };
aws-adfs = callPackage ../development/python-modules/aws-adfs { };
# packages defined elsewhere
amazon_kclpy = callPackage ../development/python-modules/amazon_kclpy { };
ansiconv = callPackage ../development/python-modules/ansiconv { };
backports_csv = callPackage ../development/python-modules/backports_csv {};
backports-shutil-which = callPackage ../development/python-modules/backports-shutil-which {};
bap = callPackage ../development/python-modules/bap {
bap = pkgs.ocamlPackages.bap;
};
bash_kernel = callPackage ../development/python-modules/bash_kernel { };
bayespy = callPackage ../development/python-modules/bayespy { };
bitcoinlib = callPackage ../development/python-modules/bitcoinlib { };
bitcoin-price-api = callPackage ../development/python-modules/bitcoin-price-api { };
blivet = callPackage ../development/python-modules/blivet { };
breathe = callPackage ../development/python-modules/breathe { };
browser-cookie3 = callPackage ../development/python-modules/browser-cookie3 { };
browsermob-proxy = disabledIf isPy3k (callPackage ../development/python-modules/browsermob-proxy {});
bugseverywhere = callPackage ../applications/version-management/bugseverywhere {};
cdecimal = callPackage ../development/python-modules/cdecimal { };
clustershell = callPackage ../development/python-modules/clustershell { };
cozy = callPackage ../development/python-modules/cozy { };
dendropy = callPackage ../development/python-modules/dendropy { };
dependency-injector = callPackage ../development/python-modules/dependency-injector { };
dbf = callPackage ../development/python-modules/dbf { };
dbfread = callPackage ../development/python-modules/dbfread { };
deap = callPackage ../development/python-modules/deap { };
dkimpy = callPackage ../development/python-modules/dkimpy { };
dictionaries = callPackage ../development/python-modules/dictionaries { };
diff_cover = callPackage ../development/python-modules/diff_cover { };
docrep = callPackage ../development/python-modules/docrep { };
dominate = callPackage ../development/python-modules/dominate { };
emcee = callPackage ../development/python-modules/emcee { };
email_validator = callPackage ../development/python-modules/email-validator { };
ewmh = callPackage ../development/python-modules/ewmh { };
exchangelib = callPackage ../development/python-modules/exchangelib { };
dbus-python = callPackage ../development/python-modules/dbus {
dbus = pkgs.dbus;
};
dftfit = callPackage ../development/python-modules/dftfit { };
discid = callPackage ../development/python-modules/discid { };
discordpy = callPackage ../development/python-modules/discordpy { };
parver = callPackage ../development/python-modules/parver { };
arpeggio = callPackage ../development/python-modules/arpeggio { };
invoke = callPackage ../development/python-modules/invoke { };
distorm3 = callPackage ../development/python-modules/distorm3 { };
distributed = callPackage ../development/python-modules/distributed { };
docutils = callPackage ../development/python-modules/docutils { };
dogtail = callPackage ../development/python-modules/dogtail { };
diff-match-patch = callPackage ../development/python-modules/diff-match-patch { };
fido2 = callPackage ../development/python-modules/fido2 { };
fire = callPackage ../development/python-modules/fire { };
fuse = callPackage ../development/python-modules/fuse-python { fuse = pkgs.fuse; };
genanki = callPackage ../development/python-modules/genanki { };
globus-sdk = callPackage ../development/python-modules/globus-sdk { };
goocalendar = callPackage ../development/python-modules/goocalendar { };
gssapi = callPackage ../development/python-modules/gssapi { };
h5py = callPackage ../development/python-modules/h5py {
hdf5 = pkgs.hdf5;
};
h5py-mpi = self.h5py.override {
hdf5 = pkgs.hdf5-mpi;
};
ha-ffmpeg = callPackage ../development/python-modules/ha-ffmpeg { };
habanero = callPackage ../development/python-modules/habanero { };
httpsig = callPackage ../development/python-modules/httpsig { };
i3ipc = callPackage ../development/python-modules/i3ipc { };
intelhex = callPackage ../development/python-modules/intelhex { };
jira = callPackage ../development/python-modules/jira { };
lammps-cython = callPackage ../development/python-modules/lammps-cython {
mpi = pkgs.openmpi;
};
lmtpd = callPackage ../development/python-modules/lmtpd { };
logster = callPackage ../development/python-modules/logster { };
mail-parser = callPackage ../development/python-modules/mail-parser { };
markerlib = callPackage ../development/python-modules/markerlib { };
monty = callPackage ../development/python-modules/monty { };
mpi4py = callPackage ../development/python-modules/mpi4py {
mpi = pkgs.openmpi;
};
mwoauth = callPackage ../development/python-modules/mwoauth { };
neuron = pkgs.neuron.override {
inherit python;
};
neuron-mpi = pkgs.neuron-mpi.override {
inherit python;
};
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 = callPackage ../tools/filesystems/nixpart/0.4 { };
nltk = callPackage ../development/python-modules/nltk { };
ntlm-auth = callPackage ../development/python-modules/ntlm-auth { };
oauthenticator = callPackage ../development/python-modules/oauthenticator { };
ordered-set = callPackage ../development/python-modules/ordered-set { };
outcome = callPackage ../development/python-modules/outcome {};
palettable = callPackage ../development/python-modules/palettable { };
pathlib = callPackage ../development/python-modules/pathlib { };
pdf2image = callPackage ../development/python-modules/pdf2image { };
pdfminer = callPackage ../development/python-modules/pdfminer_six { };
pdfx = callPackage ../development/python-modules/pdfx { };
phonopy = callPackage ../development/python-modules/phonopy { };
pims = callPackage ../development/python-modules/pims { };
plantuml = callPackage ../tools/misc/plantuml { };
pymysql = callPackage ../development/python-modules/pymysql { };
Pmw = callPackage ../development/python-modules/Pmw { };
py_stringmatching = callPackage ../development/python-modules/py_stringmatching { };
pyaes = callPackage ../development/python-modules/pyaes { };
pyairvisual = callPackage ../development/python-modules/pyairvisual { };
pyamf = callPackage ../development/python-modules/pyamf { };
pyarrow = callPackage ../development/python-modules/pyarrow {
inherit (pkgs) arrow-cpp cmake pkgconfig;
};
pyatspi = callPackage ../development/python-modules/pyatspi { };
pyaxmlparser = callPackage ../development/python-modules/pyaxmlparser { };
pycairo = callPackage ../development/python-modules/pycairo { };
pycangjie = disabledIf (!isPy3k) (callPackage ../development/python-modules/pycangjie { });
pycrc = callPackage ../development/python-modules/pycrc { };
pycrypto = callPackage ../development/python-modules/pycrypto { };
pycryptodome = callPackage ../development/python-modules/pycryptodome { };
pycryptodomex = callPackage ../development/python-modules/pycryptodomex { };
PyChromecast = callPackage ../development/python-modules/pychromecast { };
py-cpuinfo = callPackage ../development/python-modules/py-cpuinfo { };
pydbus = callPackage ../development/python-modules/pydbus { };
pydocstyle = callPackage ../development/python-modules/pydocstyle { };
pyexiv2 = disabledIf isPy3k (toPythonModule (callPackage ../development/python-modules/pyexiv2 {}));
py3exiv2 = callPackage ../development/python-modules/py3exiv2 { };
pyfakefs = callPackage ../development/python-modules/pyfakefs {};
pygame = callPackage ../development/python-modules/pygame { };
pygame-git = callPackage ../development/python-modules/pygame/git.nix { };
pygame_sdl2 = callPackage ../development/python-modules/pygame_sdl2 { };
pygmo = callPackage ../development/python-modules/pygmo { };
pygobject2 = callPackage ../development/python-modules/pygobject { };
pygobject3 = callPackage ../development/python-modules/pygobject/3.nix { };
pygtail = callPackage ../development/python-modules/pygtail { };
pygtk = callPackage ../development/python-modules/pygtk { libglade = null; };
pygtksourceview = callPackage ../development/python-modules/pygtksourceview { };
pyGtkGlade = self.pygtk.override {
libglade = pkgs.gnome2.libglade;
};
pyjwkest = callPackage ../development/python-modules/pyjwkest { };
pykde4 = callPackage ../development/python-modules/pykde4 {
inherit (self) pyqt4;
callPackage = pkgs.callPackage;
};
pykdtree = callPackage ../development/python-modules/pykdtree {
inherit (pkgs.llvmPackages) openmp;
};
pykerberos = callPackage ../development/python-modules/pykerberos { };
pykeepass = callPackage ../development/python-modules/pykeepass { };
pymatgen = callPackage ../development/python-modules/pymatgen { };
pymatgen-lammps = callPackage ../development/python-modules/pymatgen-lammps { };
pymsgbox = callPackage ../development/python-modules/pymsgbox { };
pynisher = callPackage ../development/python-modules/pynisher { };
pyparser = callPackage ../development/python-modules/pyparser { };
pyqt4 = callPackage ../development/python-modules/pyqt/4.x.nix {
pythonPackages = self;
};
pyqt5 = pkgs.libsForQt5.callPackage ../development/python-modules/pyqt/5.x.nix {
pythonPackages = self;
};
pysc2 = callPackage ../development/python-modules/pysc2 { };
pyscard = callPackage ../development/python-modules/pyscard { inherit (pkgs.darwin.apple_sdk.frameworks) PCSC; };
pyside = callPackage ../development/python-modules/pyside { };
pysideShiboken = callPackage ../development/python-modules/pyside/shiboken.nix {
inherit (pkgs) libxml2 libxslt; # Do not need the Python bindings.
};
pysideTools = callPackage ../development/python-modules/pyside/tools.nix { };
pyslurm = callPackage ../development/python-modules/pyslurm {
slurm = pkgs.slurm;
};
pytest-tornado = callPackage ../development/python-modules/pytest-tornado { };
python-hosts = callPackage ../development/python-modules/python-hosts { };
python-lz4 = callPackage ../development/python-modules/python-lz4 { };
python-igraph = callPackage ../development/python-modules/python-igraph {
pkgconfig = pkgs.pkgconfig;
igraph = pkgs.igraph;
};
python3-openid = callPackage ../development/python-modules/python3-openid { };
python-periphery = callPackage ../development/python-modules/python-periphery { };
python-prctl = callPackage ../development/python-modules/python-prctl { };
python-sql = callPackage ../development/python-modules/python-sql { };
python-stdnum = callPackage ../development/python-modules/python-stdnum { };
python-utils = callPackage ../development/python-modules/python-utils { };
pytimeparse = callPackage ../development/python-modules/pytimeparse { };
PyWebDAV = callPackage ../development/python-modules/pywebdav { };
pyxml = disabledIf isPy3k (callPackage ../development/python-modules/pyxml{ });
relatorio = callPackage ../development/python-modules/relatorio { };
pyzufall = callPackage ../development/python-modules/pyzufall { };
rhpl = disabledIf isPy3k (callPackage ../development/python-modules/rhpl {});
rlp = callPackage ../development/python-modules/rlp { };
rx = callPackage ../development/python-modules/rx { };
sabyenc = callPackage ../development/python-modules/sabyenc { };
salmon-mail = callPackage ../development/python-modules/salmon-mail { };
seekpath = callPackage ../development/python-modules/seekpath { };
selectors2 = callPackage ../development/python-modules/selectors2 { };
serversyncstorage = callPackage ../development/python-modules/serversyncstorage {};
simpleeval = callPackage ../development/python-modules/simpleeval { };
singledispatch = callPackage ../development/python-modules/singledispatch { };
sip = callPackage ../development/python-modules/sip { };
sortedcontainers = callPackage ../development/python-modules/sortedcontainers { };
sklearn-deap = callPackage ../development/python-modules/sklearn-deap { };
slackclient = callPackage ../development/python-modules/slackclient { };
slicerator = callPackage ../development/python-modules/slicerator { };
spglib = callPackage ../development/python-modules/spglib { };
statistics = callPackage ../development/python-modules/statistics { };
sumo = callPackage ../development/python-modules/sumo { };
supervise_api = callPackage ../development/python-modules/supervise_api { };
syncserver = callPackage ../development/python-modules/syncserver {};
tables = callPackage ../development/python-modules/tables {
hdf5 = pkgs.hdf5.override { zlib = pkgs.zlib; };
};
trustme = callPackage ../development/python-modules/trustme {};
trio = callPackage ../development/python-modules/trio {};
sniffio = callPackage ../development/python-modules/sniffio { };
tokenserver = callPackage ../development/python-modules/tokenserver {};
toml = callPackage ../development/python-modules/toml { };
unifi = callPackage ../development/python-modules/unifi { };
pyunbound = callPackage ../tools/networking/unbound/python.nix { };
# packages defined here
aafigure = callPackage ../development/python-modules/aafigure { };
altair = callPackage ../development/python-modules/altair { };
vega = callPackage ../development/python-modules/vega { };
acme = callPackage ../development/python-modules/acme { };
acme-tiny = callPackage ../development/python-modules/acme-tiny { };
actdiag = callPackage ../development/python-modules/actdiag { };
adal = callPackage ../development/python-modules/adal { };
aioconsole = callPackage ../development/python-modules/aioconsole { };
aiodns = callPackage ../development/python-modules/aiodns { };
aiofiles = callPackage ../development/python-modules/aiofiles { };
aiohttp = callPackage ../development/python-modules/aiohttp { };
aiohttp-cors = callPackage ../development/python-modules/aiohttp/cors.nix { };
aiohttp-jinja2 = callPackage ../development/python-modules/aiohttp-jinja2 { };
ajpy = callPackage ../development/python-modules/ajpy { };
alabaster = callPackage ../development/python-modules/alabaster {};
alembic = callPackage ../development/python-modules/alembic {};
allpairspy = callPackage ../development/python-modules/allpairspy { };
ansicolors = callPackage ../development/python-modules/ansicolors {};
aniso8601 = callPackage ../development/python-modules/aniso8601 {};
asgiref = callPackage ../development/python-modules/asgiref { };
python-editor = callPackage ../development/python-modules/python-editor { };
python-gnupg = callPackage ../development/python-modules/python-gnupg {};
python-uinput = callPackage ../development/python-modules/python-uinput {};
python-sybase = callPackage ../development/python-modules/sybase {};
alot = callPackage ../development/python-modules/alot {};
anyjson = callPackage ../development/python-modules/anyjson {};
amqp = callPackage ../development/python-modules/amqp {};
amqplib = callPackage ../development/python-modules/amqplib {};
antlr4-python3-runtime = callPackage ../development/python-modules/antlr4-python3-runtime {};
apipkg = callPackage ../development/python-modules/apipkg {};
appdirs = callPackage ../development/python-modules/appdirs { };
appleseed = disabledIf isPy3k
(toPythonModule (pkgs.appleseed.override {
inherit (self) python;
}));
application = callPackage ../development/python-modules/application { };
appnope = callPackage ../development/python-modules/appnope { };
apsw = callPackage ../development/python-modules/apsw {};
astor = callPackage ../development/python-modules/astor {};
asyncio = callPackage ../development/python-modules/asyncio {};
asyncssh = callPackage ../development/python-modules/asyncssh { };
python-fontconfig = callPackage ../development/python-modules/python-fontconfig { };
funcsigs = callPackage ../development/python-modules/funcsigs { };
APScheduler = callPackage ../development/python-modules/APScheduler { };
args = callPackage ../development/python-modules/args { };
argcomplete = callPackage ../development/python-modules/argcomplete { };
area53 = callPackage ../development/python-modules/area53 { };
arxiv2bib = callPackage ../development/python-modules/arxiv2bib { };
chai = callPackage ../development/python-modules/chai { };
chainmap = callPackage ../development/python-modules/chainmap { };
arelle = callPackage ../development/python-modules/arelle {
gui = true;
};
arelle-headless = callPackage ../development/python-modules/arelle {
gui = false;
};
deluge-client = callPackage ../development/python-modules/deluge-client { };
arrow = callPackage ../development/python-modules/arrow { };
asynctest = callPackage ../development/python-modules/asynctest { };
async-timeout = callPackage ../development/python-modules/async_timeout { };
async_generator = callPackage ../development/python-modules/async_generator { };
asn1ate = callPackage ../development/python-modules/asn1ate { };
atomiclong = callPackage ../development/python-modules/atomiclong { };
atomicwrites = callPackage ../development/python-modules/atomicwrites { };
# argparse is part of stdlib in 2.7 and 3.2+
argparse = null;
astroid = callPackage ../development/python-modules/astroid { };
attrdict = callPackage ../development/python-modules/attrdict { };
attrs = callPackage ../development/python-modules/attrs { };
audioread = callPackage ../development/python-modules/audioread { };
audiotools = callPackage ../development/python-modules/audiotools { };
autopep8 = callPackage ../development/python-modules/autopep8 { };
av = callPackage ../development/python-modules/av {
inherit (pkgs) ffmpeg_2 git libav pkgconfig;
};
avro = callPackage ../development/python-modules/avro {};
avro3k = callPackage ../development/python-modules/avro3k {};
python-slugify = callPackage ../development/python-modules/python-slugify { };
awesome-slugify = callPackage ../development/python-modules/awesome-slugify {};
noise = callPackage ../development/python-modules/noise {};
azure = buildPythonPackage rec {
version = "0.11.0";
name = "azure-${version}";
disabled = pythonOlder "2.7";
src = pkgs.fetchurl {
url = "mirror://pypi/a/azure/${name}.zip";
sha256 = "89c20b2efaaed3c6f56345d55c32a8d4e7d2a16c032d0acb92f8f490c508fe24";
};
propagatedBuildInputs = with self; [ dateutil futures pyopenssl requests ];
meta = {
description = "Microsoft Azure SDK for Python";
homepage = "https://azure.microsoft.com/en-us/develop/python/";
license = licenses.asl20;
maintainers = with maintainers; [ olcai ];
};
};
azure-nspkg = buildPythonPackage rec {
version = "1.0.0";
name = "azure-nspkg-${version}";
src = pkgs.fetchurl {
url = mirror://pypi/a/azure-nspkg/azure-nspkg-1.0.0.zip;
sha256 = "1xqvc8by1lbd7j9dxyly03jz3rgbmnsiqnqgydhkf4pa2mn2hgr9";
};
meta = {
description = "Microsoft Azure SDK for Python";
homepage = "https://azure.microsoft.com/en-us/develop/python/";
license = licenses.asl20;
maintainers = with maintainers; [ olcai ];
};
};
azure-common = buildPythonPackage rec {
version = "1.0.0";
name = "azure-common-${version}";
disabled = isPyPy;
src = pkgs.fetchurl {
url = mirror://pypi/a/azure-common/azure-common-1.0.0.zip;
sha256 = "074rwwy8zzs7zw3nww5q2wg5lxgdc4rmypp2gfc9mwsz0gb70491";
};
propagatedBuildInputs = with self; [ azure-nspkg ];
postInstall = ''
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
'';
meta = {
description = "Microsoft Azure SDK for Python";
homepage = "https://azure.microsoft.com/en-us/develop/python/";
license = licenses.asl20;
maintainers = with maintainers; [ olcai ];
};
};
azure-mgmt-common = buildPythonPackage rec {
version = "0.20.0";
name = "azure-mgmt-common-${version}";
src = pkgs.fetchurl {
url = mirror://pypi/a/azure-mgmt-common/azure-mgmt-common-0.20.0.zip;
sha256 = "1rmzpz3733wv31rsnqpdy4bbafvk5dhbqx7q0xf62dlz7p0i4f66";
};
propagatedBuildInputs = with self; [ azure-common azure-mgmt-nspkg requests ];
postInstall = ''
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py
'';
meta = {
description = "Microsoft Azure SDK for Python";
homepage = "https://azure.microsoft.com/en-us/develop/python/";
license = licenses.asl20;
maintainers = with maintainers; [ olcai ];
};
};
azure-mgmt-compute = buildPythonPackage rec {
version = "0.20.0";
name = "azure-mgmt-compute-${version}";
src = pkgs.fetchurl {
url = mirror://pypi/a/azure-mgmt-compute/azure-mgmt-compute-0.20.0.zip;
sha256 = "12hr5vxdg2sk2fzr608a37f4i8nbchca7dgdmly2w5fc7x88jx2v";
};
preConfigure = ''
# Patch to make this package work on requests >= 2.11.x
# CAN BE REMOVED ON NEXT PACKAGE UPDATE
sed -i 's|len(request_content)|str(len(request_content))|' azure/mgmt/compute/computemanagement.py
'';
postInstall = ''
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py
'';
propagatedBuildInputs = with self; [ azure-mgmt-common ];
meta = {
description = "Microsoft Azure SDK for Python";
homepage = "https://azure.microsoft.com/en-us/develop/python/";
license = licenses.asl20;
maintainers = with maintainers; [ olcai ];
};
};
azure-mgmt-network = buildPythonPackage rec {
version = "0.20.1";
name = "azure-mgmt-network-${version}";
src = pkgs.fetchurl {
url = mirror://pypi/a/azure-mgmt-network/azure-mgmt-network-0.20.1.zip;
sha256 = "10vj22h6nxpw0qpvib5x2g6qs5j8z31142icvh4qk8k40fcrs9hx";
};
preConfigure = ''
# Patch to make this package work on requests >= 2.11.x
# CAN BE REMOVED ON NEXT PACKAGE UPDATE
sed -i 's|len(request_content)|str(len(request_content))|' azure/mgmt/network/networkresourceprovider.py
'';
postInstall = ''
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py
'';
propagatedBuildInputs = with self; [ azure-mgmt-common ];
meta = {
description = "Microsoft Azure SDK for Python";
homepage = "https://azure.microsoft.com/en-us/develop/python/";
license = licenses.asl20;
maintainers = with maintainers; [ olcai ];
};
};
azure-mgmt-nspkg = buildPythonPackage rec {
version = "1.0.0";
name = "azure-mgmt-nspkg-${version}";
src = pkgs.fetchurl {
url = mirror://pypi/a/azure-mgmt-nspkg/azure-mgmt-nspkg-1.0.0.zip;
sha256 = "1rq92fj3kvnqkk18596dybw0kvhgscvc6cd8hp1dhy3wrkqnhwmq";
};
propagatedBuildInputs = with self; [ azure-nspkg ];
meta = {
description = "Microsoft Azure SDK for Python";
homepage = "https://azure.microsoft.com/en-us/develop/python/";
license = licenses.asl20;
maintainers = with maintainers; [ olcai ];
};
};
azure-mgmt-resource = buildPythonPackage rec {
version = "0.20.1";
name = "azure-mgmt-resource-${version}";
src = pkgs.fetchurl {
url = mirror://pypi/a/azure-mgmt-resource/azure-mgmt-resource-0.20.1.zip;
sha256 = "0slh9qfm5nfacrdm3lid0sr8kwqzgxvrwf27laf9v38kylkfqvml";
};
preConfigure = ''
# Patch to make this package work on requests >= 2.11.x
# CAN BE REMOVED ON NEXT PACKAGE UPDATE
sed -i 's|len(request_content)|str(len(request_content))|' azure/mgmt/resource/resourcemanagement.py
'';
postInstall = ''
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py
'';
propagatedBuildInputs = with self; [ azure-mgmt-common ];
meta = {
description = "Microsoft Azure SDK for Python";
homepage = "https://azure.microsoft.com/en-us/develop/python/";
license = licenses.asl20;
maintainers = with maintainers; [ olcai ];
};
};
azure-mgmt-storage = buildPythonPackage rec {
version = "0.20.0";
name = "azure-mgmt-storage-${version}";
src = pkgs.fetchurl {
url = mirror://pypi/a/azure-mgmt-storage/azure-mgmt-storage-0.20.0.zip;
sha256 = "16iw7hqhq97vlzfwixarfnirc60l5mz951p57brpcwyylphl3yim";
};
preConfigure = ''
# Patch to make this package work on requests >= 2.11.x
# CAN BE REMOVED ON NEXT PACKAGE UPDATE
sed -i 's|len(request_content)|str(len(request_content))|' azure/mgmt/storage/storagemanagement.py
'';
postInstall = ''
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py
'';
propagatedBuildInputs = with self; [ azure-mgmt-common ];
meta = {
description = "Microsoft Azure SDK for Python";
homepage = "https://azure.microsoft.com/en-us/develop/python/";
license = licenses.asl20;
maintainers = with maintainers; [ olcai ];
};
};
azure-storage = buildPythonPackage rec {
version = "0.20.3";
name = "azure-storage-${version}";
src = pkgs.fetchurl {
url = mirror://pypi/a/azure-storage/azure-storage-0.20.3.zip;
sha256 = "06bmw6k2000kln5jwk5r9bgcalqbyvqirmdh9gq4s6nb4fv3c0jb";
};
propagatedBuildInputs = with self; [ azure-common futures dateutil requests ];
postInstall = ''
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
'';
meta = {
description = "Microsoft Azure SDK for Python";
homepage = "https://azure.microsoft.com/en-us/develop/python/";
license = licenses.asl20;
maintainers = with maintainers; [ olcai ];
};
};
azure-servicemanagement-legacy = buildPythonPackage rec {
version = "0.20.1";
name = "azure-servicemanagement-legacy-${version}";
src = pkgs.fetchurl {
url = mirror://pypi/a/azure-servicemanagement-legacy/azure-servicemanagement-legacy-0.20.1.zip;
sha256 = "17dwrp99sx5x9cm4vldkaxhki9gbd6dlafa0lpr2n92xhh2838zs";
};
propagatedBuildInputs = with self; [ azure-common requests ];
postInstall = ''
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
'';
meta = {
description = "Microsoft Azure SDK for Python";
homepage = "https://azure.microsoft.com/en-us/develop/python/";
license = licenses.asl20;
maintainers = with maintainers; [ olcai ];
};
};
backcall = callPackage ../development/python-modules/backcall { };
backports_abc = callPackage ../development/python-modules/backports_abc { };
backports_functools_lru_cache = callPackage ../development/python-modules/backports_functools_lru_cache { };
backports_shutil_get_terminal_size = callPackage ../development/python-modules/backports_shutil_get_terminal_size { };
backports_ssl_match_hostname = if !(pythonOlder "3.5") then null else
callPackage ../development/python-modules/backports_ssl_match_hostname { };
backports_lzma = callPackage ../development/python-modules/backports_lzma { };
backports_tempfile = callPackage ../development/python-modules/backports_tempfile { };
backports_unittest-mock = callPackage ../development/python-modules/backports_unittest-mock {};
babelfish = callPackage ../development/python-modules/babelfish {};
basiciw = callPackage ../development/python-modules/basiciw {
inherit (pkgs) gcc wirelesstools;
};
batinfo = callPackage ../development/python-modules/batinfo {};
bcdoc = callPackage ../development/python-modules/bcdoc {};
beancount = callPackage ../development/python-modules/beancount { };
beautifulsoup4 = callPackage ../development/python-modules/beautifulsoup4 { };
beaker = callPackage ../development/python-modules/beaker { };
betamax = callPackage ../development/python-modules/betamax {};
betamax-matchers = callPackage ../development/python-modules/betamax-matchers { };
betamax-serializers = callPackage ../development/python-modules/betamax-serializers { };
bibtexparser = callPackage ../development/python-modules/bibtexparser { };
binwalk_fun = { visualizationSupport ? false, pyqtgraph ? null }:
assert visualizationSupport -> pyqtgraph != null;
buildPythonPackage rec {
name = "binwalk-${version}";
version = "2.1.1";
src = pkgs.fetchFromGitHub {
owner = "devttys0";
repo = "binwalk";
rev = "291a03595d17f848c73b74cb6ca508da782cd8f7";
sha256 = "0grid93yz6i6jb2zggrqncp5awdf7qi88j5y2k7dq0k9r6b8zydw";
};
propagatedBuildInputs = with stdenv.lib; with pkgs; [ zlib xz ncompress gzip bzip2 gnutar p7zip cabextract lzma self.pycrypto ]
++ optional visualizationSupport pyqtgraph;
meta = with stdenv.lib; {
homepage = "http://binwalk.org";
description = "A tool for searching a given binary image for embedded files";
platforms = platforms.all;
maintainers = [ maintainers.koral ];
};
};
binwalk = self.binwalk_fun { };
binwalk-full = self.binwalk_fun { visualizationSupport = true; pyqtgraph = self.pyqtgraph; };
bitmath = callPackage ../development/python-modules/bitmath { };
caldavclientlibrary-asynk = buildPythonPackage rec {
version = "asynkdev";
name = "caldavclientlibrary-asynk-${version}";
src = pkgs.fetchgit {
url = "https://github.com/skarra/CalDAVClientLibrary.git";
rev = "06699b08190d50cc2636b921a654d67db0a967d1";
sha256 = "157q32251ac9x3gdshgrjwsy48nq74vrzviswvph56h9wa8ksnnk";
};
disabled = isPy3k;
meta = {
description = "A Python library and tool for CalDAV";
longDescription = ''
CalDAVCLientLibrary is a Python library and tool for CalDAV.
This package is the unofficial CalDAVCLientLibrary Python
library maintained by the author of Asynk and is needed for
that package.
'';
homepage = https://github.com/skarra/CalDAVClientLibrary/tree/asynkdev/;
maintainers = with maintainers; [ pjones ];
broken = true; # 2018-04-11
};
};
biopython = callPackage ../development/python-modules/biopython { };
bedup = buildPythonPackage rec {
version = "0.10.1";
name = "bedup-${version}";
src = pkgs.fetchFromGitHub {
owner = "g2p";
repo = "bedup";
rev = "v${version}";
sha256 = "0sp8pmjkxcqq0alianfp41mwq7qj10rk1qy31pjjp9kiph1rn0x6";
};
buildInputs = with self; [ pkgs.btrfs-progs ];
propagatedBuildInputs = with self; [ contextlib2 pyxdg pycparser alembic ]
++ optionals (!isPyPy) [ cffi ];
disabled = pythonOlder "3.3";
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 = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ bluescreen303 ];
};
};
blessed = callPackage ../development/python-modules/blessed {};
# Build boost for this specific Python version
# TODO: use separate output for libboost_python.so
boost = toPythonModule (pkgs.boost.override {
inherit (self) python numpy;
enablePython = true;
});
bumps = callPackage ../development/python-modules/bumps {};
cached-property = callPackage ../development/python-modules/cached-property { };
caffe = pkgs.caffe.override {
python = self.python;
boost = self.boost;
numpy = self.numpy;
};
capstone = buildPythonPackage rec {
name = "capstone-3.0.4";
src = pkgs.fetchurl {
url = "mirror://pypi/c/capstone/${name}.tar.gz";
sha256 = "945d3b8c3646a1c3914824c416439e2cf2df8969dd722c8979cdcc23b40ad225";
};
patches = [
(pkgs.fetchpatch {
stripLen = 2;
url = "https://patch-diff.githubusercontent.com/raw/aquynh/capstone/pull/783/commits/23fe9f36622573c747e2bab6119ff245437bf276.patch";
sha256 = "0yizqrdlxqxn16873593kdx2vrr7gvvilhgcf9xy6hr0603d3m5r";
})
];
postPatch = ''
patchShebangs src/make.sh
'';
propagatedBuildInputs = [ ];
preCheck = ''
mv src/libcapstone.so capstone
'';
meta = with pkgs.stdenv.lib; {
homepage = "http://www.capstone-engine.org/";
license = licenses.bsdOriginal;
description = "Capstone disassembly engine";
maintainers = with maintainers; [ bennofs ];
};
};
cement = callPackage ../development/python-modules/cement {};
cgroup-utils = callPackage ../development/python-modules/cgroup-utils {};
chainer = callPackage ../development/python-modules/chainer {
cudaSupport = pkgs.config.cudaSupport or false;
};
channels = callPackage ../development/python-modules/channels {};
cheroot = callPackage ../development/python-modules/cheroot {};
cli-helpers = callPackage ../development/python-modules/cli-helpers {};
cmarkgfm = callPackage ../development/python-modules/cmarkgfm { };
circus = callPackage ../development/python-modules/circus {};
colorclass = callPackage ../development/python-modules/colorclass {};
colorlog = callPackage ../development/python-modules/colorlog { };
colour = callPackage ../development/python-modules/colour {};
constantly = callPackage ../development/python-modules/constantly { };
cornice = buildPythonPackage rec {
name = "cornice-${version}";
version = "1.2.1";
src = pkgs.fetchgit {
url = https://github.com/mozilla-services/cornice.git;
rev = "refs/tags/${version}";
sha256 = "0688vrkl324jmpi8jkjh1s8nsyjinw149g3x8qlis8vz6j6a01wv";
};
propagatedBuildInputs = with self; [ pyramid simplejson ];
doCheck = false; # lazy packager
};
cram = callPackage ../development/python-modules/cram { };
csscompressor = callPackage ../development/python-modules/csscompressor {};
csvkit = callPackage ../development/python-modules/csvkit { };
cufflinks = callPackage ../development/python-modules/cufflinks { };
cupy = callPackage ../development/python-modules/cupy {
cudatoolkit = pkgs.cudatoolkit_8;
cudnn = pkgs.cudnn6_cudatoolkit_8;
nccl = pkgs.nccl;
};
cx_Freeze = callPackage ../development/python-modules/cx_freeze {};
cx_oracle = callPackage ../development/python-modules/cx_oracle {};
cvxopt = callPackage ../development/python-modules/cvxopt { };
cycler = callPackage ../development/python-modules/cycler { };
cysignals = callPackage ../development/python-modules/cysignals { };
cypari2 = callPackage ../development/python-modules/cypari2 { };
dlib = buildPythonPackage rec {
inherit (pkgs.dlib) name src nativeBuildInputs meta buildInputs;
patches = [ ../development/python-modules/dlib/build-cores.patch ];
checkInputs = with self; [ pytest ];
};
datadog = callPackage ../development/python-modules/datadog {};
dataclasses = callPackage ../development/python-modules/dataclasses { };
debian = callPackage ../development/python-modules/debian {};
defusedxml = callPackage ../development/python-modules/defusedxml {};
dugong = callPackage ../development/python-modules/dugong {};
iowait = callPackage ../development/python-modules/iowait {};
responses = callPackage ../development/python-modules/responses {};
rarfile = callPackage ../development/python-modules/rarfile { inherit (pkgs) libarchive; };
proboscis = callPackage ../development/python-modules/proboscis {};
py4j = callPackage ../development/python-modules/py4j { };
pyechonest = callPackage ../development/python-modules/pyechonest { };
pyezminc = callPackage ../development/python-modules/pyezminc { };
billiard = callPackage ../development/python-modules/billiard { };
binaryornot = callPackage ../development/python-modules/binaryornot { };
bitbucket_api = callPackage ../development/python-modules/bitbucket-api { };
bitbucket-cli = callPackage ../development/python-modules/bitbucket-cli { };
bitstring = callPackage ../development/python-modules/bitstring { };
blaze = callPackage ../development/python-modules/blaze { };
html5-parser = callPackage ../development/python-modules/html5-parser {};
httpserver = callPackage ../development/python-modules/httpserver {};
bleach = callPackage ../development/python-modules/bleach { };
blinker = callPackage ../development/python-modules/blinker { };
blockdiag = callPackage ../development/python-modules/blockdiag { };
bpython = callPackage ../development/python-modules/bpython {};
bsddb3 = buildPythonPackage rec {
name = "bsddb3-${version}";
version = "6.1.1";
src = pkgs.fetchurl {
url = "mirror://pypi/b/bsddb3/${name}.tar.gz";
sha256 = "6f21b0252125c07798d784c164ef135ad153d226c01b290258ee1c5b9e7c4dd3";
};
buildInputs = [ pkgs.db ];
# Judging from SyntaxError in test
# disabled = isPy3k;
doCheck = false; # test suite breaks python3 compatibility
# Path to database need to be set.
# Somehow the setup.py flag is not propagated.
#setupPyBuildFlags = [ "--berkeley-db=${pkgs.db}" ];
# We can also use a variable
preConfigure = ''
export BERKELEYDB_DIR=${pkgs.db.dev};
'';
meta = {
description = "Python bindings for Oracle Berkeley DB";
homepage = https://www.jcea.es/programacion/pybsddb.htm;
license = with licenses; [ agpl3 ]; # License changed from bsd3 to agpl3 since 6.x
};
};
bkcharts = callPackage ../development/python-modules/bkcharts { };
bokeh = callPackage ../development/python-modules/bokeh { };
boto = buildPythonPackage rec {
name = "boto-${version}";
version = "2.47.0";
src = pkgs.fetchurl {
url = "https://github.com/boto/boto/archive/${version}.tar.gz";
sha256 = "051gq8z9m2cir03jhc00qs36bnpla7zkqm9xqiqcqvdknmi2ndbq";
};
checkPhase = ''
${python.interpreter} tests/test.py default
'';
buildInputs = [ self.nose self.mock ];
propagatedBuildInputs = [ self.requests self.httpretty ];
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.
'';
};
};
boto3 = callPackage ../development/python-modules/boto3 { };
botocore = callPackage ../development/python-modules/botocore { };
bottle = callPackage ../development/python-modules/bottle { };
box2d = buildPythonPackage rec {
name = "box2d-${version}";
version = "2.3b0";
disabled = (!isPy27);
src = pkgs.fetchurl {
url = "mirror://pypi/B/Box2D/Box2D-2.3b0.zip";
sha256 = "4519842c650b0153550eb0c9864da46b5a4ec8555c68b70f5cd2952a21c788b0";
};
patches = [ ../development/python-modules/box2d/disable-test.patch ];
propagatedBuildInputs = [ pkgs.swig2 pkgs.box2d ];
meta = {
homepage = https://code.google.com/p/pybox2d/;
description = ''
A 2D game physics library for Python under
the very liberal zlib license
'';
license = licenses.zlib;
platforms = platforms.all;
maintainers = with maintainers; [ sepi ];
};
};
branca = callPackage ../development/python-modules/branca { };
bugwarrior = callPackage ../development/python-modules/bugwarrior { };
# bugz = buildPythonPackage (rec {
# name = "bugz-0.9.3";
#
# src = pkgs.fetchgit {
# url = "https://github.com/williamh/pybugz.git";
# rev = "refs/tags/0.9.3";
# };
#
# propagatedBuildInputs = with self; [ self.argparse ];
#
# doCheck = false;
#
# meta = {
# homepage = http://www.liquidx.net/pybugz/;
# description = "Command line interface for Bugzilla";
# };
# });
bugzilla = callPackage ../development/python-modules/bugzilla { };
check-manifest = callPackage ../development/python-modules/check-manifest { };
devpi-common = callPackage ../development/python-modules/devpi-common { };
# A patched version of buildout, useful for buildout based development on Nix
zc_buildout_nix = callPackage ../development/python-modules/buildout-nix { };
zc_buildout = self.zc_buildout221;
zc_buildout221 = callPackage ../development/python-modules/buildout { };
bunch = callPackage ../development/python-modules/bunch { };
can = callPackage ../development/python-modules/can {};
canopen = callPackage ../development/python-modules/canopen {};
canmatrix = callPackage ../development/python-modules/canmatrix {};
cairocffi = callPackage ../development/python-modules/cairocffi {};
cairosvg = callPackage ../development/python-modules/cairosvg {};
carrot = callPackage ../development/python-modules/carrot {};
case = callPackage ../development/python-modules/case {};
cassandra-driver = buildPythonPackage rec {
name = "cassandra-driver-3.6.0";
src = pkgs.fetchurl {
url = "mirror://pypi/c/cassandra-driver/${name}.tar.gz";
sha256 = "1aqmy3psn12lxgp659d0zsxkirxzy5lnbnzxf9xjq1a93s3qm704";
};
buildInputs = with self; [ pkgs.libev cython ];
propagatedBuildInputs = with self; [ futures six ];
postPatch = ''
sed -i "s/<=1.0.1//" setup.py
'';
checkPhase = ''
${python.interpreter} setup.py gevent_nosetests
${python.interpreter} setup.py eventlet_nosetests
'';
checkInputs = [ scales eventlet twisted mock gevent nose pytz pyyaml sure ];
# Could not get tests running
doCheck = false;
meta = {
homepage = http://datastax.github.io/python-driver/;
description = "A Python client driver for Apache Cassandra";
license = licenses.asl20;
};
};
cccolutils = callPackage ../development/python-modules/cccolutils {};
CDDB = buildPythonPackage rec {
name = "CDDB-1.4";
disabled = !isPy27;
buildInputs = optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.IOKit ];
src = pkgs.fetchurl {
url = "http://cddb-py.sourceforge.net/${name}.tar.gz";
sha256 = "098xhd575ibvdx7i3dny3lwi851yxhjg2hn5jbbgrwj833rg5l5w";
};
meta = {
homepage = http://cddb-py.sourceforge.net/;
description = "CDDB and FreeDB audio CD track info access";
license = licenses.gpl2Plus;
};
};
cntk = buildPythonPackage rec {
inherit (pkgs.cntk) name version src meta;
buildInputs = [ pkgs.cntk pkgs.swig pkgs.openmpi ];
propagatedBuildInputs = with self; [ numpy scipy enum34 protobuf pip ];
CNTK_LIB_PATH = "${pkgs.cntk}/lib";
CNTK_COMPONENT_VERSION = pkgs.cntk.version;
postPatch = ''
cd bindings/python
sed -i 's,"libmpi.so.12","${pkgs.openmpi}/lib/libmpi.so",g' cntk/train/distributed.py
'';
postInstall = ''
rm -rf $out/${python.sitePackages}/cntk/libs
ln -s ${pkgs.cntk}/lib $out/${python.sitePackages}/cntk/libs
# It's not installed for some reason.
cp cntk/cntk_py.py $out/${python.sitePackages}/cntk
'';
# Actual tests are broken.
checkPhase = ''
cd $NIX_BUILD_TOP
${python.interpreter} -c "import cntk"
'';
};
celery = callPackage ../development/python-modules/celery { };
cerberus = callPackage ../development/python-modules/cerberus { };
certifi = callPackage ../development/python-modules/certifi { };
characteristic = callPackage ../development/python-modules/characteristic { };
cheetah = callPackage ../development/python-modules/cheetah { };
cherrypy = callPackage ../development/python-modules/cherrypy {};
cfgv = callPackage ../development/python-modules/cfgv { };
cftime = callPackage ../development/python-modules/cftime {};
cjson = callPackage ../development/python-modules/cjson { };
cld2-cffi = callPackage ../development/python-modules/cld2-cffi {};
clf = callPackage ../development/python-modules/clf {};
click = callPackage ../development/python-modules/click {};
click-log = callPackage ../development/python-modules/click-log {};
click-plugins = callPackage ../development/python-modules/click-plugins {};
click-threading = callPackage ../development/python-modules/click-threading {};
cligj = callPackage ../development/python-modules/cligj { };
/* There is a project called "closure-linter" on PyPI that is the
same as this, but it does not appear to be owned by Google.
So we're pulling from Google's GitHub repo instead. */
closure-linter = buildPythonPackage rec {
name = "closure-linter-${version}";
version = "2.3.19";
/* This project has no Python 3 support, as noted by
https://github.com/google/closure-linter/issues/81 */
disabled = isPy3k;
propagatedBuildInputs = with self; [ gflags ];
src = pkgs.fetchgit {
url = "https://github.com/google/closure-linter";
rev = "5c27529075bb88bdc45e73008f496dec8438d658";
sha256 = "076c7q7pr7akfvq5y8lxr1ab81wwps07gw00igdkcxnc5k9dzxwc";
};
meta = {
description = "Checks JavaScript files against Google's style guide.";
homepage = "https://developers.google.com/closure/utilities/";
license = with licenses; [ asl20 ];
};
};
cloudpickle = callPackage ../development/python-modules/cloudpickle { };
cmdline = callPackage ../development/python-modules/cmdline { };
codecov = callPackage ../development/python-modules/codecov {};
cogapp = callPackage ../development/python-modules/cogapp {};
colorama = callPackage ../development/python-modules/colorama { };
colorlover = callPackage ../development/python-modules/colorlover { };
CommonMark = callPackage ../development/python-modules/commonmark { };
CommonMark_54 = self.CommonMark.overridePythonAttrs (oldAttrs: rec {
version = "0.5.4";
src = oldAttrs.src.override {
inherit version;
sha256 = "34d73ec8085923c023930dfc0bcd1c4286e28a2a82de094bb72fabcc0281cbe5";
};
});
coilmq = callPackage ../development/python-modules/coilmq { };
colander = callPackage ../development/python-modules/colander { };
# Backported version of the ConfigParser library of Python 3.3
configparser = callPackage ../development/python-modules/configparser { };
ColanderAlchemy = buildPythonPackage rec {
name = "ColanderAlchemy-${version}";
version = "0.3.3";
src = pkgs.fetchurl {
url = "mirror://pypi/C/ColanderAlchemy/${name}.tar.gz";
sha256 = "11wcni2xmfmy001rj62q2pwf305vvngkrfm5c4zlwvgbvlsrvnnw";
};
patches = [
(pkgs.fetchpatch {
url = "https://github.com/stefanofontanelli/ColanderAlchemy/commit/b45fe35f2936a5ccb705e9344075191e550af6c9.patch";
sha256 = "1kf278wjq49zd6fhpp55vdcawzdd107767shzfck522sv8gr6qvx";
})
];
buildInputs = with self; [ unittest2 ];
propagatedBuildInputs = with self; [ colander sqlalchemy ];
meta = {
description = "Autogenerate Colander schemas based on SQLAlchemy models";
homepage = https://github.com/stefanofontanelli/ColanderAlchemy;
license = licenses.mit;
};
};
conda = callPackage ../development/python-modules/conda { };
configobj = callPackage ../development/python-modules/configobj { };
confluent-kafka = callPackage ../development/python-modules/confluent-kafka {};
kafka-python = callPackage ../development/python-modules/kafka-python {};
construct = callPackage ../development/python-modules/construct {};
consul = callPackage ../development/python-modules/consul { };
contexter = callPackage ../development/python-modules/contexter { };
contextvars = callPackage ../development/python-modules/contextvars {};
contextlib2 = callPackage ../development/python-modules/contextlib2 { };
cookiecutter = callPackage ../development/python-modules/cookiecutter { };
cookies = callPackage ../development/python-modules/cookies { };
coveralls = callPackage ../development/python-modules/coveralls { };
coverage = callPackage ../development/python-modules/coverage { };
covCore = callPackage ../development/python-modules/cov-core { };
crcmod = callPackage ../development/python-modules/crcmod { };
credstash = callPackage ../development/python-modules/credstash { };
cython = callPackage ../development/python-modules/Cython { };
cytoolz = callPackage ../development/python-modules/cytoolz { };
cryptacular = callPackage ../development/python-modules/cryptacular { };
cryptography = callPackage ../development/python-modules/cryptography { };
cryptography_vectors = callPackage ../development/python-modules/cryptography_vectors { };
curtsies = callPackage ../development/python-modules/curtsies { };
envs = callPackage ../development/python-modules/envs { };
eth-hash = callPackage ../development/python-modules/eth-hash { };
eth-typing = callPackage ../development/python-modules/eth-typing { };
eth-utils = callPackage ../development/python-modules/eth-utils { };
jsonrpc-async = callPackage ../development/python-modules/jsonrpc-async { };
jsonrpc-base = callPackage ../development/python-modules/jsonrpc-base { };
jsonrpc-websocket = callPackage ../development/python-modules/jsonrpc-websocket { };
onkyo-eiscp = callPackage ../development/python-modules/onkyo-eiscp { };
pyunifi = callPackage ../development/python-modules/pyunifi { };
tablib = callPackage ../development/python-modules/tablib { };
wakeonlan = callPackage ../development/python-modules/wakeonlan { };
openant = buildPythonPackage rec {
name = "openant-unstable-2017-02-11";
meta = with stdenv.lib; {
homepage = "https://github.com/Tigge/openant";
description = "ANT and ANT-FS Python Library";
license = licenses.mit;
platforms = platforms.linux;
};
src = pkgs.fetchFromGitHub {
owner = "Tigge";
repo = "openant";
rev = "ed89281e37f65d768641e87356cef38877952397";
sha256 = "1g81l9arqdy09ijswn3sp4d6i3z18d44lzyb78bwnvdb14q22k19";
};
# Removes some setup.py hacks intended to install udev rules.
# We do the job ourselves in postInstall below.
postPatch = ''
sed -i -e '/cmdclass=.*/d' setup.py
'';
postInstall = ''
install -dm755 "$out/etc/udev/rules.d"
install -m644 resources/ant-usb-sticks.rules "$out/etc/udev/rules.d/99-ant-usb-sticks.rules"
'';
propagatedBuildInputs = with self; [ pyusb ];
};
opencv = toPythonModule (pkgs.opencv.override {
enablePython = true;
pythonPackages = self;
});
opencv3 = toPythonModule (pkgs.opencv3.override {
enablePython = true;
pythonPackages = self;
});
openidc-client = callPackage ../development/python-modules/openidc-client {};
idna = callPackage ../development/python-modules/idna { };
mahotas = callPackage ../development/python-modules/mahotas { };
MDP = callPackage ../development/python-modules/mdp {};
minidb = buildPythonPackage rec {
name = "minidb-2.0.1";
src = pkgs.fetchurl {
url = "https://thp.io/2010/minidb/${name}.tar.gz";
sha256 = "1x958zr9jc26vaqij451qb9m2l7apcpz34ir9fwfjg4fwv24z2dy";
};
meta = {
description = "A simple SQLite3-based store for Python objects";
homepage = https://thp.io/2010/minidb/;
license = stdenv.lib.licenses.isc;
maintainers = [ stdenv.lib.maintainers.tv ];
};
};
miniupnpc = callPackage ../development/python-modules/miniupnpc {};
mixpanel = buildPythonPackage rec {
version = "4.0.2";
name = "mixpanel-${version}";
disabled = isPy3k;
src = pkgs.fetchzip {
url = "https://github.com/mixpanel/mixpanel-python/archive/${version}.zip";
sha256 = "0yq1bcsjzsz7yz4rp69izsdn47rvkld4wki2xmapp8gg2s9i8709";
};
buildInputs = with self; [ pytest mock ];
propagatedBuildInputs = with self; [ six ];
checkPhase = "py.test tests.py";
meta = {
homepage = https://github.com/mixpanel/mixpanel-python;
description = "This is the official Mixpanel Python library. This library
allows for server-side integration of Mixpanel.";
license = stdenv.lib.licenses.asl20;
};
};
mpyq = callPackage ../development/python-modules/mpyq { };
mxnet = buildPythonPackage rec {
inherit (pkgs.mxnet) name version src meta;
buildInputs = [ pkgs.mxnet ];
propagatedBuildInputs = with self; [ requests numpy graphviz ];
LD_LIBRARY_PATH = makeLibraryPath [ pkgs.mxnet ];
doCheck = !isPy3k;
postPatch = ''
substituteInPlace python/setup.py \
--replace "graphviz<0.9.0" "graphviz<0.10.0" \
--replace "numpy<=1.15.0" "numpy<1.16.0" \
--replace "requests<2.19.0" "requests<2.20.0"
'';
preConfigure = ''
cd python
'';
postInstall = ''
rm -rf $out/mxnet
ln -s ${pkgs.mxnet}/lib/libmxnet.so $out/${python.sitePackages}/mxnet
'';
};
parsy = callPackage ../development/python-modules/parsy { };
portpicker = callPackage ../development/python-modules/portpicker { };
pkginfo = callPackage ../development/python-modules/pkginfo { };
pretend = callPackage ../development/python-modules/pretend { };
detox = callPackage ../development/python-modules/detox { };
pbkdf2 = callPackage ../development/python-modules/pbkdf2 { };
bcrypt = callPackage ../development/python-modules/bcrypt { };
cffi = callPackage ../development/python-modules/cffi { };
pycollada = callPackage ../development/python-modules/pycollada { };
pycontracts = callPackage ../development/python-modules/pycontracts { };
pycparser = callPackage ../development/python-modules/pycparser { };
pydub = callPackage ../development/python-modules/pydub {};
pyjade = callPackage ../development/python-modules/pyjade {};
PyLD = callPackage ../development/python-modules/PyLD { };
python-jose = callPackage ../development/python-modules/python-jose {};
python-ly = callPackage ../development/python-modules/python-ly {};
pyhepmc = buildPythonPackage rec {
name = "pyhepmc-${version}";
version = "0.5.0";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "mirror://pypi/p/pyhepmc/${name}.tar.gz";
sha256 = "1rbi8gqgclfvaibv9kzhfis11gw101x8amc93qf9y08ny4jfyr1d";
};
patches = [
# merge PR https://bitbucket.org/andybuckley/pyhepmc/pull-requests/1/add-incoming-outgoing-generators-for/diff
../development/python-modules/pyhepmc_export_edges.patch
# add bindings to Flow class
../development/python-modules/pyhepmc_export_flow.patch
];
# regenerate python wrapper
preConfigure = ''
rm hepmc/hepmcwrap.py
swig -c++ -I${pkgs.hepmc}/include -python hepmc/hepmcwrap.i
'';
buildInputs = with pkgs; [ swig hepmc ];
HEPMCPATH = pkgs.hepmc;
meta = {
description = "A simple wrapper on the main classes of the HepMC event simulation representation, making it possible to create, read and manipulate HepMC events from Python code";
license = licenses.gpl2;
maintainers = with maintainers; [ veprbl ];
platforms = platforms.all;
};
};
pytest = self.pytest_37;
pytest_37 = callPackage ../development/python-modules/pytest {
# hypothesis tests require pytest that causes dependency cycle
hypothesis = self.hypothesis.override { doCheck = false; };
};
pytest-httpbin = callPackage ../development/python-modules/pytest-httpbin { };
pytest-asyncio = callPackage ../development/python-modules/pytest-asyncio { };
pytest-aiohttp = callPackage ../development/python-modules/pytest-aiohttp { };
pytest-benchmark = callPackage ../development/python-modules/pytest-benchmark { };
pytestcache = callPackage ../development/python-modules/pytestcache { };
pytest-catchlog = callPackage ../development/python-modules/pytest-catchlog { };
pytest-cram = callPackage ../development/python-modules/pytest-cram { };
pytest-datafiles = callPackage ../development/python-modules/pytest-datafiles { };
pytest-django = callPackage ../development/python-modules/pytest-django { };
pytest-faulthandler = callPackage ../development/python-modules/pytest-faulthandler { };
pytest-fixture-config = callPackage ../development/python-modules/pytest-fixture-config { };
pytest-forked = callPackage ../development/python-modules/pytest-forked { };
pytest-rerunfailures = callPackage ../development/python-modules/pytest-rerunfailures { };
pytest-flake8 = callPackage ../development/python-modules/pytest-flake8 { };
pytestflakes = callPackage ../development/python-modules/pytest-flakes { };
pytest-isort = callPackage ../development/python-modules/pytest-isort { };
pytest-mock = callPackage ../development/python-modules/pytest-mock { };
pytest-timeout = callPackage ../development/python-modules/pytest-timeout { };
pytest-warnings = callPackage ../development/python-modules/pytest-warnings { };
pytestpep8 = callPackage ../development/python-modules/pytest-pep8 { };
pytest-pep257 = callPackage ../development/python-modules/pytest-pep257 { };
pytest-raisesregexp = callPackage ../development/python-modules/pytest-raisesregexp { };
pytest-repeat = callPackage ../development/python-modules/pytest-repeat { };
pytestrunner = callPackage ../development/python-modules/pytestrunner { };
pytestquickcheck = callPackage ../development/python-modules/pytest-quickcheck { };
pytest-server-fixtures = callPackage ../development/python-modules/pytest-server-fixtures { };
pytest-shutil = callPackage ../development/python-modules/pytest-shutil { };
pytestcov = callPackage ../development/python-modules/pytest-cov { };
pytest-expect = callPackage ../development/python-modules/pytest-expect { };
pytest-virtualenv = callPackage ../development/python-modules/pytest-virtualenv { };
pytest_xdist = callPackage ../development/python-modules/pytest-xdist { };
pytest-localserver = callPackage ../development/python-modules/pytest-localserver { };
pytest-subtesthack = callPackage ../development/python-modules/pytest-subtesthack { };
pytest-sugar = callPackage ../development/python-modules/pytest-sugar { };
tinycss = buildPythonPackage rec {
name = "tinycss-${version}";
version = "0.3";
src = pkgs.fetchurl {
url = "mirror://pypi/t/tinycss/${name}.tar.gz";
sha256 = "1pichqra4wk86142hqgvy9s5x6c5k5zhy8l9qxr0620pqk8spbd4";
};
buildInputs = with self; [ pytest ];
propagatedBuildInputs = with self; [ cssutils ];
checkPhase = ''
py.test $out/${python.sitePackages}
'';
# Disable Cython tests for PyPy
TINYCSS_SKIP_SPEEDUPS_TESTS = optional isPyPy true;
meta = {
description = "Complete yet simple CSS parser for Python";
license = licenses.bsd3;
homepage = https://pythonhosted.org/tinycss/;
};
};
tinycss2 = callPackage ../development/python-modules/tinycss2 { };
cssselect = callPackage ../development/python-modules/cssselect { };
cssselect2 = callPackage ../development/python-modules/cssselect2 { };
cssutils = callPackage ../development/python-modules/cssutils { };
darcsver = callPackage ../development/python-modules/darcsver { };
dask = callPackage ../development/python-modules/dask { };
dask-glm = callPackage ../development/python-modules/dask-glm { };
dask-image = callPackage ../development/python-modules/dask-image { };
dask-jobqueue = callPackage ../development/python-modules/dask-jobqueue { };
dask-ml = callPackage ../development/python-modules/dask-ml { };
dask-xgboost = callPackage ../development/python-modules/dask-xgboost { };
datrie = callPackage ../development/python-modules/datrie { };
heapdict = callPackage ../development/python-modules/heapdict { };
zict = callPackage ../development/python-modules/zict { };
digital-ocean = callPackage ../development/python-modules/digitalocean { };
leather = callPackage ../development/python-modules/leather { };
libais = callPackage ../development/python-modules/libais { };
libtmux = callPackage ../development/python-modules/libtmux { };
libusb1 = callPackage ../development/python-modules/libusb1 { inherit (pkgs) libusb1; };
linuxfd = callPackage ../development/python-modules/linuxfd { };
locket = callPackage ../development/python-modules/locket { };
tblib = callPackage ../development/python-modules/tblib { };
s3fs = callPackage ../development/python-modules/s3fs { };
datashape = callPackage ../development/python-modules/datashape { };
requests-cache = callPackage ../development/python-modules/requests-cache { };
requests-file = callPackage ../development/python-modules/requests-file { };
requests-kerberos = callPackage ../development/python-modules/requests-kerberos { };
requests-unixsocket = callPackage ../development/python-modules/requests-unixsocket {};
requests-aws4auth = callPackage ../development/python-modules/requests-aws4auth { };
howdoi = callPackage ../development/python-modules/howdoi {};
neurotools = callPackage ../development/python-modules/neurotools {};
jdatetime = callPackage ../development/python-modules/jdatetime {};
daphne = callPackage ../development/python-modules/daphne { };
dateparser = callPackage ../development/python-modules/dateparser { };
# Actual name of package
python-dateutil = callPackage ../development/python-modules/dateutil { };
# Alias that we should deprecate
dateutil = self.python-dateutil;
decorator = callPackage ../development/python-modules/decorator { };
deform = callPackage ../development/python-modules/deform { };
demjson = callPackage ../development/python-modules/demjson { };
deprecation = callPackage ../development/python-modules/deprecation { };
derpconf = callPackage ../development/python-modules/derpconf { };
deskcon = self.buildPythonPackage rec {
name = "deskcon-0.3";
disabled = !isPy27;
src = pkgs.fetchFromGitHub {
owner= "screenfreeze";
repo = "deskcon-desktop";
rev = "267804122188fa79c37f2b21f54fe05c898610e6";
sha256 ="0i1dd85ls6n14m9q7lkympms1w3x0pqyaxvalq82s4xnjdv585j3";
};
phases = [ "unpackPhase" "installPhase" ];
pythonPath = [ self.pyopenssl pkgs.gtk3 ];
installPhase = ''
substituteInPlace server/deskcon-server --replace "python2" "python"
mkdir -p $out/bin
mkdir -p $out/lib/${python.libPrefix}/site-packages
cp -r "server/"* $out/lib/${python.libPrefix}/site-packages
mv $out/lib/${python.libPrefix}/site-packages/deskcon-server $out/bin/deskcon-server
wrapPythonProgramsIn $out/bin "$out $pythonPath"
'';
meta = {
description = "Integrates an Android device into a desktop";
homepage = https://github.com/screenfreeze/deskcon-desktop;
license = licenses.gpl3;
};
};
dill = callPackage ../development/python-modules/dill { };
discogs_client = callPackage ../development/python-modules/discogs_client { };
dmenu-python = callPackage ../development/python-modules/dmenu { };
dnspython = callPackage ../development/python-modules/dnspython { };
dns = self.dnspython; # Alias for compatibility, 2017-12-10
docker = callPackage ../development/python-modules/docker {};
dockerpty = callPackage ../development/python-modules/dockerpty {};
docker_pycreds = callPackage ../development/python-modules/docker-pycreds {};
docopt = callPackage ../development/python-modules/docopt { };
doctest-ignore-unicode = callPackage ../development/python-modules/doctest-ignore-unicode { };
dogpile_cache = callPackage ../development/python-modules/dogpile.cache { };
dogpile_core = callPackage ../development/python-modules/dogpile.core { };
dopy = buildPythonPackage rec {
version = "2016-01-04";
name = "dopy-${version}";
src = pkgs.fetchFromGitHub {
owner = "Wiredcraft";
repo = "dopy";
rev = "cb443214166a4e91b17c925f40009ac883336dc3";
sha256 ="0ams289qcgna96aak96jbz6wybs6qb95h2gn8lb4lmx2p5sq4q56";
};
propagatedBuildInputs = with self; [ requests six ];
meta = {
description = "Digital Ocean API python wrapper";
homepage = "https://github.com/Wiredcraft/dopy";
license = licenses.mit;
maintainers = with maintainers; [ lihop ];
platforms = platforms.all;
};
};
dpkt = callPackage ../development/python-modules/dpkt {};
urllib3 = callPackage ../development/python-modules/urllib3 {};
dropbox = callPackage ../development/python-modules/dropbox {};
ds4drv = callPackage ../development/python-modules/ds4drv {
inherit (pkgs) fetchFromGitHub bluez;
};
dyn = callPackage ../development/python-modules/dyn { };
easydict = callPackage ../development/python-modules/easydict { };
easygui = callPackage ../development/python-modules/easygui { };
EasyProcess = callPackage ../development/python-modules/easyprocess { };
easy-thumbnails = callPackage ../development/python-modules/easy-thumbnails { };
eccodes = disabledIf (!isPy27)
(toPythonModule (pkgs.eccodes.override {
enablePython = true;
pythonPackages = self;
}));
EditorConfig = buildPythonPackage rec {
name = "EditorConfig-${version}";
version = "0.12.0";
# fetchgit used to ensure test submodule is available
src = pkgs.fetchgit {
url = "https://github.com/editorconfig/editorconfig-core-py";
rev = "refs/tags/v${version}";
sha256 = "0svk7id7ncygj2rnxhm7602xizljyidk4xgrl6i0xgq3829cz4bl";
};
buildInputs = [ pkgs.cmake ];
checkPhase = ''
cmake .
# utf_8_char fails with python3
ctest -E "utf_8_char" .
'';
meta = {
homepage = https://editorconfig.org;
description = "EditorConfig File Locator and Interpreter for Python";
license = stdenv.lib.licenses.psfl;
};
};
edward = callPackage ../development/python-modules/edward { };
elasticsearch = callPackage ../development/python-modules/elasticsearch { };
elasticsearchdsl = buildPythonPackage (rec {
name = "elasticsearch-dsl-0.0.9";
src = pkgs.fetchurl {
url = "mirror://pypi/e/elasticsearch-dsl/${name}.tar.gz";
sha256 = "1gdcdshk881vy18p0czcmbb3i4s5hl8llnfg6961b6x7jkvhihbj";
};
buildInputs = with self; [ covCore dateutil elasticsearch mock pytest pytestcov unittest2 urllib3 pytz ];
# ImportError: No module named test_elasticsearch_dsl
# Tests require a local instance of elasticsearch
doCheck = false;
meta = {
description = "Python client for Elasticsearch";
homepage = https://github.com/elasticsearch/elasticsearch-dsl-py;
license = licenses.asl20;
maintainers = with maintainers; [ desiderius ];
};
});
elasticsearch-curator = callPackage ../development/python-modules/elasticsearch-curator { };
entrypoints = callPackage ../development/python-modules/entrypoints { };
enzyme = callPackage ../development/python-modules/enzyme {};
escapism = buildPythonPackage rec {
name = "escapism-${version}";
version = "0.0.1";
src = pkgs.fetchurl {
url = "mirror://pypi/e/escapism/${name}.tar.gz";
sha256 = "1yfyxwxb864xrmrrqgp85xgsh4yrrq5mmzvkdg19jwr7rm6sqx9p";
};
# No tests distributed
doCheck = false;
meta = {
description = "Simple, generic API for escaping strings";
homepage = "https://github.com/minrk/escapism";
license = licenses.mit;
maintainers = with maintainers; [ bzizou ];
};
};
etcd = buildPythonPackage rec {
name = "etcd-${version}";
version = "2.0.8";
# PyPI package is incomplete
src = pkgs.fetchurl {
url = "https://github.com/dsoprea/PythonEtcdClient/archive/${version}.tar.gz";
sha256 = "0fi6rxa1yxvz7nwrc7dw6fax3041d6bj3iyhywjgbkg7nadi9i8v";
};
patchPhase = ''
sed -i -e '13,14d;37d' setup.py
'';
propagatedBuildInputs = with self; [ simplejson pytz requests ];
# No proper tests are available
doCheck = false;
meta = {
description = "A Python etcd client that just works";
homepage = https://github.com/dsoprea/PythonEtcdClient;
license = licenses.gpl2;
};
};
evdev = callPackage ../development/python-modules/evdev {};
eve = callPackage ../development/python-modules/eve {};
eventlib = buildPythonPackage rec {
pname = "python-eventlib";
name = "${pname}-${version}";
version = "0.2.2";
# Judging from SyntaxError
disabled = isPy3k;
src = pkgs.fetchdarcs {
url = "http://devel.ag-projects.com/repositories/${pname}";
rev = "release-${version}";
sha256 = "1zxhpq8i4jwsk7wmfncqfm211hqikj3hp38cfv509924bi76wak8";
};
propagatedBuildInputs = with self; [ greenlet ];
doCheck = false;
meta = {
description = "Eventlib bindings for python";
homepage = "http://ag-projects.com/";
license = licenses.lgpl2;
platforms = platforms.all;
};
};
events = callPackage ../development/python-modules/events { };
eyeD3 = buildPythonPackage rec {
version = "0.7.8";
name = "eyeD3-${version}";
disabled = isPyPy;
src = pkgs.fetchurl {
url = "http://eyed3.nicfit.net/releases/${name}.tar.gz";
sha256 = "1nv7nhfn1d0qm7rgkzksbccgqisng8klf97np0nwaqwd5dbmdf86";
};
buildInputs = with self; [ paver ];
postInstall = ''
for prog in "$out/bin/"*; do
wrapProgram "$prog" --prefix PYTHONPATH : "$PYTHONPATH" \
--prefix PATH : ${python}/bin
done
'';
meta = {
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 = "${pname}-${version}";
pname = "execnet";
version = "1.4.1";
src = pkgs.fetchurl {
url = "mirror://pypi/e/${pname}/${name}.tar.gz";
sha256 = "1rpk1vyclhg911p3hql0m0nrpq7q7mysxnaaw6vs29cpa6kx8vgn";
};
buildInputs = with self; [ pytest setuptools_scm ];
propagatedBuildInputs = with self; [ apipkg ];
# remove vbox tests
postPatch = ''
rm -v testing/test_termination.py
rm -v testing/test_channel.py
rm -v testing/test_xspec.py
rm -v testing/test_gateway.py
'';
checkPhase = ''
py.test testing
'';
__darwinAllowLocalNetworking = true;
meta = {
description = "Rapid multi-Python deployment";
license = licenses.gpl2;
homepage = "http://codespeak.net/execnet";
maintainers = with maintainers; [ nand0p ];
};
};
ezdxf = callPackage ../development/python-modules/ezdxf {};
facebook-sdk = buildPythonPackage rec {
name = "facebook-sdk-0.4.0";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "mirror://pypi/f/facebook-sdk/facebook-sdk-0.4.0.tar.gz";
sha256 = "5a96c54d06213039dff1fe1fabc51972e394666cd6d83ea70f7c2e67472d9b72";
};
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 ;
};
};
face_recognition = callPackage ../development/python-modules/face_recognition { };
face_recognition_models = callPackage ../development/python-modules/face_recognition_models { };
faker = callPackage ../development/python-modules/faker { };
fake_factory = buildPythonPackage rec {
name = "fake-factory-${version}";
version = "0.6.0";
src = pkgs.fetchurl {
url = "mirror://pypi/f/fake-factory/${name}.tar.gz";
sha256 = "09sgk0kylsshs64a1xsz3qr187sbnqrbf4z8k3dgsy32lsgyffv2";
};
propagatedBuildInputs = with self; [ six dateutil ipaddress mock ];
checkPhase = ''
${python.interpreter} -m unittest faker.tests
'';
meta = {
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;
};
};
factory_boy = buildPythonPackage rec {
name = "factory_boy-${version}";
version = "2.6.1";
src = pkgs.fetchurl {
url = "mirror://pypi/f/factory_boy/${name}.tar.gz";
sha256 = "0a21f8kq917fj8xgmyp6gy8vcrlzzgwn80qas0d76h3vjbdy0bdq";
};
propagatedBuildInputs = with self; [ fake_factory ];
meta = {
description = "A Python package to create factories for complex objects";
homepage = https://github.com/rbarrois/factory_boy;
license = licenses.mit;
};
};
Fabric = buildPythonPackage rec {
name = "Fabric-${version}";
version = "1.13.2";
src = pkgs.fetchurl {
url = "mirror://pypi/F/Fabric/${name}.tar.gz";
sha256 = "0k944dxr41whw7ib6380q9x15wyskx7fqni656icdn8rzshn9bwq";
};
disabled = isPy3k;
doCheck = (!isPyPy); # https://github.com/fabric/fabric/issues/11891
propagatedBuildInputs = with self; [ paramiko pycrypto ];
buildInputs = with self; [ fudge_9 nose ];
meta = {
description = "Pythonic remote execution";
homepage = https://www.fabfile.org/;
license = licenses.bsd2;
};
};
faulthandler = if ! isPy3k
then callPackage ../development/python-modules/faulthandler {}
else throw "faulthandler is built into ${python.executable}";
fedpkg = callPackage ../development/python-modules/fedpkg { };
flit = callPackage ../development/python-modules/flit { };
flowlogs_reader = buildPythonPackage rec {
name = "flowlogs_reader-1.0.0";
src = pkgs.fetchurl {
url = "mirror://pypi/f/flowlogs_reader/${name}.tar.gz";
sha256 = "0158aki6m3pkf98hpd60088qyhrfxkmybdf8hv3qfl8nb61vaiwf";
};
propagatedBuildInputs = with self; [
botocore boto3 docutils
];
buildInputs = with self; [
unittest2 mock
];
meta = with pkgs.stdenv.lib; {
description = "Python library to make retrieving Amazon VPC Flow Logs from CloudWatch Logs a bit easier";
homepage = "https://github.com/obsrvbl/flowlogs-reader";
maintainers = with maintainers; [ cransom ];
license = licenses.asl20;
};
};
fluent-logger = callPackage ../development/python-modules/fluent-logger {};
python-forecastio = callPackage ../development/python-modules/python-forecastio { };
fpdf = callPackage ../development/python-modules/fpdf { };
fpylll = callPackage ../development/python-modules/fpylll { };
fritzconnection = callPackage ../development/python-modules/fritzconnection { };
frozendict = callPackage ../development/python-modules/frozendict { };
ftputil = callPackage ../development/python-modules/ftputil { };
fudge = buildPythonPackage rec {
name = "fudge-1.1.0";
src = pkgs.fetchurl {
url = "mirror://pypi/f/fudge/${name}.tar.gz";
sha256 = "eba59a926fa1df1ab6dddd69a7a8af21865b16cad800cb4d1af75070b0f52afb";
};
buildInputs = with self; [ nose nosejs ];
propagatedBuildInputs = with self; [ sphinx ];
disabled = isPy3k;
checkPhase = ''
nosetests -v
'';
};
fudge_9 = self.fudge.override rec {
name = "fudge-0.9.6";
src = pkgs.fetchurl {
url = "mirror://pypi/f/fudge/${name}.tar.gz";
sha256 = "34690c4692e8717f4d6a2ab7d841070c93c8d0ea0d2615b47064e291f750b1a0";
};
};
funcparserlib = buildPythonPackage rec {
name = "funcparserlib-0.3.6";
src = pkgs.fetchurl {
url = "mirror://pypi/f/funcparserlib/${name}.tar.gz";
sha256 = "b7992eac1a3eb97b3d91faa342bfda0729e990bd8a43774c1592c091e563c91d";
};
checkPhase = ''
${python.interpreter} -m unittest discover
'';
# Tests are Python 2.x only judging from SyntaxError
doCheck = !(isPy3k);
meta = {
description = "Recursive descent parsing library based on functional combinators";
homepage = https://code.google.com/p/funcparserlib/;
license = licenses.mit;
platforms = platforms.unix;
};
};
fastcache = callPackage ../development/python-modules/fastcache { };
functools32 = if isPy3k then null else buildPythonPackage rec {
name = "functools32-${version}";
version = "3.2.3-2";
src = pkgs.fetchurl {
url = "mirror://pypi/f/functools32/functools32-${version}.tar.gz";
sha256 = "0v8ya0b58x47wp216n1zamimv4iw57cxz3xxhzix52jkw3xks9gn";
};
meta = with stdenv.lib; {
description = "This is a backport of the functools standard library module from";
homepage = "https://github.com/MiCHiLU/python-functools32";
};
};
gateone = buildPythonPackage rec {
name = "gateone-1.2-0d57c3";
disabled = ! isPy27;
src = pkgs.fetchFromGitHub {
rev = "1d0e8037fbfb7c270f3710ce24154e24b7031bea";
owner= "liftoff";
repo = "GateOne";
sha256 = "1ghrawlqwv7wnck6alqpbwy9mpv0y21cw2jirrvsxaracmvgk6vv";
};
propagatedBuildInputs = with self; [tornado futures html5lib pkgs.openssl pkgs.cacert pkgs.openssh];
meta = {
homepage = https://liftoffsoftware.com/;
description = "GateOne is a web-based terminal emulator and SSH client";
maintainers = with maintainers; [ tomberek ];
};
postInstall=''
cp -R "$out/gateone/"* $out/lib/python2.7/site-packages/gateone
'';
};
gcutil = buildPythonPackage rec {
name = "gcutil-1.16.1";
src = pkgs.fetchurl {
url = https://dl.google.com/dl/cloudsdk/release/artifacts/gcutil-1.16.1.tar.gz;
sha256 = "00jaf7x1ji9y46fbkww2sg6r6almrqfsprydz3q2swr4jrnrsx9x";
};
propagatedBuildInputs = with self; [
gflags
iso8601
ipaddr
httplib2
google_apputils
google_api_python_client
];
prePatch = ''
sed -i -e "s|google-apputils==0.4.0|google-apputils==0.4.1|g" setup.py
substituteInPlace setup.py \
--replace "httplib2==0.8" "httplib2" \
--replace "iso8601==0.1.4" "iso8601"
'';
meta = {
description = "Command-line tool for interacting with Google Compute Engine";
homepage = "https://cloud.google.com/compute/docs/gcutil/";
license = licenses.asl20;
maintainers = with maintainers; [ phreedom ];
broken = true;
};
};
GeoIP = callPackage ../development/python-modules/GeoIP { };
gmpy = callPackage ../development/python-modules/gmpy { };
gmpy2 = callPackage ../development/python-modules/gmpy2 { };
gmusicapi = with pkgs; buildPythonPackage rec {
name = "gmusicapi-10.1.0";
src = pkgs.fetchurl {
url = "mirror://pypi/g/gmusicapi/gmusicapi-10.1.0.tar.gz";
sha256 = "0smlrafh1bjzrcjzl7im8pf8f04gcnx92lf3g5qr7yzgq8k20xa2";
};
propagatedBuildInputs = with self; [
validictory
decorator
mutagen
protobuf
setuptools
requests
dateutil
proboscis
mock
appdirs
oauth2client
pyopenssl
gpsoauth
MechanicalSoup
future
];
meta = {
description = "An unofficial API for Google Play Music";
homepage = https://pypi.python.org/pypi/gmusicapi/;
license = licenses.bsd3;
};
};
gnureadline = buildPythonPackage rec {
version = "6.3.3";
name =