git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #11572 from FRidh/python-modules

Move Python modules/packages to python-packages.nix

commitb9f13deaced2f697ec5b3cb84e41fc2b7ef9732a authorDomen Kožar <domen@dev.si> dateFri 11 Dec 2015, 13:26 (11 years ago) parentb67fdd2f2ac296
27 files changed+355−485
pkgs/development/python-modules/bsddb3/default.nix−12 pkgs/development/python-modules/ecdsa/default.nix−18 pkgs/development/python-modules/irclib/default.nix−23 pkgs/development/python-modules/mygpoclient/default.nix−28 pkgs/development/python-modules/numeric/default.nix−40 pkgs/development/python-modules/psyco/default.nix−14 pkgs/development/python-modules/pycairo/default.nix+1−1 pkgs/development/python-modules/pycangjie/default.nix+3−3 pkgs/development/python-modules/pycups/default.nix−18 pkgs/development/python-modules/pygame/default.nix+4−1 pkgs/development/python-modules/pyqt/4.x.nix+1−1 pkgs/development/python-modules/pyqt/5.x.nix+1−1 pkgs/development/python-modules/pyside/apiextractor.nix+3−3 pkgs/development/python-modules/pyside/default.nix+6−5 pkgs/development/python-modules/pyside/generatorrunner.nix+3−3 pkgs/development/python-modules/pyside/shiboken.nix+10−6 pkgs/development/python-modules/pyside/tools.nix+3−3 pkgs/development/python-modules/pyx/default.nix−40 pkgs/development/python-modules/rbtools/default.nix−17 pkgs/development/python-modules/slowaes/default.nix−16 pkgs/development/python-modules/xmpppy/default.nix−22 pkgs/games/castle-combat/default.nix−69 pkgs/tools/admin/awscli/default.nix−40 pkgs/tools/system/ansible/2.nix−33 pkgs/tools/system/ansible/default.nix−33 pkgs/top-level/all-packages.nix+22−32 pkgs/top-level/python-packages.nix+298−3
pkgs/development/python-modules/bsddb3/default.nixdeleted−12
@@ -1,12 +0,0 @@
1−{stdenv, fetchurl, python, db}:
2−
3−stdenv.mkDerivation rec {
4− name = "bsddb3-6.1.0";
5− src = fetchurl {
6− url = "https://pypi.python.org/packages/source/b/bsddb3/${name}.tar.gz";
7− sha256 = "05gx3rfgq1qrgdmpd6hri6y5l97bh1wczvb6x853jchwi7in6cdi";
8− };
9− buildInputs = [python];
10− buildPhase = "true";
11− installPhase = "python ./setup.py install --prefix=$out --berkeley-db=${db}";
12−}
pkgs/development/python-modules/ecdsa/default.nixdeleted−18
@@ -1,18 +0,0 @@
1−{ stdenv, fetchurl, buildPythonPackage, openssl }:
2−
3−buildPythonPackage rec {
4− name = "ecdsa-0.11";
5−
6− src = fetchurl {
7− url = "https://pypi.python.org/packages/source/e/ecdsa/${name}.tar.gz";
8− sha256 = "134mbq5xsvx54k9xm7zrizvh9imxmcz1w9mhyfr99p4i7wcnqfwf";
9− };
10−
11− buildInputs = [ openssl ];
12−
13− meta = {
14− homepage = "http://github.com/warner/python-ecdsa";
15− description = "Pure-python ECDSA signature/verification";
16− license = stdenv.lib.licenses.mit;
17− };
18−}
pkgs/development/python-modules/irclib/default.nixdeleted−23
@@ -1,23 +0,0 @@
1−{ buildPythonPackage, fetchurl }:
2−
3−buildPythonPackage rec {
4− name = "irclib-${version}";
5− version = "0.4.8";
6−
7− src = fetchurl {
8− url = "mirror://sourceforge/python-irclib/python-irclib-${version}.tar.gz";
9− sha256 = "1x5456y4rbxmnw4yblhb4as5791glcw394bm36px3x6l05j3mvl1";
10− };
11−
12− patches = [(fetchurl {
13− url = "http://trac.uwc.ac.za/trac/python_tools/browser/xmpp/resources/irc-transport/irclib.py.diff?rev=387&format=raw";
14− name = "irclib.py.diff";
15− sha256 = "5fb8d95d6c95c93eaa400b38447c63e7a176b9502bc49b2f9b788c9905f4ec5e";
16− })];
17−
18− patchFlags = "irclib.py";
19−
20− meta = {
21− description = "Python IRC library";
22− };
23−}
pkgs/development/python-modules/mygpoclient/default.nixdeleted−28
@@ -1,28 +0,0 @@
1−{ stdenv, fetchurl, python, buildPythonPackage, pythonPackages }:
2−
3−buildPythonPackage rec {
4− name = "mygpoclient-1.7";
5−
6− src = fetchurl {
7− url = "https://thp.io/2010/mygpoclient/${name}.tar.gz";
8− sha256 = "6a0b7b1fe2b046875456e14eda3e42430e493bf2251a64481cf4fd1a1e21a80e";
9− };
10−
11− buildInputs = with pythonPackages; [ nose minimock ];
12−
13− checkPhase = ''
14− nosetests
15− '';
16−
17− meta = {
18− description = "A gpodder.net client library";
19− longDescription = ''
20− The mygpoclient library allows developers to utilize a Pythonic interface
21− to the gpodder.net web services.
22− '';
23− homepage = "https://thp.io/2010/mygpoclient/";
24− license = stdenv.lib.licenses.gpl3;
25− platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
26− maintainers = [ stdenv.lib.maintainers.skeidel ];
27− };
28−}
pkgs/development/python-modules/numeric/default.nixdeleted−40
@@ -1,40 +0,0 @@
1−{ fetchurl, stdenv, python }:
2−
3−let version = "24.2"; in
4− stdenv.mkDerivation {
5− name = "python-numeric-${version}";
6−
7− src = fetchurl {
8− url = "mirror://sourceforge/numpy/Numeric-${version}.tar.gz";
9− sha256 = "0n2jy47n3d121pky4a3r0zjmk2vk66czr2x3y9179xbgxclyfwjz";
10− };
11−
12− buildInputs = [ python ];
13−
14− buildPhase = ''python setup.py build --build-base "$out"'';
15− installPhase = ''
16− python setup.py install --prefix "$out"
17−
18− # Remove the `lib.linux-i686-2.5' and `temp.linux-i686-2.5' (or
19− # similar) directories.
20− rm -rf $out/lib.* $out/temp.*
21− '';
22−
23− # FIXME: Run the tests.
24−
25− meta = {
26− description = "A Python module for high-performance, numeric computing";
27−
28− longDescription = ''
29− Numeric is a Python module for high-performance, numeric
30− computing. It provides much of the functionality and
31− performance of commercial numeric software such as Matlab; it
32− some cases, it provides more functionality than commercial
33− software.
34− '';
35−
36− license = "Python+LLNL";
37−
38− homepage = http://people.csail.mit.edu/jrennie/python/numeric/;
39− };
40− }
pkgs/development/python-modules/psyco/default.nixdeleted−14
@@ -1,14 +0,0 @@
1−{stdenv, fetchurl, python}:
2−
3−assert stdenv.system == "i686-linux";
4−
5−stdenv.mkDerivation {
6− name = "psyco-1.5.2";
7− src = fetchurl {
8− url = mirror://sourceforge/psyco/psyco-1.5.2-src.tar.gz;
9− md5 = "bceb17423d06b573dc7b875d34e79417";
10− };
11− buildInputs = [python];
12− buildPhase = "true";
13− installPhase = "python ./setup.py install --prefix=$out";
14−}
pkgs/development/python-modules/pycairo/default.nix+1−1
@@ -2,7 +2,7 @@
22
33if (isPyPy || isPy35) then throw "pycairo not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec {
44 version = "1.10.0";
5− name = "pycairo-${version}";
5+ name = "${python.libPrefix}-pycairo-${version}";
66 src = if python.is_py3k or false
77 then fetchurl {
88 url = "http://cairographics.org/releases/pycairo-${version}.tar.bz2";
pkgs/development/python-modules/pycangjie/default.nix+3−3
@@ -1,9 +1,9 @@
11{ stdenv, fetchurl, bash, autoconf, automake, libtool, pkgconfig, libcangjie
2−, sqlite, python3, cython3
2+, sqlite, python, cython
33}:
44
55stdenv.mkDerivation rec {
6− name = "pycangjie-${version}";
6+ name = "${python.libPrefix}-pycangjie-${version}";
77 version = "1.3_rev_${rev}";
88 rev = "361bb413203fd43bab624d98edf6f7d20ce6bfd3";
99
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 };
1515
1616 buildInputs = [
17− autoconf automake libtool pkgconfig libcangjie sqlite python3 cython3
17+ autoconf automake libtool pkgconfig libcangjie sqlite python cython
1818 ];
1919
2020 preConfigure = ''
pkgs/development/python-modules/pycups/default.nixdeleted−18
@@ -1,18 +0,0 @@
1−{ stdenv, fetchurl, python, cups }:
2−
3−let version = "1.9.68"; in
4−
5−stdenv.mkDerivation {
6− name = "pycups-${version}";
7−
8− src = fetchurl {
9− url = "http://cyberelk.net/tim/data/pycups/pycups-${version}.tar.bz2";
10− sha256 = "1i1ph9k1wampa7r6mgc30a99w0zjmxhvcxjxrgjqa5vdknynqd24";
11− };
12−
13− installPhase = ''
14− CFLAGS=-DVERSION=\\\"${version}\\\" python ./setup.py install --prefix $out
15− '';
16−
17− buildInputs = [ python cups ];
18−}
pkgs/development/python-modules/pygame/default.nix+4−1
@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, buildPythonPackage, pkgconfig, smpeg, libX11
2−, SDL, SDL_image, SDL_mixer, SDL_ttf, libpng, libjpeg, portmidi
2+, SDL, SDL_image, SDL_mixer, SDL_ttf, libpng, libjpeg, portmidi, isPy3k,
33}:
44
55buildPythonPackage {
@@ -15,6 +15,9 @@ buildPythonPackage {
1515 smpeg portmidi libX11
1616 ];
1717
18+ # /nix/store/94kswjlwqnc0k2bnwgx7ckx0w2kqzaxj-stdenv/setup: line 73: python: command not found
19+ disabled = isPy3k;
20+
1821 patches = [ ./pygame-v4l.patch ];
1922
2023 preConfigure = ''
pkgs/development/python-modules/pyqt/4.x.nix+1−1
@@ -3,7 +3,7 @@
33let version = "4.11.3";
44in
55stdenv.mkDerivation {
6− name = "PyQt-x11-gpl-${version}";
6+ name = "${python.libPrefix}-PyQt-x11-gpl-${version}";
77
88 src = fetchurl {
99 url = "mirror://sourceforge/pyqt/PyQt4/PyQt-${version}/PyQt-x11-gpl-${version}.tar.gz";
pkgs/development/python-modules/pyqt/5.x.nix+1−1
@@ -3,7 +3,7 @@
33let
44 version = "5.4.2";
55in stdenv.mkDerivation {
6− name = "PyQt-${version}";
6+ name = "${python.libPrefix}-PyQt-${version}";
77
88 meta = with stdenv.lib; {
99 description = "Python bindings for Qt5";
pkgs/development/python-modules/pyside/apiextractor.nix+3−3
@@ -1,7 +1,7 @@
1−{ stdenv, fetchurl, cmake, libxml2, libxslt, python27Packages, qt4 }:
1+{ stdenv, fetchurl, cmake, libxml2, libxslt, python, sphinx, qt4 }:
22
33stdenv.mkDerivation {
4− name = "pyside-apiextractor-0.10.10";
4+ name = "${python.libPrefix}-pyside-apiextractor-0.10.10";
55
66 src = fetchurl {
77 url = "https://github.com/PySide/Apiextractor/archive/0.10.10.tar.gz";
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
1010
1111 enableParallelBuilding = true;
1212
13− buildInputs = [ cmake libxml2 libxslt python27Packages.sphinx qt4 ];
13+ buildInputs = [ cmake libxml2 libxslt sphinx qt4 ];
1414
1515 meta = {
1616 description = "Eases the development of bindings of Qt-based libraries for high level languages by automating most of the process";
pkgs/development/python-modules/pyside/default.nix+6−5
@@ -1,11 +1,12 @@
1−{ stdenv, fetchurl, cmake, pysideGeneratorrunner, pysideShiboken, qt4 }:
1+{ stdenv, fetchurl, cmake, python, pysideGeneratorrunner, pysideShiboken, qt4 }:
22
3−stdenv.mkDerivation {
4− name = "pyside-1.2.2";
3+stdenv.mkDerivation rec {
4+ name = "${python.libPrefix}-pyside-${version}";
5+ version = "1.2.4";
56
67 src = fetchurl {
7− url = "http://download.qt-project.org/official_releases/pyside/pyside-qt4.8+1.2.2.tar.bz2";
8− sha256 = "1qbahpcjwl8d7zvvnc18nxpk1lbifpvjk8pi24ifbvvqcdsdzad1";
8+ url = "https://github.com/PySide/PySide/archive/${version}.tar.gz";
9+ sha256 = "90f2d736e2192ac69e5a2ac798fce2b5f7bf179269daa2ec262986d488c3b0f7";
910 };
1011
1112 enableParallelBuilding = true;
pkgs/development/python-modules/pyside/generatorrunner.nix+3−3
@@ -1,7 +1,7 @@
1−{ stdenv, fetchurl, cmake, pysideApiextractor, python27Packages, qt4 }:
1+{ stdenv, fetchurl, cmake, pysideApiextractor, python, sphinx, qt4 }:
22
33stdenv.mkDerivation {
4− name = "pyside-generatorrunner-0.6.16";
4+ name = "${python.libPrefix}-pyside-generatorrunner-0.6.16";
55
66 src = fetchurl {
77 url = "https://github.com/PySide/Generatorrunner/archive/0.6.16.tar.gz";
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
1010
1111 enableParallelBuilding = true;
1212
13− buildInputs = [ cmake pysideApiextractor python27Packages.sphinx qt4 ];
13+ buildInputs = [ cmake pysideApiextractor sphinx qt4 ];
1414
1515 meta = {
1616 description = "Eases the development of binding generators for C++ and Qt-based libraries by providing a framework to help automating most of the process";
pkgs/development/python-modules/pyside/shiboken.nix+10−6
@@ -1,16 +1,18 @@
1−{ stdenv, fetchurl, cmake, pysideApiextractor, pysideGeneratorrunner, python27, python27Packages, qt4 }:
1+{ stdenv, fetchurl, cmake, libxml2, libxslt, pysideApiextractor, pysideGeneratorrunner, python, sphinx, qt4, isPy3k, isPy35 }:
22
3−stdenv.mkDerivation {
4− name = "pyside-shiboken-1.2.2";
3+# Python 3.5 is not supported: https://github.com/PySide/Shiboken/issues/77
4+if isPy35 then throw "shiboken not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec {
5+ name = "${python.libPrefix}-pyside-shiboken-${version}";
6+ version = "1.2.4";
57
68 src = fetchurl {
7− url = "http://download.qt-project.org/official_releases/pyside/shiboken-1.2.2.tar.bz2";
8− sha256 = "1i75ziljl7rgb88nf26hz6cm8jf5kbs9r33b1j8zs4z33z7vn9bn";
9+ url = "https://github.com/PySide/Shiboken/archive/${version}.tar.gz";
10+ sha256 = "1536f73a3353296d97a25e24f9554edf3e6a48126886f8d21282c3645ecb96a4";
911 };
1012
1113 enableParallelBuilding = true;
1214
13− buildInputs = [ cmake pysideApiextractor pysideGeneratorrunner python27 python27Packages.sphinx qt4 ];
15+ buildInputs = [ cmake libxml2 libxslt pysideApiextractor pysideGeneratorrunner python sphinx qt4 ];
1416
1517 preConfigure = ''
1618 echo "preConfigure: Fixing shiboken_generator install target."
@@ -18,6 +20,8 @@ stdenv.mkDerivation {
1820 \"$\{GENERATORRUNNER_PLUGIN_DIR}\" lib/generatorrunner/
1921 '';
2022
23+ cmakeFlags = if isPy3k then "-DUSE_PYTHON3=TRUE" else null;
24+
2125 meta = {
2226 description = "Plugin (front-end) for pyside-generatorrunner, that generates bindings for C++ libraries using CPython source code";
2327 license = stdenv.lib.licenses.gpl2;
pkgs/development/python-modules/pyside/tools.nix+3−3
@@ -1,7 +1,7 @@
1−{ stdenv, fetchurl, cmake, pyside, python27, qt4, pysideShiboken }:
1+{ stdenv, fetchurl, cmake, pyside, python, qt4, pysideShiboken }:
22
33stdenv.mkDerivation {
4− name = "pyside-tools-0.2.15";
4+ name = "${python.libPrefix}-pyside-tools-0.2.15";
55
66 src = fetchurl {
77 url = "https://github.com/PySide/Tools/archive/0.2.15.tar.gz";
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
1010
1111 enableParallelBuilding = true;
1212
13− buildInputs = [ cmake pyside python27 qt4 pysideShiboken ];
13+ buildInputs = [ cmake pyside python qt4 pysideShiboken ];
1414
1515 meta = {
1616 description = "Tools for pyside, the LGPL-licensed Python bindings for the Qt cross-platform application and UI framework";
pkgs/development/python-modules/pyx/default.nixdeleted−40
@@ -1,40 +0,0 @@
1−{stdenv, fetchurl, python, makeWrapper}:
2−
3−stdenv.mkDerivation rec {
4− name = "PyX-0.10";
5− src = fetchurl {
6− url = "mirror://sourceforge/pyx/${name}.tar.gz";
7− sha256 = "dfaa4a7790661d67d95f80b22044fdd8a9922483631950296ff1d7a9f85c8bba";
8− };
9−
10− patchPhase = ''
11− substituteInPlace ./setup.py --replace '"/etc"' '"etc"'
12− '';
13−
14− buildInputs = [python makeWrapper];
15− buildPhase = "python ./setup.py build";
16− installPhase = ''
17− python ./setup.py install --prefix="$out" || exit 1
18−
19− for i in "$out/bin/"*
20− do
21− # FIXME: We're assuming Python 2.4.
22− wrapProgram "$i" --prefix PYTHONPATH : \
23− "$out/lib/python2.4/site-packages" || \
24− exit 2
25− done
26− '';
27−
28− meta = {
29− description = ''Python graphics package'';
30− longDescription = ''
31− PyX is a Python package for the creation of PostScript and PDF
32− files. It combines an abstraction of the PostScript drawing
33− model with a TeX/LaTeX interface. Complex tasks like 2d and 3d
34− plots in publication-ready quality are built out of these
35− primitives.
36− '';
37− license = stdenv.lib.licenses.gpl2;
38− homepage = http://pyx.sourceforge.net/;
39− };
40−}
pkgs/development/python-modules/rbtools/default.nixdeleted−17
@@ -1,17 +0,0 @@
1−{ stdenv, fetchurl, pythonPackages, python }:
2−
3−pythonPackages.buildPythonPackage rec {
4− name = "rbtools-0.7.2";
5− namePrefix = "";
6−
7− src = fetchurl {
8− url = "http://downloads.reviewboard.org/releases/RBTools/0.7/RBTools-0.7.2.tar.gz";
9− sha256 = "1ng8l8cx81cz23ls7fq9wz4ijs0zbbaqh4kj0mj6plzcqcf8na4i";
10− };
11−
12− propagatedBuildInputs = [ python.modules.sqlite3 pythonPackages.six ];
13−
14− meta = {
15− maintainers = [ stdenv.lib.maintainers.iElectric ];
16− };
17−}
pkgs/development/python-modules/slowaes/default.nixdeleted−16
@@ -1,16 +0,0 @@
1−{ stdenv, fetchurl, buildPythonPackage }:
2−
3−buildPythonPackage rec {
4− name = "slowaes-0.1a1";
5−
6− src = fetchurl {
7− url = "https://pypi.python.org/packages/source/s/slowaes/${name}.tar.gz";
8− sha256 = "83658ae54cc116b96f7fdb12fdd0efac3a4e8c7c7064e3fac3f4a881aa54bf09";
9− };
10−
11− meta = {
12− homepage = "http://code.google.com/p/slowaes/";
13− description = "AES implemented in pure python";
14− license = stdenv.lib.licenses.asl20;
15− };
16−}
pkgs/development/python-modules/xmpppy/default.nixdeleted−22
@@ -1,22 +0,0 @@
1−{ buildPythonPackage, fetchurl, setuptools }:
2−
3−buildPythonPackage rec {
4− name = "xmpp.py-${version}";
5− version = "0.5.0rc1";
6−
7− src = fetchurl {
8− url = "mirror://sourceforge/xmpppy/xmpppy-${version}.tar.gz";
9− sha256 = "16hbh8kwc5n4qw2rz1mrs8q17rh1zq9cdl05b1nc404n7idh56si";
10− };
11−
12− buildInputs = [ setuptools ];
13−
14− preInstall = ''
15− mkdir -p $out/bin $out/lib $out/share $(toPythonPath $out)
16− export PYTHONPATH=$PYTHONPATH:$(toPythonPath $out)
17− '';
18−
19− meta = {
20− description = "XMPP python library";
21− };
22−}
pkgs/games/castle-combat/default.nixdeleted−69
@@ -1,69 +0,0 @@
1−{ fetchurl, stdenv, buildPythonPackage, pygame, twisted, numeric, makeWrapper }:
2−
3−buildPythonPackage rec {
4− name = "castle-combat-0.8.1";
5− namePrefix = "";
6−
7− src = fetchurl {
8− url = "mirror://sourceforge/castle-combat/${name}.tar.gz";
9− sha256 = "1hp4y5dgj88j9g44h4dqiakrgj8lip1krlrdl2qpffin08agrvik";
10− };
11−
12− buildInputs = [ makeWrapper ];
13− propagatedBuildInputs =
14− [ pygame twisted
15−
16− # XXX: `Numeric.pth' should be found by Python but it's not.
17− # Gobolinux has the same problem:
18− # http://bugs.python.org/issue1431 .
19− numeric
20− ];
21−
22− patchPhase = ''
23− sed -i "src/common.py" \
24− -e "s|^data_path *=.*$|data_path = \"$out/share/${name}\"|g"
25−
26− mv -v "src/"*.py .
27− sed -i "setup.py" -e's/"src"/""/g'
28− '';
29−
30− postInstall = ''
31− mkdir -p "$out/share/${name}"
32− cp -rv "data/"* "$out/share/${name}"
33−
34− mv -v "$out/bin/castle-combat.py" "$out/bin/castle-combat"
35− '';
36−
37− postPhases = "fixLoaderPath";
38−
39− fixLoaderPath =
40− let dollar = "\$"; in
41− '' sed -i "$out/bin/castle-combat" \
42− -e "/^exec/ iexport LD_LIBRARY_PATH=\"$(cat ${stdenv.cc}/nix-support/orig-cc)/lib\:"'${dollar}'"LD_LIBRARY_PATH\"\\
43−export LD_LIBRARY_PATH=\"$(cat ${stdenv.cc}/nix-support/orig-cc)/lib64\:"'${dollar}'"LD_LIBRARY_PATH\""
44− '';
45− # ^
46− # `--- The run-time says: "libgcc_s.so.1 must be installed for
47− # pthread_cancel to work", which means it needs help to find it.
48−
49− # No test suite.
50− doCheck = false;
51−
52− meta = {
53− description = "Castle-Combat, a clone of the old arcade game Rampart";
54−
55− longDescription = ''
56− Castle-Combat is a clone of the old arcade game Rampart. Up to
57− four players (or more in future versions) build castle walls,
58− place cannons inside these walls, and shoot at the walls of
59− their enemy(s). If a player cannot build a complete wall around
60− one of his castles, he loses. The last surviving player wins.
61− '';
62−
63− homepage = http://www.linux-games.com/castle-combat/;
64−
65− license = "unknown";
66−
67− maintainers = [ ];
68− };
69−}
pkgs/tools/admin/awscli/default.nixdeleted−40
@@ -1,40 +0,0 @@
1−{ stdenv, fetchFromGitHub, pythonPackages, groff }:
2−
3−pythonPackages.buildPythonPackage rec {
4− name = "awscli-${version}";
5− version = "1.9.6";
6− namePrefix = "";
7−
8− src = fetchFromGitHub {
9− owner = "aws";
10− repo = "aws-cli";
11− rev = version;
12− sha256 = "08qclasxf8zdxwmngvynq9n5vv4nwdy68ma7wn7ji40bxmls37g2";
13− };
14−
15− propagatedBuildInputs = [
16− pythonPackages.botocore
17− pythonPackages.bcdoc
18− pythonPackages.six
19− pythonPackages.colorama
20− pythonPackages.docutils
21− pythonPackages.rsa
22− pythonPackages.pyasn1
23− groff
24− ];
25−
26− postInstall = ''
27− mkdir -p $out/etc/bash_completion.d
28− echo "complete -C $out/bin/aws_completer aws" > $out/etc/bash_completion.d/awscli
29− mkdir -p $out/share/zsh/site-functions
30− mv $out/bin/aws_zsh_completer.sh $out/share/zsh/site-functions
31− rm $out/bin/aws.cmd
32− '';
33−
34− meta = {
35− homepage = https://aws.amazon.com/cli/;
36− description = "Unified tool to manage your AWS services";
37− license = stdenv.lib.licenses.asl20;
38− maintainers = with stdenv.lib.maintainers; [ muflax ];
39− };
40−}
pkgs/tools/system/ansible/2.nixdeleted−33
@@ -1,33 +0,0 @@
1−{ windowsSupport ? true, stdenv, fetchurl, pythonPackages, python }:
2−
3−pythonPackages.buildPythonPackage rec {
4− version = "v2.0.0_0.6.rc1";
5− name = "ansible-${version}";
6− namePrefix = "";
7−
8− src = fetchurl {
9− url = "http://releases.ansible.com/ansible/ansible-2.0.0-0.6.rc1.tar.gz";
10− sha256 = "0v7fqi7qg9lzvpsjlaw9rzas8n1cdsyp3y9jrqzjxs9nbknwcibd";
11− };
12−
13− prePatch = ''
14− sed -i "s,/usr/,$out," lib/ansible/constants.py
15− '';
16−
17− doCheck = false;
18− dontStrip = true;
19− dontPatchELF = true;
20− dontPatchShebangs = true;
21−
22− pythonPath = with pythonPackages; [
23− paramiko jinja2 pyyaml httplib2 boto six
24− ] ++ stdenv.lib.optional windowsSupport pywinrm;
25−
26− meta = with stdenv.lib; {
27− homepage = "http://www.ansible.com";
28− description = "A simple automation tool";
29− license = licenses.gpl3;
30− maintainers = [ maintainers.copumpkin ];
31− platforms = platforms.linux ++ [ "x86_64-darwin" ];
32− };
33−}
pkgs/tools/system/ansible/default.nixdeleted−33
@@ -1,33 +0,0 @@
1−{ windowsSupport ? true, stdenv, fetchurl, pythonPackages, python }:
2−
3−pythonPackages.buildPythonPackage rec {
4− version = "1.9.4";
5− name = "ansible-${version}";
6− namePrefix = "";
7−
8− src = fetchurl {
9− url = "https://releases.ansible.com/ansible/${name}.tar.gz";
10− sha256 = "1qvgzb66nlyc2ncmgmqhzdk0x0p2px09967p1yypf5czwjn2yb4p";
11− };
12−
13− prePatch = ''
14− sed -i "s,/usr/,$out," lib/ansible/constants.py
15− '';
16−
17− doCheck = false;
18− dontStrip = true;
19− dontPatchELF = true;
20− dontPatchShebangs = true;
21−
22− pythonPath = with pythonPackages; [
23− paramiko jinja2 pyyaml httplib2 boto six
24− ] ++ stdenv.lib.optional windowsSupport pywinrm;
25−
26− meta = with stdenv.lib; {
27− homepage = "http://www.ansible.com";
28− description = "A simple automation tool";
29− license = licenses.gpl3;
30− maintainers = [ maintainers.joamaki ];
31− platforms = platforms.linux ++ [ "x86_64-darwin" ];
32− };
33−}
pkgs/top-level/all-packages.nix+22−32
@@ -577,7 +577,7 @@ let
577577
578578 avfs = callPackage ../tools/filesystems/avfs { };
579579
580− awscli = callPackage ../tools/admin/awscli { };
580+ awscli = pythonPackages.awscli;
581581
582582 ec2_api_tools = callPackage ../tools/virtualization/ec2-api-tools { };
583583
@@ -2810,7 +2810,7 @@ let
28102810
28112811 pyatspi = callPackage ../development/python-modules/pyatspi { };
28122812
2813− pycangjie = callPackage ../development/python-modules/pycangjie { };
2813+ pycangjie = pythonPackages.pycangjie;
28142814
28152815 pydb = callPackage ../development/tools/pydb { };
28162816
@@ -2818,7 +2818,7 @@ let
28182818
28192819 pythonDBus = dbus_python;
28202820
2821− pythonIRClib = callPackage ../development/python-modules/irclib { };
2821+ pythonIRClib = pythonPackages.pythonIRClib;
28222822
28232823 pythonSexy = builderDefsPackage (callPackage ../development/python-modules/libsexy) { };
28242824
@@ -3635,7 +3635,7 @@ let
36353635
36363636 xmltv = callPackage ../tools/misc/xmltv { };
36373637
3638− xmpppy = callPackage ../development/python-modules/xmpppy { };
3638+ xmpppy = pythonPackages.xmpppy;
36393639
36403640 xorriso = callPackage ../tools/cd-dvd/xorriso { };
36413641
@@ -5379,9 +5379,9 @@ let
53795379
53805380 augeas = callPackage ../tools/system/augeas { };
53815381
5382− ansible = callPackage ../tools/system/ansible { };
5382+ ansible = pythonPackages.ansible;
53835383
5384− ansible2 = callPackage ../tools/system/ansible/2.nix { };
5384+ ansible2 = pythonPackages.ansible2;
53855385
53865386 antlr = callPackage ../development/tools/parsing/antlr/2.7.7.nix { };
53875387
@@ -6248,9 +6248,7 @@ let
62486248 dbus_cplusplus = callPackage ../development/libraries/dbus-cplusplus { };
62496249 dbus_glib = callPackage ../development/libraries/dbus-glib { };
62506250 dbus_java = callPackage ../development/libraries/java/dbus-java { };
6251− dbus_python = callPackage ../development/python-modules/dbus {
6252− isPyPy = python.executable == "pypy";
6253− };
6251+ dbus_python = pythonPackages.dbus;
62546252
62556253 # Should we deprecate these? Currently there are many references.
62566254 dbus_tools = pkgs.dbus.tools;
@@ -7872,7 +7870,7 @@ let
78727870
78737871 muparser = callPackage ../development/libraries/muparser { };
78747872
7875− mygpoclient = callPackage ../development/python-modules/mygpoclient { };
7873+ mygpoclient = pythonPackages.mygpoclient;
78767874
78777875 mygui = callPackage ../development/libraries/mygui {};
78787876
@@ -9011,15 +9009,11 @@ let
90119009 self = pypyPackages;
90129010 });
90139011
9014− foursuite = callPackage ../development/python-modules/4suite { };
9015−
9016− bsddb3 = callPackage ../development/python-modules/bsddb3 { };
9017−
9018− ecdsa = callPackage ../development/python-modules/ecdsa { };
9012+ foursuite = pythonPackages.foursuite;
90199013
9020− numeric = callPackage ../development/python-modules/numeric { };
9014+ bsddb3 = pythonPackages.bsddb3;
90219015
9022− psyco = callPackage ../development/python-modules/psyco { };
9016+ ecdsa = pythonPackages.ecdsa;
90239017
90249018 pycairo = pythonPackages.pycairo;
90259019
@@ -9027,11 +9021,11 @@ let
90279021
90289022 pycrypto = pythonPackages.pycrypto;
90299023
9030− pycups = callPackage ../development/python-modules/pycups { };
9024+ pycups = pythonPackages.pycups;
90319025
90329026 pyexiv2 = callPackage ../development/python-modules/pyexiv2 { };
90339027
9034− pygame = callPackage ../development/python-modules/pygame { };
9028+ pygame = pythonPackages.pygame;
90359029
90369030 pygobject = pythonPackages.pygobject;
90379031
@@ -9039,7 +9033,7 @@ let
90399033
90409034 pygtk = pythonPackages.pygtk;
90419035
9042− pygtksourceview = callPackage ../development/python-modules/pygtksourceview { };
9036+ pygtksourceview = pythonPackages.pygtksourceview;
90439037
90449038 pyGtkGlade = pythonPackages.pyGtkGlade;
90459039
@@ -9049,27 +9043,25 @@ let
90499043
90509044 rhpl = callPackage ../development/python-modules/rhpl { };
90519045
9052− pyqt4 = callPackage ../development/python-modules/pyqt/4.x.nix { };
9046+ pyqt4 = pythonPackages.pyqt4;
90539047
9054− pysideApiextractor = callPackage ../development/python-modules/pyside/apiextractor.nix { };
9048+ pysideApiextractor = pythonPackages.pysideApiextractor;
90559049
9056− pysideGeneratorrunner = callPackage ../development/python-modules/pyside/generatorrunner.nix { };
9050+ pysideGeneratorrunner = pythonPackages.pysideGeneratorrunner;
90579051
9058− pyside = callPackage ../development/python-modules/pyside { };
9052+ pyside = pythonPackages.pyside;
90599053
9060− pysideTools = callPackage ../development/python-modules/pyside/tools.nix { };
9054+ pysideTools = pythonPackages.pysideTools;
90619055
9062− pysideShiboken = callPackage ../development/python-modules/pyside/shiboken.nix { };
9063−
9064− pyx = callPackage ../development/python-modules/pyx { };
9056+ pysideShiboken = pythonpackages.pysideShiboken;
90659057
90669058 pyxml = callPackage ../development/python-modules/pyxml { };
90679059
9068− rbtools = callPackage ../development/python-modules/rbtools { };
9060+ rbtools = pythonPackages.rbtools;
90699061
90709062 setuptools = pythonPackages.setuptools;
90719063
9072− slowaes = callPackage ../development/python-modules/slowaes { };
9064+ slowaes = pythonPackages.slowaes;
90739065
90749066 wxPython = pythonPackages.wxPython;
90759067 wxPython28 = pythonPackages.wxPython28;
@@ -13962,8 +13954,6 @@ let
1396213954
1396313955 bzflag = callPackage ../games/bzflag { };
1396413956
13965− castle_combat = callPackage ../games/castle-combat { };
13966−
1396713957 cataclysm-dda = callPackage ../games/cataclysm-dda { };
1396813958
1396913959 chessdb = callPackage ../games/chessdb { };
pkgs/top-level/python-packages.nix+298−3
@@ -140,14 +140,20 @@ in modules // {
140140 pycairo = callPackage ../development/python-modules/pycairo {
141141 };
142142
143+ pycangjie = if isPy3k then callPackage ../development/python-modules/pycangjie { } else throw "pycangjie not supported for interpreter ${python.executable}";
144+
143145 pycrypto = callPackage ../development/python-modules/pycrypto { };
144146
147+ pygame = callPackage ../development/python-modules/pygame { };
148+
145149 pygobject = callPackage ../development/python-modules/pygobject { };
146150
147151 pygobject3 = callPackage ../development/python-modules/pygobject/3.nix { };
148152
149153 pygtk = callPackage ../development/python-modules/pygtk { libglade = null; };
150154
155+ pygtksourceview = callPackage ../development/python-modules/pygtksourceview { };
156+
151157 pyGtkGlade = self.pygtk.override {
152158 libglade = pkgs.gnome.libglade;
153159 };
@@ -163,6 +169,16 @@ in modules // {
163169 qt5 = pkgs.qt5;
164170 };
165171
172+ pyside = callPackage ../development/python-modules/pyside { };
173+
174+ pysideApiextractor = callPackage ../development/python-modules/pyside/apiextractor.nix { };
175+
176+ pysideGeneratorrunner = callPackage ../development/python-modules/pyside/generatorrunner.nix { };
177+
178+ pysideShiboken = callPackage ../development/python-modules/pyside/shiboken.nix { };
179+
180+ pysideTools = callPackage ../development/python-modules/pyside/tools.nix { };
181+
166182 sip = callPackage ../development/python-modules/sip { };
167183
168184 sip_4_16 = callPackage ../development/python-modules/sip/4.16.nix { };
@@ -485,7 +501,6 @@ in modules // {
485501 };
486502 };
487503
488−
489504 anyjson = buildPythonPackage rec {
490505 name = "anyjson-0.3.3";
491506 disabled = isPy3k;
@@ -541,6 +556,70 @@ in modules // {
541556 };
542557 };
543558
559+ ansible = buildPythonPackage rec {
560+ version = "1.9.4";
561+ name = "ansible-${version}";
562+
563+ src = pkgs.fetchurl {
564+ url = "https://releases.ansible.com/ansible/${name}.tar.gz";
565+ sha256 = "1qvgzb66nlyc2ncmgmqhzdk0x0p2px09967p1yypf5czwjn2yb4p";
566+ };
567+
568+ prePatch = ''
569+ sed -i "s,/usr/,$out," lib/ansible/constants.py
570+ '';
571+
572+ doCheck = false;
573+ dontStrip = true;
574+ dontPatchELF = true;
575+ dontPatchShebangs = true;
576+ windowsSupport = true;
577+
578+ propagatedBuildInputs = with self; [
579+ paramiko jinja2 pyyaml httplib2 boto six
580+ ] ++ optional windowsSupport pywinrm;
581+
582+ meta = {
583+ homepage = "http://www.ansible.com";
584+ description = "A simple automation tool";
585+ license = with licenses; [ gpl3] ;
586+ maintainers = with maintainers; [ joamaki ];
587+ platforms = with platforms; [ linux darwin ];
588+ };
589+ };
590+
591+ ansible2 = buildPythonPackage rec {
592+ version = "v2.0.0_0.6.rc1";
593+ name = "ansible-${version}";
594+
595+ src = pkgs.fetchurl {
596+ url = "http://releases.ansible.com/ansible/ansible-2.0.0-0.6.rc1.tar.gz";
597+ sha256 = "0v7fqi7qg9lzvpsjlaw9rzas8n1cdsyp3y9jrqzjxs9nbknwcibd";
598+ };
599+
600+ prePatch = ''
601+ sed -i "s,/usr/,$out," lib/ansible/constants.py
602+ '';
603+
604+ doCheck = false;
605+ dontStrip = true;
606+ dontPatchELF = true;
607+ dontPatchShebangs = true;
608+ windowsSupport = true;
609+
610+ propagatedBuildInputs = with self; [
611+ paramiko jinja2 pyyaml httplib2 boto six
612+ ] ++ optional windowsSupport pywinrm;
613+
614+ meta = with stdenv.lib; {
615+ homepage = "http://www.ansible.com";
616+ description = "A simple automation tool";
617+ license = with licenses; [ gpl3 ];
618+ maintainers = with maintainers; [ copumpkin ];
619+ platforms = with platforms; [ linux darwin ];
620+ };
621+ };
622+
544623 apipkg = buildPythonPackage rec {
545624 name = "apipkg-1.4";
546625
@@ -936,6 +1015,42 @@ in modules // {
9361015 };
9371016 }));
9381017
1018+ awscli = buildPythonPackage rec {
1019+ name = "awscli-${version}";
1020+ version = "1.9.12";
1021+
1022+ src = pkgs.fetchurl {
1023+ url = "https://pypi.python.org/packages/source/a/awscli/${name}.tar.gz";
1024+ sha256 = "0b50de084c8de70adf45c0e938b6350344d9b6acde8b7cdee02cb32964bc58fd";
1025+ };
1026+
1027+ propagatedBuildInputs = with self; [
1028+ botocore
1029+ bcdoc
1030+ six
1031+ colorama
1032+ docutils
1033+ rsa
1034+ pyasn1
1035+ pkgs.groff
1036+ ];
1037+
1038+ postInstall = ''
1039+ mkdir -p $out/etc/bash_completion.d
1040+ echo "complete -C $out/bin/aws_completer aws" > $out/etc/bash_completion.d/awscli
1041+ mkdir -p $out/share/zsh/site-functions
1042+ mv $out/bin/aws_zsh_completer.sh $out/share/zsh/site-functions
1043+ rm $out/bin/aws.cmd
1044+ '';
1045+
1046+ meta = {
1047+ homepage = https://aws.amazon.com/cli/;
1048+ description = "Unified tool to manage your AWS services";
1049+ license = stdenv.lib.licenses.asl20;
1050+ maintainers = with maintainers; [ muflax ];
1051+ };
1052+ };
1053+
9391054 azure = buildPythonPackage rec {
9401055 version = "0.11.0";
9411056 name = "azure-${version}";
@@ -1673,6 +1788,32 @@ in modules // {
16731788 };
16741789 };
16751790
1791+ bsddb3 = buildPythonPackage rec {
1792+ name = "bsddb3-${version}";
1793+ version = "6.1.1";
1794+
1795+ src = pkgs.fetchurl {
1796+ url = "https://pypi.python.org/packages/source/b/bsddb3/${name}.tar.gz";
1797+ sha256 = "6f21b0252125c07798d784c164ef135ad153d226c01b290258ee1c5b9e7c4dd3";
1798+ };
1799+
1800+ buildInputs = [ pkgs.db ];
1801+
1802+ # Path to database need to be set.
1803+ # Somehow the setup.py flag is not propagated.
1804+ #setupPyBuildFlags = [ "--berkeley-db=${pkgs.db}" ];
1805+ # We can also use a variable
1806+ preConfigure = ''
1807+ export BERKELEYDB_DIR=${pkgs.db};
1808+ '';
1809+
1810+ meta = {
1811+ description = "Python bindings for Oracle Berkeley DB";
1812+ homepage = http://www.jcea.es/programacion/pybsddb.htm;
1813+ license = with licenses; [ agpl3 ]; # License changed from bsd3 to agpl3 since 6.x
1814+ };
1815+ };
1816+
16761817 bokeh = buildPythonPackage rec {
16771818 name = "bokeh-${version}";
16781819 version = "0.10.0";
@@ -1776,12 +1917,12 @@ in modules // {
17761917 };
17771918
17781919 botocore = buildPythonPackage rec {
1779− version = "1.3.6";
1920+ version = "1.3.12";
17801921 name = "botocore-${version}";
17811922
17821923 src = pkgs.fetchurl {
17831924 url = "https://pypi.python.org/packages/source/b/botocore/${name}.tar.gz";
1784− sha256 = "05a0ihv66fx77j16mjlm76d8zm7sd5wfzh1hx4nm3ilb9gz5h016";
1925+ sha256 = "6f4f09234aca23db2e66c548b98a4fb14516241b31fb473c9c6f5b21270900c6";
17851926 };
17861927
17871928 propagatedBuildInputs =
@@ -7628,6 +7769,8 @@ in modules // {
76287769 };
76297770 });
76307771
7772+ foursuite = callPackage ../development/python-modules/4suite {};
7773+
76317774 fs = buildPythonPackage rec {
76327775 name = "fs-0.5.0";
76337776
@@ -8742,6 +8885,33 @@ in modules // {
87428885 propagatedBuildInputs = with self; [ self.nose self.ipython ];
87438886 };
87448887
8888+ pythonIRClib = buildPythonPackage rec {
8889+ name = "irclib-${version}";
8890+ version = "0.4.8";
8891+
8892+ src = pkgs.fetchurl {
8893+ url = "mirror://sourceforge/python-irclib/python-irclib-${version}.tar.gz";
8894+ sha256 = "1x5456y4rbxmnw4yblhb4as5791glcw394bm36px3x6l05j3mvl1";
8895+ };
8896+
8897+ patches = [(pkgs.fetchurl {
8898+ url = "http://trac.uwc.ac.za/trac/python_tools/browser/xmpp/resources/irc-transport/irclib.py.diff?rev=387&format=raw";
8899+ name = "irclib.py.diff";
8900+ sha256 = "5fb8d95d6c95c93eaa400b38447c63e7a176b9502bc49b2f9b788c9905f4ec5e";
8901+ })];
8902+
8903+ patchFlags = "irclib.py";
8904+
8905+ propagatedBuildInputs = with self; [ paver ];
8906+
8907+ disabled = isPy3k;
8908+ meta = {
8909+ description = "Python IRC library";
8910+ homepage = https://bitbucket.org/jaraco/irc;
8911+ license = with licenses; [ lgpl21 ];
8912+ };
8913+ };
8914+
87458915 iso8601 = buildPythonPackage {
87468916 name = "iso8601-0.1.10";
87478917 src = pkgs.fetchurl {
@@ -10157,6 +10327,36 @@ in modules // {
1015710327 };
1015810328 });
1015910329
10330+ mygpoclient = buildPythonPackage rec {
10331+ name = "mygpoclient-${version}";
10332+ version = "1.7";
10333+
10334+ src = pkgs.fetchurl {
10335+ url = "https://thp.io/2010/mygpoclient/${name}.tar.gz";
10336+ sha256 = "6a0b7b1fe2b046875456e14eda3e42430e493bf2251a64481cf4fd1a1e21a80e";
10337+ };
10338+
10339+ buildInputs = with self; [ nose minimock ];
10340+
10341+ checkPhase = ''
10342+ nosetests
10343+ '';
10344+
10345+ disabled = isPy3k;
10346+
10347+ meta = {
10348+ description = "A gpodder.net client library";
10349+ longDescription = ''
10350+ The mygpoclient library allows developers to utilize a Pythonic interface
10351+ to the gpodder.net web services.
10352+ '';
10353+ homepage = https://thp.io/2010/mygpoclient/;
10354+ license = with licenses; [ gpl3 ];
10355+ platforms = with platforms; [ linux darwin ];
10356+ maintainers = with maintainers; [ skeidel ];
10357+ };
10358+ };
10359+
1016010360 plover = buildPythonPackage rec {
1016110361 name = "plover-${version}";
1016210362 version = "2.5.8";
@@ -14122,6 +14322,24 @@ in modules // {
1412214322 };
1412314323 });
1412414324
14325+ pycups = buildPythonPackage rec {
14326+ name = "pycups-${version}";
14327+ version = "1.9.73";
14328+
14329+ src = pkgs.fetchurl {
14330+ url = "http://cyberelk.net/tim/data/pycups/pycups-${version}.tar.bz2";
14331+ sha256 = "c381be011889ca6f728598578c89c8ac9f7ab1e95b614474df9f2fa831ae5335";
14332+ };
14333+
14334+ buildInputs = [ pkgs.cups ];
14335+
14336+ meta = {
14337+ description = "Python bindings for libcups";
14338+ homepage = http://cyberelk.net/tim/software/pycups/;
14339+ license = with licenses; [ gpl2Plus ];
14340+ };
14341+
14342+ };
1412514343
1412614344 pycurl = buildPythonPackage (rec {
1412714345 name = "pycurl-7.19.5";
@@ -14400,6 +14618,24 @@ in modules // {
1440014618 };
1440114619 };
1440214620
14621+ pyx = buildPythonPackage rec {
14622+ name = "pyx-${version}";
14623+ version = "0.14.1";
14624+
14625+ src = pkgs.fetchurl {
14626+ url = "https://pypi.python.org/packages/source/P/PyX/PyX-${version}.tar.gz";
14627+ sha256 = "05d1b7fc813379d2c12fcb5bd0195cab522b5aabafac88f72913f1d47becd912";
14628+ };
14629+
14630+ disabled = !isPy3k;
14631+
14632+ meta = {
14633+ description = "Python package for the generation of PostScript, PDF, and SVG files";
14634+ homepage = http://pyx.sourceforge.net/;
14635+ license = with licenses; [ gpl2 ];
14636+ };
14637+ };
14638+
1440314639 mmpython = buildPythonPackage rec {
1440414640 version = "0.4.10";
1440514641 name = "mmpython-${version}";
@@ -15550,6 +15786,26 @@ in modules // {
1555015786 };
1555115787 };
1555215788
15789+ rbtools = buildPythonPackage rec {
15790+ name = "rbtools-0.7.2";
15791+
15792+ src = pkgs.fetchurl {
15793+ url = "http://downloads.reviewboard.org/releases/RBTools/0.7/RBTools-0.7.2.tar.gz";
15794+ sha256 = "1ng8l8cx81cz23ls7fq9wz4ijs0zbbaqh4kj0mj6plzcqcf8na4i";
15795+ };
15796+
15797+ buildInputs = with self; [ nose ];
15798+ propagatedBuildInputs = with self; [ modules.sqlite3 six ];
15799+
15800+ checkPhase = "nosetests";
15801+
15802+ disabled = isPy3k;
15803+
15804+ meta = {
15805+ maintainers = with maintainers; [ iElectric ];
15806+ };
15807+ };
15808+
1555315809 rencode = buildPythonPackage rec {
1555415810 name = "rencode-${version}";
1555515811 version = "git20150810";
@@ -16829,6 +17085,24 @@ in modules // {
1682917085 };
1683017086 };
1683117087
17088+ slowaes = buildPythonPackage rec {
17089+ name = "slowaes-${version}";
17090+ version = "0.1a1";
17091+
17092+ src = pkgs.fetchurl {
17093+ url = "https://pypi.python.org/packages/source/s/slowaes/${name}.tar.gz";
17094+ sha256 = "83658ae54cc116b96f7fdb12fdd0efac3a4e8c7c7064e3fac3f4a881aa54bf09";
17095+ };
17096+
17097+ disabled = isPy3k;
17098+
17099+ meta = {
17100+ homepage = "http://code.google.com/p/slowaes/";
17101+ description = "AES implemented in pure python";
17102+ license = with licenses; [ asl20 ];
17103+ };
17104+ };
17105+
1683217106 snowballstemmer = buildPythonPackage rec {
1683317107 name = "snowballstemmer-1.2.0";
1683417108
@@ -22276,6 +22550,27 @@ in modules // {
2227622550 };
2227722551 };
2227822552
22553+ xmpppy = buildPythonPackage rec {
22554+ name = "xmpp.py-${version}";
22555+ version = "0.5.0rc1";
22556+
22557+ src = pkgs.fetchurl {
22558+ url = "mirror://sourceforge/xmpppy/xmpppy-${version}.tar.gz";
22559+ sha256 = "16hbh8kwc5n4qw2rz1mrs8q17rh1zq9cdl05b1nc404n7idh56si";
22560+ };
22561+
22562+ preInstall = ''
22563+ mkdir -p $out/bin $out/lib $out/share $(toPythonPath $out)
22564+ export PYTHONPATH=$PYTHONPATH:$(toPythonPath $out)
22565+ '';
22566+
22567+ disabled = isPy3k;
22568+
22569+ meta = {
22570+ description = "XMPP python library";
22571+ };
22572+ };
22573+
2227922574 xstatic-bootbox = buildPythonPackage rec {
2228022575 name = "XStatic-Bootbox-${version}";
2228122576 version = "4.3.0.1";