Skip to content

Commit

Permalink
Merge pull request #994 from offlinehacker/euganke_dependencies
Browse files Browse the repository at this point in the history
Add a few python packages
  • Loading branch information
domenkozar committed Sep 25, 2013
2 parents 472ba4b + 552bac1 commit c736f70
Showing 1 changed file with 259 additions and 2 deletions.
261 changes: 259 additions & 2 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,25 @@ pythonPackages = modules // import ./python-packages-generated.nix {
};


alembic = buildPythonPackage rec {
name = "alembic-0.6.0";

src = fetchurl {
url = "https://pypi.python.org/packages/source/a/alembic/${name}.tar.gz";
md5 = "084fe81b48ebae43b0f6031af68a03d6";
};

buildInputs = [ nose ];
propagatedBuildInputs = [ Mako sqlalchemy ];

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";

Expand Down Expand Up @@ -917,6 +936,29 @@ pythonPackages = modules // import ./python-packages-generated.nix {
};
};


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 sqlalchemy8 ];

# 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 = pkgs.lib.licenses.mit;
};
};


configobj = buildPythonPackage (rec {
name = "configobj-4.7.2";

Expand Down Expand Up @@ -1085,6 +1127,23 @@ pythonPackages = modules // import ./python-packages-generated.nix {
};
};

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 = [ pkgs.unzip 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 {
Expand Down Expand Up @@ -1326,6 +1385,23 @@ pythonPackages = modules // import ./python-packages-generated.nix {
};


execnet = buildPythonPackage rec {
name = "execnet-1.1";

src = fetchurl {
url = "https://pypi.python.org/packages/source/e/execnet/${name}.zip";
md5 = "be885ccd9612966bb81839670d2da099";
};

buildInputs = [ pkgs.unzip ];

meta = {
description = "rapid multi-Python deployment";
license = stdenv.lib.licenses.gpl2;
};
};


fabric = buildPythonPackage rec {
name = "fabric-1.6.1";
src = fetchurl {
Expand Down Expand Up @@ -1586,6 +1662,24 @@ pythonPackages = modules // import ./python-packages-generated.nix {
};


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;
};
};


raven = buildPythonPackage rec {
name = "raven-3.4.1";

Expand Down Expand Up @@ -2614,6 +2708,28 @@ pythonPackages = modules // import ./python-packages-generated.nix {
};


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";

Expand Down Expand Up @@ -3162,6 +3278,25 @@ pythonPackages = modules // import ./python-packages-generated.nix {
};
};


memory_profiler = buildPythonPackage rec {
name = "memory_profiler-0.27";

src = fetchurl {
url = "https://pypi.python.org/packages/source/m/memory_profiler/memory_profiler-0.27.tar.gz";
md5 = "212c0d7452dbaffb6b09474ac07b0668";
};

# error: invalid command 'test'
doCheck = false;

meta = {
description = "A module for monitoring memory usage of a python program";
homepage = http://pypi.python.org/pypi/memory_profiler;
};
};


mitmproxy = buildPythonPackage rec {
baseName = "mitmproxy";
name = "${baseName}-${meta.version}";
Expand Down Expand Up @@ -4151,13 +4286,16 @@ pythonPackages = modules // import ./python-packages-generated.nix {


psutil = buildPythonPackage rec {
name = "psutil-0.6.1";
name = "psutil-1.0.1";

src = fetchurl {
url = "http://psutil.googlecode.com/files/${name}.tar.gz";
sha256 = "0vqarv63jqzghr4fi1fqdbvg847fq2gqdj8dzc3x59f9b36a8rfn";
sha256 = "1zrzh7hi0f79sf9axwrw3c2kl86qs72kvx8xbbrdwlp39rfa1i1f";
};

# failed tests: https://code.google.com/p/psutil/issues/detail?id=434
doCheck = false;

meta = {
description = "Process and system utilization information interface for python";
homepage = http://code.google.com/p/psutil/;
Expand Down Expand Up @@ -5675,6 +5813,44 @@ pythonPackages = modules // import ./python-packages-generated.nix {
});


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 = buildPythonPackage rec {
name = "sqlalchemy-${version}";
version = "0.7.10";
Expand All @@ -5701,6 +5877,49 @@ pythonPackages = modules // import ./python-packages-generated.nix {
};


sqlalchemy8 = buildPythonPackage rec {
name = "SQLAlchemy-${version}";
version = "0.8.2";

src = fetchurl {
url = "https://pypi.python.org/packages/source/S/SQLAlchemy/${name}.tar.gz";
md5 = "5a33fb43dea93468dbb2a6562ee80b54";
};

buildInputs = [ nose mock ];

propagatedBuildInputs = [ modules.sqlite3 ];

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.1";

src = fetchgit {
url = https://github.com/crosspop/sqlalchemy-imageattach.git;
rev = "refs/tags/${version}";
md5 = "051dd9de0757714d33c3ecd5ab37b97d";
};

buildInputs = [ pytest webob pkgs.imagemagick ];
propagatedBuildInputs = [ sqlalchemy8 wand ];

checkPhase = "cd tests && LD_LIBRARY_PATH=${pkgs.imagemagick}/lib py.test";

meta = {
homepage = https://github.com/crosspop/sqlalchemy-imageattach;
description = "SQLAlchemy extension for attaching images to entity objects";
license = pkgs.lib.licenses.mit;
};
};


sqlalchemy_migrate = buildPythonPackage rec {
name = "sqlalchemy-migrate-0.6.1";

Expand All @@ -5727,6 +5946,26 @@ pythonPackages = modules // import ./python-packages-generated.nix {
};
};


statd = buildPythonPackage rec {
name = "python-statsd-${version}";
version = "1.6.0";

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 = pkgs.lib.licenses.bsd3;
};
};


stompclient = buildPythonPackage (rec {
name = "stompclient-0.3.2";

Expand Down Expand Up @@ -6161,6 +6400,24 @@ pythonPackages = modules // import ./python-packages-generated.nix {
};


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.2.3";
name = "webob-${version}";
Expand Down

0 comments on commit c736f70

Please sign in to comment.