Merge pull request #11572 from FRidh/python-modules
Move Python modules/packages to python-packages.nix
This commit is contained in:
commit
b9f13deace
@ -1,12 +0,0 @@
|
||||
{stdenv, fetchurl, python, db}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bsddb3-6.1.0";
|
||||
src = fetchurl {
|
||||
url = "https://pypi.python.org/packages/source/b/bsddb3/${name}.tar.gz";
|
||||
sha256 = "05gx3rfgq1qrgdmpd6hri6y5l97bh1wczvb6x853jchwi7in6cdi";
|
||||
};
|
||||
buildInputs = [python];
|
||||
buildPhase = "true";
|
||||
installPhase = "python ./setup.py install --prefix=$out --berkeley-db=${db}";
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage, openssl }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "ecdsa-0.11";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pypi.python.org/packages/source/e/ecdsa/${name}.tar.gz";
|
||||
sha256 = "134mbq5xsvx54k9xm7zrizvh9imxmcz1w9mhyfr99p4i7wcnqfwf";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
meta = {
|
||||
homepage = "http://github.com/warner/python-ecdsa";
|
||||
description = "Pure-python ECDSA signature/verification";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
};
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
{ buildPythonPackage, fetchurl }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "irclib-${version}";
|
||||
version = "0.4.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/python-irclib/python-irclib-${version}.tar.gz";
|
||||
sha256 = "1x5456y4rbxmnw4yblhb4as5791glcw394bm36px3x6l05j3mvl1";
|
||||
};
|
||||
|
||||
patches = [(fetchurl {
|
||||
url = "http://trac.uwc.ac.za/trac/python_tools/browser/xmpp/resources/irc-transport/irclib.py.diff?rev=387&format=raw";
|
||||
name = "irclib.py.diff";
|
||||
sha256 = "5fb8d95d6c95c93eaa400b38447c63e7a176b9502bc49b2f9b788c9905f4ec5e";
|
||||
})];
|
||||
|
||||
patchFlags = "irclib.py";
|
||||
|
||||
meta = {
|
||||
description = "Python IRC library";
|
||||
};
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
{ stdenv, fetchurl, python, buildPythonPackage, pythonPackages }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "mygpoclient-1.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://thp.io/2010/mygpoclient/${name}.tar.gz";
|
||||
sha256 = "6a0b7b1fe2b046875456e14eda3e42430e493bf2251a64481cf4fd1a1e21a80e";
|
||||
};
|
||||
|
||||
buildInputs = with pythonPackages; [ nose minimock ];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A gpodder.net client library";
|
||||
longDescription = ''
|
||||
The mygpoclient library allows developers to utilize a Pythonic interface
|
||||
to the gpodder.net web services.
|
||||
'';
|
||||
homepage = "https://thp.io/2010/mygpoclient/";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
||||
maintainers = [ stdenv.lib.maintainers.skeidel ];
|
||||
};
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
{ fetchurl, stdenv, python }:
|
||||
|
||||
let version = "24.2"; in
|
||||
stdenv.mkDerivation {
|
||||
name = "python-numeric-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/numpy/Numeric-${version}.tar.gz";
|
||||
sha256 = "0n2jy47n3d121pky4a3r0zjmk2vk66czr2x3y9179xbgxclyfwjz";
|
||||
};
|
||||
|
||||
buildInputs = [ python ];
|
||||
|
||||
buildPhase = ''python setup.py build --build-base "$out"'';
|
||||
installPhase = ''
|
||||
python setup.py install --prefix "$out"
|
||||
|
||||
# Remove the `lib.linux-i686-2.5' and `temp.linux-i686-2.5' (or
|
||||
# similar) directories.
|
||||
rm -rf $out/lib.* $out/temp.*
|
||||
'';
|
||||
|
||||
# FIXME: Run the tests.
|
||||
|
||||
meta = {
|
||||
description = "A Python module for high-performance, numeric computing";
|
||||
|
||||
longDescription = ''
|
||||
Numeric is a Python module for high-performance, numeric
|
||||
computing. It provides much of the functionality and
|
||||
performance of commercial numeric software such as Matlab; it
|
||||
some cases, it provides more functionality than commercial
|
||||
software.
|
||||
'';
|
||||
|
||||
license = "Python+LLNL";
|
||||
|
||||
homepage = http://people.csail.mit.edu/jrennie/python/numeric/;
|
||||
};
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
{stdenv, fetchurl, python}:
|
||||
|
||||
assert stdenv.system == "i686-linux";
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "psyco-1.5.2";
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/psyco/psyco-1.5.2-src.tar.gz;
|
||||
md5 = "bceb17423d06b573dc7b875d34e79417";
|
||||
};
|
||||
buildInputs = [python];
|
||||
buildPhase = "true";
|
||||
installPhase = "python ./setup.py install --prefix=$out";
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
|
||||
if (isPyPy || isPy35) then throw "pycairo not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec {
|
||||
version = "1.10.0";
|
||||
name = "pycairo-${version}";
|
||||
name = "${python.libPrefix}-pycairo-${version}";
|
||||
src = if python.is_py3k or false
|
||||
then fetchurl {
|
||||
url = "http://cairographics.org/releases/pycairo-${version}.tar.bz2";
|
||||
|
@ -1,9 +1,9 @@
|
||||
{ stdenv, fetchurl, bash, autoconf, automake, libtool, pkgconfig, libcangjie
|
||||
, sqlite, python3, cython3
|
||||
, sqlite, python, cython
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pycangjie-${version}";
|
||||
name = "${python.libPrefix}-pycangjie-${version}";
|
||||
version = "1.3_rev_${rev}";
|
||||
rev = "361bb413203fd43bab624d98edf6f7d20ce6bfd3";
|
||||
|
||||
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
autoconf automake libtool pkgconfig libcangjie sqlite python3 cython3
|
||||
autoconf automake libtool pkgconfig libcangjie sqlite python cython
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
|
@ -1,18 +0,0 @@
|
||||
{ stdenv, fetchurl, python, cups }:
|
||||
|
||||
let version = "1.9.68"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "pycups-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://cyberelk.net/tim/data/pycups/pycups-${version}.tar.bz2";
|
||||
sha256 = "1i1ph9k1wampa7r6mgc30a99w0zjmxhvcxjxrgjqa5vdknynqd24";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
CFLAGS=-DVERSION=\\\"${version}\\\" python ./setup.py install --prefix $out
|
||||
'';
|
||||
|
||||
buildInputs = [ python cups ];
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage, pkgconfig, smpeg, libX11
|
||||
, SDL, SDL_image, SDL_mixer, SDL_ttf, libpng, libjpeg, portmidi
|
||||
, SDL, SDL_image, SDL_mixer, SDL_ttf, libpng, libjpeg, portmidi, isPy3k,
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
@ -15,6 +15,9 @@ buildPythonPackage {
|
||||
smpeg portmidi libX11
|
||||
];
|
||||
|
||||
# /nix/store/94kswjlwqnc0k2bnwgx7ckx0w2kqzaxj-stdenv/setup: line 73: python: command not found
|
||||
disabled = isPy3k;
|
||||
|
||||
patches = [ ./pygame-v4l.patch ];
|
||||
|
||||
preConfigure = ''
|
||||
|
@ -3,7 +3,7 @@
|
||||
let version = "4.11.3";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "PyQt-x11-gpl-${version}";
|
||||
name = "${python.libPrefix}-PyQt-x11-gpl-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/pyqt/PyQt4/PyQt-${version}/PyQt-x11-gpl-${version}.tar.gz";
|
||||
|
@ -3,7 +3,7 @@
|
||||
let
|
||||
version = "5.4.2";
|
||||
in stdenv.mkDerivation {
|
||||
name = "PyQt-${version}";
|
||||
name = "${python.libPrefix}-PyQt-${version}";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python bindings for Qt5";
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchurl, cmake, libxml2, libxslt, python27Packages, qt4 }:
|
||||
{ stdenv, fetchurl, cmake, libxml2, libxslt, python, sphinx, qt4 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "pyside-apiextractor-0.10.10";
|
||||
name = "${python.libPrefix}-pyside-apiextractor-0.10.10";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/PySide/Apiextractor/archive/0.10.10.tar.gz";
|
||||
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [ cmake libxml2 libxslt python27Packages.sphinx qt4 ];
|
||||
buildInputs = [ cmake libxml2 libxslt sphinx qt4 ];
|
||||
|
||||
meta = {
|
||||
description = "Eases the development of bindings of Qt-based libraries for high level languages by automating most of the process";
|
||||
|
@ -1,11 +1,12 @@
|
||||
{ stdenv, fetchurl, cmake, pysideGeneratorrunner, pysideShiboken, qt4 }:
|
||||
{ stdenv, fetchurl, cmake, python, pysideGeneratorrunner, pysideShiboken, qt4 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "pyside-1.2.2";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${python.libPrefix}-pyside-${version}";
|
||||
version = "1.2.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.qt-project.org/official_releases/pyside/pyside-qt4.8+1.2.2.tar.bz2";
|
||||
sha256 = "1qbahpcjwl8d7zvvnc18nxpk1lbifpvjk8pi24ifbvvqcdsdzad1";
|
||||
url = "https://github.com/PySide/PySide/archive/${version}.tar.gz";
|
||||
sha256 = "90f2d736e2192ac69e5a2ac798fce2b5f7bf179269daa2ec262986d488c3b0f7";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchurl, cmake, pysideApiextractor, python27Packages, qt4 }:
|
||||
{ stdenv, fetchurl, cmake, pysideApiextractor, python, sphinx, qt4 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "pyside-generatorrunner-0.6.16";
|
||||
name = "${python.libPrefix}-pyside-generatorrunner-0.6.16";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/PySide/Generatorrunner/archive/0.6.16.tar.gz";
|
||||
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [ cmake pysideApiextractor python27Packages.sphinx qt4 ];
|
||||
buildInputs = [ cmake pysideApiextractor sphinx qt4 ];
|
||||
|
||||
meta = {
|
||||
description = "Eases the development of binding generators for C++ and Qt-based libraries by providing a framework to help automating most of the process";
|
||||
|
@ -1,16 +1,18 @@
|
||||
{ stdenv, fetchurl, cmake, pysideApiextractor, pysideGeneratorrunner, python27, python27Packages, qt4 }:
|
||||
{ stdenv, fetchurl, cmake, libxml2, libxslt, pysideApiextractor, pysideGeneratorrunner, python, sphinx, qt4, isPy3k, isPy35 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "pyside-shiboken-1.2.2";
|
||||
# Python 3.5 is not supported: https://github.com/PySide/Shiboken/issues/77
|
||||
if isPy35 then throw "shiboken not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec {
|
||||
name = "${python.libPrefix}-pyside-shiboken-${version}";
|
||||
version = "1.2.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.qt-project.org/official_releases/pyside/shiboken-1.2.2.tar.bz2";
|
||||
sha256 = "1i75ziljl7rgb88nf26hz6cm8jf5kbs9r33b1j8zs4z33z7vn9bn";
|
||||
url = "https://github.com/PySide/Shiboken/archive/${version}.tar.gz";
|
||||
sha256 = "1536f73a3353296d97a25e24f9554edf3e6a48126886f8d21282c3645ecb96a4";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [ cmake pysideApiextractor pysideGeneratorrunner python27 python27Packages.sphinx qt4 ];
|
||||
buildInputs = [ cmake libxml2 libxslt pysideApiextractor pysideGeneratorrunner python sphinx qt4 ];
|
||||
|
||||
preConfigure = ''
|
||||
echo "preConfigure: Fixing shiboken_generator install target."
|
||||
@ -18,6 +20,8 @@ stdenv.mkDerivation {
|
||||
\"$\{GENERATORRUNNER_PLUGIN_DIR}\" lib/generatorrunner/
|
||||
'';
|
||||
|
||||
cmakeFlags = if isPy3k then "-DUSE_PYTHON3=TRUE" else null;
|
||||
|
||||
meta = {
|
||||
description = "Plugin (front-end) for pyside-generatorrunner, that generates bindings for C++ libraries using CPython source code";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchurl, cmake, pyside, python27, qt4, pysideShiboken }:
|
||||
{ stdenv, fetchurl, cmake, pyside, python, qt4, pysideShiboken }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "pyside-tools-0.2.15";
|
||||
name = "${python.libPrefix}-pyside-tools-0.2.15";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/PySide/Tools/archive/0.2.15.tar.gz";
|
||||
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [ cmake pyside python27 qt4 pysideShiboken ];
|
||||
buildInputs = [ cmake pyside python qt4 pysideShiboken ];
|
||||
|
||||
meta = {
|
||||
description = "Tools for pyside, the LGPL-licensed Python bindings for the Qt cross-platform application and UI framework";
|
||||
|
@ -1,40 +0,0 @@
|
||||
{stdenv, fetchurl, python, makeWrapper}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "PyX-0.10";
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/pyx/${name}.tar.gz";
|
||||
sha256 = "dfaa4a7790661d67d95f80b22044fdd8a9922483631950296ff1d7a9f85c8bba";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace ./setup.py --replace '"/etc"' '"etc"'
|
||||
'';
|
||||
|
||||
buildInputs = [python makeWrapper];
|
||||
buildPhase = "python ./setup.py build";
|
||||
installPhase = ''
|
||||
python ./setup.py install --prefix="$out" || exit 1
|
||||
|
||||
for i in "$out/bin/"*
|
||||
do
|
||||
# FIXME: We're assuming Python 2.4.
|
||||
wrapProgram "$i" --prefix PYTHONPATH : \
|
||||
"$out/lib/python2.4/site-packages" || \
|
||||
exit 2
|
||||
done
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = ''Python graphics package'';
|
||||
longDescription = ''
|
||||
PyX is a Python package for the creation of PostScript and PDF
|
||||
files. It combines an abstraction of the PostScript drawing
|
||||
model with a TeX/LaTeX interface. Complex tasks like 2d and 3d
|
||||
plots in publication-ready quality are built out of these
|
||||
primitives.
|
||||
'';
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
homepage = http://pyx.sourceforge.net/;
|
||||
};
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
{ stdenv, fetchurl, pythonPackages, python }:
|
||||
|
||||
pythonPackages.buildPythonPackage rec {
|
||||
name = "rbtools-0.7.2";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://downloads.reviewboard.org/releases/RBTools/0.7/RBTools-0.7.2.tar.gz";
|
||||
sha256 = "1ng8l8cx81cz23ls7fq9wz4ijs0zbbaqh4kj0mj6plzcqcf8na4i";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ python.modules.sqlite3 pythonPackages.six ];
|
||||
|
||||
meta = {
|
||||
maintainers = [ stdenv.lib.maintainers.iElectric ];
|
||||
};
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "slowaes-0.1a1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pypi.python.org/packages/source/s/slowaes/${name}.tar.gz";
|
||||
sha256 = "83658ae54cc116b96f7fdb12fdd0efac3a4e8c7c7064e3fac3f4a881aa54bf09";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "http://code.google.com/p/slowaes/";
|
||||
description = "AES implemented in pure python";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
};
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
{ buildPythonPackage, fetchurl, setuptools }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "xmpp.py-${version}";
|
||||
version = "0.5.0rc1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/xmpppy/xmpppy-${version}.tar.gz";
|
||||
sha256 = "16hbh8kwc5n4qw2rz1mrs8q17rh1zq9cdl05b1nc404n7idh56si";
|
||||
};
|
||||
|
||||
buildInputs = [ setuptools ];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/bin $out/lib $out/share $(toPythonPath $out)
|
||||
export PYTHONPATH=$PYTHONPATH:$(toPythonPath $out)
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "XMPP python library";
|
||||
};
|
||||
}
|
@ -1,69 +0,0 @@
|
||||
{ fetchurl, stdenv, buildPythonPackage, pygame, twisted, numeric, makeWrapper }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "castle-combat-0.8.1";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/castle-combat/${name}.tar.gz";
|
||||
sha256 = "1hp4y5dgj88j9g44h4dqiakrgj8lip1krlrdl2qpffin08agrvik";
|
||||
};
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
propagatedBuildInputs =
|
||||
[ pygame twisted
|
||||
|
||||
# XXX: `Numeric.pth' should be found by Python but it's not.
|
||||
# Gobolinux has the same problem:
|
||||
# http://bugs.python.org/issue1431 .
|
||||
numeric
|
||||
];
|
||||
|
||||
patchPhase = ''
|
||||
sed -i "src/common.py" \
|
||||
-e "s|^data_path *=.*$|data_path = \"$out/share/${name}\"|g"
|
||||
|
||||
mv -v "src/"*.py .
|
||||
sed -i "setup.py" -e's/"src"/""/g'
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p "$out/share/${name}"
|
||||
cp -rv "data/"* "$out/share/${name}"
|
||||
|
||||
mv -v "$out/bin/castle-combat.py" "$out/bin/castle-combat"
|
||||
'';
|
||||
|
||||
postPhases = "fixLoaderPath";
|
||||
|
||||
fixLoaderPath =
|
||||
let dollar = "\$"; in
|
||||
'' sed -i "$out/bin/castle-combat" \
|
||||
-e "/^exec/ iexport LD_LIBRARY_PATH=\"$(cat ${stdenv.cc}/nix-support/orig-cc)/lib\:"'${dollar}'"LD_LIBRARY_PATH\"\\
|
||||
export LD_LIBRARY_PATH=\"$(cat ${stdenv.cc}/nix-support/orig-cc)/lib64\:"'${dollar}'"LD_LIBRARY_PATH\""
|
||||
'';
|
||||
# ^
|
||||
# `--- The run-time says: "libgcc_s.so.1 must be installed for
|
||||
# pthread_cancel to work", which means it needs help to find it.
|
||||
|
||||
# No test suite.
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Castle-Combat, a clone of the old arcade game Rampart";
|
||||
|
||||
longDescription = ''
|
||||
Castle-Combat is a clone of the old arcade game Rampart. Up to
|
||||
four players (or more in future versions) build castle walls,
|
||||
place cannons inside these walls, and shoot at the walls of
|
||||
their enemy(s). If a player cannot build a complete wall around
|
||||
one of his castles, he loses. The last surviving player wins.
|
||||
'';
|
||||
|
||||
homepage = http://www.linux-games.com/castle-combat/;
|
||||
|
||||
license = "unknown";
|
||||
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
{ stdenv, fetchFromGitHub, pythonPackages, groff }:
|
||||
|
||||
pythonPackages.buildPythonPackage rec {
|
||||
name = "awscli-${version}";
|
||||
version = "1.9.6";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aws";
|
||||
repo = "aws-cli";
|
||||
rev = version;
|
||||
sha256 = "08qclasxf8zdxwmngvynq9n5vv4nwdy68ma7wn7ji40bxmls37g2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pythonPackages.botocore
|
||||
pythonPackages.bcdoc
|
||||
pythonPackages.six
|
||||
pythonPackages.colorama
|
||||
pythonPackages.docutils
|
||||
pythonPackages.rsa
|
||||
pythonPackages.pyasn1
|
||||
groff
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/etc/bash_completion.d
|
||||
echo "complete -C $out/bin/aws_completer aws" > $out/etc/bash_completion.d/awscli
|
||||
mkdir -p $out/share/zsh/site-functions
|
||||
mv $out/bin/aws_zsh_completer.sh $out/share/zsh/site-functions
|
||||
rm $out/bin/aws.cmd
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = https://aws.amazon.com/cli/;
|
||||
description = "Unified tool to manage your AWS services";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
maintainers = with stdenv.lib.maintainers; [ muflax ];
|
||||
};
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
{ windowsSupport ? true, stdenv, fetchurl, pythonPackages, python }:
|
||||
|
||||
pythonPackages.buildPythonPackage rec {
|
||||
version = "v2.0.0_0.6.rc1";
|
||||
name = "ansible-${version}";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://releases.ansible.com/ansible/ansible-2.0.0-0.6.rc1.tar.gz";
|
||||
sha256 = "0v7fqi7qg9lzvpsjlaw9rzas8n1cdsyp3y9jrqzjxs9nbknwcibd";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
sed -i "s,/usr/,$out," lib/ansible/constants.py
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
dontStrip = true;
|
||||
dontPatchELF = true;
|
||||
dontPatchShebangs = true;
|
||||
|
||||
pythonPath = with pythonPackages; [
|
||||
paramiko jinja2 pyyaml httplib2 boto six
|
||||
] ++ stdenv.lib.optional windowsSupport pywinrm;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://www.ansible.com";
|
||||
description = "A simple automation tool";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.copumpkin ];
|
||||
platforms = platforms.linux ++ [ "x86_64-darwin" ];
|
||||
};
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
{ windowsSupport ? true, stdenv, fetchurl, pythonPackages, python }:
|
||||
|
||||
pythonPackages.buildPythonPackage rec {
|
||||
version = "1.9.4";
|
||||
name = "ansible-${version}";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://releases.ansible.com/ansible/${name}.tar.gz";
|
||||
sha256 = "1qvgzb66nlyc2ncmgmqhzdk0x0p2px09967p1yypf5czwjn2yb4p";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
sed -i "s,/usr/,$out," lib/ansible/constants.py
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
dontStrip = true;
|
||||
dontPatchELF = true;
|
||||
dontPatchShebangs = true;
|
||||
|
||||
pythonPath = with pythonPackages; [
|
||||
paramiko jinja2 pyyaml httplib2 boto six
|
||||
] ++ stdenv.lib.optional windowsSupport pywinrm;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://www.ansible.com";
|
||||
description = "A simple automation tool";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.joamaki ];
|
||||
platforms = platforms.linux ++ [ "x86_64-darwin" ];
|
||||
};
|
||||
}
|
@ -577,7 +577,7 @@ let
|
||||
|
||||
avfs = callPackage ../tools/filesystems/avfs { };
|
||||
|
||||
awscli = callPackage ../tools/admin/awscli { };
|
||||
awscli = pythonPackages.awscli;
|
||||
|
||||
ec2_api_tools = callPackage ../tools/virtualization/ec2-api-tools { };
|
||||
|
||||
@ -2810,7 +2810,7 @@ let
|
||||
|
||||
pyatspi = callPackage ../development/python-modules/pyatspi { };
|
||||
|
||||
pycangjie = callPackage ../development/python-modules/pycangjie { };
|
||||
pycangjie = pythonPackages.pycangjie;
|
||||
|
||||
pydb = callPackage ../development/tools/pydb { };
|
||||
|
||||
@ -2818,7 +2818,7 @@ let
|
||||
|
||||
pythonDBus = dbus_python;
|
||||
|
||||
pythonIRClib = callPackage ../development/python-modules/irclib { };
|
||||
pythonIRClib = pythonPackages.pythonIRClib;
|
||||
|
||||
pythonSexy = builderDefsPackage (callPackage ../development/python-modules/libsexy) { };
|
||||
|
||||
@ -3635,7 +3635,7 @@ let
|
||||
|
||||
xmltv = callPackage ../tools/misc/xmltv { };
|
||||
|
||||
xmpppy = callPackage ../development/python-modules/xmpppy { };
|
||||
xmpppy = pythonPackages.xmpppy;
|
||||
|
||||
xorriso = callPackage ../tools/cd-dvd/xorriso { };
|
||||
|
||||
@ -5379,9 +5379,9 @@ let
|
||||
|
||||
augeas = callPackage ../tools/system/augeas { };
|
||||
|
||||
ansible = callPackage ../tools/system/ansible { };
|
||||
ansible = pythonPackages.ansible;
|
||||
|
||||
ansible2 = callPackage ../tools/system/ansible/2.nix { };
|
||||
ansible2 = pythonPackages.ansible2;
|
||||
|
||||
antlr = callPackage ../development/tools/parsing/antlr/2.7.7.nix { };
|
||||
|
||||
@ -6248,9 +6248,7 @@ let
|
||||
dbus_cplusplus = callPackage ../development/libraries/dbus-cplusplus { };
|
||||
dbus_glib = callPackage ../development/libraries/dbus-glib { };
|
||||
dbus_java = callPackage ../development/libraries/java/dbus-java { };
|
||||
dbus_python = callPackage ../development/python-modules/dbus {
|
||||
isPyPy = python.executable == "pypy";
|
||||
};
|
||||
dbus_python = pythonPackages.dbus;
|
||||
|
||||
# Should we deprecate these? Currently there are many references.
|
||||
dbus_tools = pkgs.dbus.tools;
|
||||
@ -7872,7 +7870,7 @@ let
|
||||
|
||||
muparser = callPackage ../development/libraries/muparser { };
|
||||
|
||||
mygpoclient = callPackage ../development/python-modules/mygpoclient { };
|
||||
mygpoclient = pythonPackages.mygpoclient;
|
||||
|
||||
mygui = callPackage ../development/libraries/mygui {};
|
||||
|
||||
@ -9011,15 +9009,11 @@ let
|
||||
self = pypyPackages;
|
||||
});
|
||||
|
||||
foursuite = callPackage ../development/python-modules/4suite { };
|
||||
foursuite = pythonPackages.foursuite;
|
||||
|
||||
bsddb3 = callPackage ../development/python-modules/bsddb3 { };
|
||||
bsddb3 = pythonPackages.bsddb3;
|
||||
|
||||
ecdsa = callPackage ../development/python-modules/ecdsa { };
|
||||
|
||||
numeric = callPackage ../development/python-modules/numeric { };
|
||||
|
||||
psyco = callPackage ../development/python-modules/psyco { };
|
||||
ecdsa = pythonPackages.ecdsa;
|
||||
|
||||
pycairo = pythonPackages.pycairo;
|
||||
|
||||
@ -9027,11 +9021,11 @@ let
|
||||
|
||||
pycrypto = pythonPackages.pycrypto;
|
||||
|
||||
pycups = callPackage ../development/python-modules/pycups { };
|
||||
pycups = pythonPackages.pycups;
|
||||
|
||||
pyexiv2 = callPackage ../development/python-modules/pyexiv2 { };
|
||||
|
||||
pygame = callPackage ../development/python-modules/pygame { };
|
||||
pygame = pythonPackages.pygame;
|
||||
|
||||
pygobject = pythonPackages.pygobject;
|
||||
|
||||
@ -9039,7 +9033,7 @@ let
|
||||
|
||||
pygtk = pythonPackages.pygtk;
|
||||
|
||||
pygtksourceview = callPackage ../development/python-modules/pygtksourceview { };
|
||||
pygtksourceview = pythonPackages.pygtksourceview;
|
||||
|
||||
pyGtkGlade = pythonPackages.pyGtkGlade;
|
||||
|
||||
@ -9049,27 +9043,25 @@ let
|
||||
|
||||
rhpl = callPackage ../development/python-modules/rhpl { };
|
||||
|
||||
pyqt4 = callPackage ../development/python-modules/pyqt/4.x.nix { };
|
||||
pyqt4 = pythonPackages.pyqt4;
|
||||
|
||||
pysideApiextractor = callPackage ../development/python-modules/pyside/apiextractor.nix { };
|
||||
pysideApiextractor = pythonPackages.pysideApiextractor;
|
||||
|
||||
pysideGeneratorrunner = callPackage ../development/python-modules/pyside/generatorrunner.nix { };
|
||||
pysideGeneratorrunner = pythonPackages.pysideGeneratorrunner;
|
||||
|
||||
pyside = callPackage ../development/python-modules/pyside { };
|
||||
pyside = pythonPackages.pyside;
|
||||
|
||||
pysideTools = callPackage ../development/python-modules/pyside/tools.nix { };
|
||||
pysideTools = pythonPackages.pysideTools;
|
||||
|
||||
pysideShiboken = callPackage ../development/python-modules/pyside/shiboken.nix { };
|
||||
|
||||
pyx = callPackage ../development/python-modules/pyx { };
|
||||
pysideShiboken = pythonpackages.pysideShiboken;
|
||||
|
||||
pyxml = callPackage ../development/python-modules/pyxml { };
|
||||
|
||||
rbtools = callPackage ../development/python-modules/rbtools { };
|
||||
rbtools = pythonPackages.rbtools;
|
||||
|
||||
setuptools = pythonPackages.setuptools;
|
||||
|
||||
slowaes = callPackage ../development/python-modules/slowaes { };
|
||||
slowaes = pythonPackages.slowaes;
|
||||
|
||||
wxPython = pythonPackages.wxPython;
|
||||
wxPython28 = pythonPackages.wxPython28;
|
||||
@ -13962,8 +13954,6 @@ let
|
||||
|
||||
bzflag = callPackage ../games/bzflag { };
|
||||
|
||||
castle_combat = callPackage ../games/castle-combat { };
|
||||
|
||||
cataclysm-dda = callPackage ../games/cataclysm-dda { };
|
||||
|
||||
chessdb = callPackage ../games/chessdb { };
|
||||
|
@ -140,14 +140,20 @@ in modules // {
|
||||
pycairo = callPackage ../development/python-modules/pycairo {
|
||||
};
|
||||
|
||||
pycangjie = if isPy3k then callPackage ../development/python-modules/pycangjie { } else throw "pycangjie not supported for interpreter ${python.executable}";
|
||||
|
||||
pycrypto = callPackage ../development/python-modules/pycrypto { };
|
||||
|
||||
pygame = callPackage ../development/python-modules/pygame { };
|
||||
|
||||
pygobject = callPackage ../development/python-modules/pygobject { };
|
||||
|
||||
pygobject3 = callPackage ../development/python-modules/pygobject/3.nix { };
|
||||
|
||||
pygtk = callPackage ../development/python-modules/pygtk { libglade = null; };
|
||||
|
||||
pygtksourceview = callPackage ../development/python-modules/pygtksourceview { };
|
||||
|
||||
pyGtkGlade = self.pygtk.override {
|
||||
libglade = pkgs.gnome.libglade;
|
||||
};
|
||||
@ -163,6 +169,16 @@ in modules // {
|
||||
qt5 = pkgs.qt5;
|
||||
};
|
||||
|
||||
pyside = callPackage ../development/python-modules/pyside { };
|
||||
|
||||
pysideApiextractor = callPackage ../development/python-modules/pyside/apiextractor.nix { };
|
||||
|
||||
pysideGeneratorrunner = callPackage ../development/python-modules/pyside/generatorrunner.nix { };
|
||||
|
||||
pysideShiboken = callPackage ../development/python-modules/pyside/shiboken.nix { };
|
||||
|
||||
pysideTools = callPackage ../development/python-modules/pyside/tools.nix { };
|
||||
|
||||
sip = callPackage ../development/python-modules/sip { };
|
||||
|
||||
sip_4_16 = callPackage ../development/python-modules/sip/4.16.nix { };
|
||||
@ -485,7 +501,6 @@ in modules // {
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
anyjson = buildPythonPackage rec {
|
||||
name = "anyjson-0.3.3";
|
||||
disabled = isPy3k;
|
||||
@ -541,6 +556,70 @@ in modules // {
|
||||
};
|
||||
};
|
||||
|
||||
ansible = buildPythonPackage rec {
|
||||
version = "1.9.4";
|
||||
name = "ansible-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://releases.ansible.com/ansible/${name}.tar.gz";
|
||||
sha256 = "1qvgzb66nlyc2ncmgmqhzdk0x0p2px09967p1yypf5czwjn2yb4p";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
sed -i "s,/usr/,$out," lib/ansible/constants.py
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
dontStrip = true;
|
||||
dontPatchELF = true;
|
||||
dontPatchShebangs = true;
|
||||
windowsSupport = true;
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
paramiko jinja2 pyyaml httplib2 boto six
|
||||
] ++ optional windowsSupport pywinrm;
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.ansible.com";
|
||||
description = "A simple automation tool";
|
||||
license = with licenses; [ gpl3] ;
|
||||
maintainers = with maintainers; [ joamaki ];
|
||||
platforms = with platforms; [ linux darwin ];
|
||||
};
|
||||
};
|
||||
|
||||
ansible2 = buildPythonPackage rec {
|
||||
version = "v2.0.0_0.6.rc1";
|
||||
name = "ansible-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "http://releases.ansible.com/ansible/ansible-2.0.0-0.6.rc1.tar.gz";
|
||||
sha256 = "0v7fqi7qg9lzvpsjlaw9rzas8n1cdsyp3y9jrqzjxs9nbknwcibd";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
sed -i "s,/usr/,$out," lib/ansible/constants.py
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
dontStrip = true;
|
||||
dontPatchELF = true;
|
||||
dontPatchShebangs = true;
|
||||
windowsSupport = true;
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
paramiko jinja2 pyyaml httplib2 boto six
|
||||
] ++ optional windowsSupport pywinrm;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://www.ansible.com";
|
||||
description = "A simple automation tool";
|
||||
license = with licenses; [ gpl3 ];
|
||||
maintainers = with maintainers; [ copumpkin ];
|
||||
platforms = with platforms; [ linux darwin ];
|
||||
};
|
||||
};
|
||||
|
||||
apipkg = buildPythonPackage rec {
|
||||
name = "apipkg-1.4";
|
||||
|
||||
@ -936,6 +1015,42 @@ in modules // {
|
||||
};
|
||||
}));
|
||||
|
||||
awscli = buildPythonPackage rec {
|
||||
name = "awscli-${version}";
|
||||
version = "1.9.12";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://pypi.python.org/packages/source/a/awscli/${name}.tar.gz";
|
||||
sha256 = "0b50de084c8de70adf45c0e938b6350344d9b6acde8b7cdee02cb32964bc58fd";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
botocore
|
||||
bcdoc
|
||||
six
|
||||
colorama
|
||||
docutils
|
||||
rsa
|
||||
pyasn1
|
||||
pkgs.groff
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/etc/bash_completion.d
|
||||
echo "complete -C $out/bin/aws_completer aws" > $out/etc/bash_completion.d/awscli
|
||||
mkdir -p $out/share/zsh/site-functions
|
||||
mv $out/bin/aws_zsh_completer.sh $out/share/zsh/site-functions
|
||||
rm $out/bin/aws.cmd
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = https://aws.amazon.com/cli/;
|
||||
description = "Unified tool to manage your AWS services";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
maintainers = with maintainers; [ muflax ];
|
||||
};
|
||||
};
|
||||
|
||||
azure = buildPythonPackage rec {
|
||||
version = "0.11.0";
|
||||
name = "azure-${version}";
|
||||
@ -1673,6 +1788,32 @@ in modules // {
|
||||
};
|
||||
};
|
||||
|
||||
bsddb3 = buildPythonPackage rec {
|
||||
name = "bsddb3-${version}";
|
||||
version = "6.1.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://pypi.python.org/packages/source/b/bsddb3/${name}.tar.gz";
|
||||
sha256 = "6f21b0252125c07798d784c164ef135ad153d226c01b290258ee1c5b9e7c4dd3";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgs.db ];
|
||||
|
||||
# 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};
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for Oracle Berkeley DB";
|
||||
homepage = http://www.jcea.es/programacion/pybsddb.htm;
|
||||
license = with licenses; [ agpl3 ]; # License changed from bsd3 to agpl3 since 6.x
|
||||
};
|
||||
};
|
||||
|
||||
bokeh = buildPythonPackage rec {
|
||||
name = "bokeh-${version}";
|
||||
version = "0.10.0";
|
||||
@ -1776,12 +1917,12 @@ in modules // {
|
||||
};
|
||||
|
||||
botocore = buildPythonPackage rec {
|
||||
version = "1.3.6";
|
||||
version = "1.3.12";
|
||||
name = "botocore-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://pypi.python.org/packages/source/b/botocore/${name}.tar.gz";
|
||||
sha256 = "05a0ihv66fx77j16mjlm76d8zm7sd5wfzh1hx4nm3ilb9gz5h016";
|
||||
sha256 = "6f4f09234aca23db2e66c548b98a4fb14516241b31fb473c9c6f5b21270900c6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs =
|
||||
@ -7628,6 +7769,8 @@ in modules // {
|
||||
};
|
||||
});
|
||||
|
||||
foursuite = callPackage ../development/python-modules/4suite {};
|
||||
|
||||
fs = buildPythonPackage rec {
|
||||
name = "fs-0.5.0";
|
||||
|
||||
@ -8742,6 +8885,33 @@ in modules // {
|
||||
propagatedBuildInputs = with self; [ self.nose self.ipython ];
|
||||
};
|
||||
|
||||
pythonIRClib = buildPythonPackage rec {
|
||||
name = "irclib-${version}";
|
||||
version = "0.4.8";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://sourceforge/python-irclib/python-irclib-${version}.tar.gz";
|
||||
sha256 = "1x5456y4rbxmnw4yblhb4as5791glcw394bm36px3x6l05j3mvl1";
|
||||
};
|
||||
|
||||
patches = [(pkgs.fetchurl {
|
||||
url = "http://trac.uwc.ac.za/trac/python_tools/browser/xmpp/resources/irc-transport/irclib.py.diff?rev=387&format=raw";
|
||||
name = "irclib.py.diff";
|
||||
sha256 = "5fb8d95d6c95c93eaa400b38447c63e7a176b9502bc49b2f9b788c9905f4ec5e";
|
||||
})];
|
||||
|
||||
patchFlags = "irclib.py";
|
||||
|
||||
propagatedBuildInputs = with self; [ paver ];
|
||||
|
||||
disabled = isPy3k;
|
||||
meta = {
|
||||
description = "Python IRC library";
|
||||
homepage = https://bitbucket.org/jaraco/irc;
|
||||
license = with licenses; [ lgpl21 ];
|
||||
};
|
||||
};
|
||||
|
||||
iso8601 = buildPythonPackage {
|
||||
name = "iso8601-0.1.10";
|
||||
src = pkgs.fetchurl {
|
||||
@ -10157,6 +10327,36 @@ in modules // {
|
||||
};
|
||||
});
|
||||
|
||||
mygpoclient = buildPythonPackage rec {
|
||||
name = "mygpoclient-${version}";
|
||||
version = "1.7";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://thp.io/2010/mygpoclient/${name}.tar.gz";
|
||||
sha256 = "6a0b7b1fe2b046875456e14eda3e42430e493bf2251a64481cf4fd1a1e21a80e";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ nose minimock ];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
'';
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
meta = {
|
||||
description = "A gpodder.net client library";
|
||||
longDescription = ''
|
||||
The mygpoclient library allows developers to utilize a Pythonic interface
|
||||
to the gpodder.net web services.
|
||||
'';
|
||||
homepage = https://thp.io/2010/mygpoclient/;
|
||||
license = with licenses; [ gpl3 ];
|
||||
platforms = with platforms; [ linux darwin ];
|
||||
maintainers = with maintainers; [ skeidel ];
|
||||
};
|
||||
};
|
||||
|
||||
plover = buildPythonPackage rec {
|
||||
name = "plover-${version}";
|
||||
version = "2.5.8";
|
||||
@ -14122,6 +14322,24 @@ in modules // {
|
||||
};
|
||||
});
|
||||
|
||||
pycups = buildPythonPackage rec {
|
||||
name = "pycups-${version}";
|
||||
version = "1.9.73";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "http://cyberelk.net/tim/data/pycups/pycups-${version}.tar.bz2";
|
||||
sha256 = "c381be011889ca6f728598578c89c8ac9f7ab1e95b614474df9f2fa831ae5335";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgs.cups ];
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for libcups";
|
||||
homepage = http://cyberelk.net/tim/software/pycups/;
|
||||
license = with licenses; [ gpl2Plus ];
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
pycurl = buildPythonPackage (rec {
|
||||
name = "pycurl-7.19.5";
|
||||
@ -14400,6 +14618,24 @@ in modules // {
|
||||
};
|
||||
};
|
||||
|
||||
pyx = buildPythonPackage rec {
|
||||
name = "pyx-${version}";
|
||||
version = "0.14.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://pypi.python.org/packages/source/P/PyX/PyX-${version}.tar.gz";
|
||||
sha256 = "05d1b7fc813379d2c12fcb5bd0195cab522b5aabafac88f72913f1d47becd912";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
meta = {
|
||||
description = "Python package for the generation of PostScript, PDF, and SVG files";
|
||||
homepage = http://pyx.sourceforge.net/;
|
||||
license = with licenses; [ gpl2 ];
|
||||
};
|
||||
};
|
||||
|
||||
mmpython = buildPythonPackage rec {
|
||||
version = "0.4.10";
|
||||
name = "mmpython-${version}";
|
||||
@ -15550,6 +15786,26 @@ in modules // {
|
||||
};
|
||||
};
|
||||
|
||||
rbtools = buildPythonPackage rec {
|
||||
name = "rbtools-0.7.2";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "http://downloads.reviewboard.org/releases/RBTools/0.7/RBTools-0.7.2.tar.gz";
|
||||
sha256 = "1ng8l8cx81cz23ls7fq9wz4ijs0zbbaqh4kj0mj6plzcqcf8na4i";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ nose ];
|
||||
propagatedBuildInputs = with self; [ modules.sqlite3 six ];
|
||||
|
||||
checkPhase = "nosetests";
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
meta = {
|
||||
maintainers = with maintainers; [ iElectric ];
|
||||
};
|
||||
};
|
||||
|
||||
rencode = buildPythonPackage rec {
|
||||
name = "rencode-${version}";
|
||||
version = "git20150810";
|
||||
@ -16829,6 +17085,24 @@ in modules // {
|
||||
};
|
||||
};
|
||||
|
||||
slowaes = buildPythonPackage rec {
|
||||
name = "slowaes-${version}";
|
||||
version = "0.1a1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://pypi.python.org/packages/source/s/slowaes/${name}.tar.gz";
|
||||
sha256 = "83658ae54cc116b96f7fdb12fdd0efac3a4e8c7c7064e3fac3f4a881aa54bf09";
|
||||
};
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
meta = {
|
||||
homepage = "http://code.google.com/p/slowaes/";
|
||||
description = "AES implemented in pure python";
|
||||
license = with licenses; [ asl20 ];
|
||||
};
|
||||
};
|
||||
|
||||
snowballstemmer = buildPythonPackage rec {
|
||||
name = "snowballstemmer-1.2.0";
|
||||
|
||||
@ -22276,6 +22550,27 @@ in modules // {
|
||||
};
|
||||
};
|
||||
|
||||
xmpppy = buildPythonPackage rec {
|
||||
name = "xmpp.py-${version}";
|
||||
version = "0.5.0rc1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://sourceforge/xmpppy/xmpppy-${version}.tar.gz";
|
||||
sha256 = "16hbh8kwc5n4qw2rz1mrs8q17rh1zq9cdl05b1nc404n7idh56si";
|
||||
};
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/bin $out/lib $out/share $(toPythonPath $out)
|
||||
export PYTHONPATH=$PYTHONPATH:$(toPythonPath $out)
|
||||
'';
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
meta = {
|
||||
description = "XMPP python library";
|
||||
};
|
||||
};
|
||||
|
||||
xstatic-bootbox = buildPythonPackage rec {
|
||||
name = "XStatic-Bootbox-${version}";
|
||||
version = "4.3.0.1";
|
||||
|
Loading…
Reference in New Issue
Block a user