Merge branch 'channel-nixos' into python-merge

This commit is contained in:
Florian Friesdorf
2012-11-29 21:40:33 +01:00
134 changed files with 105 additions and 18146 deletions

View File

@@ -1,25 +0,0 @@
{stdenv, fetchgit, python, autoconf, automake, libtool, pygobject, pkgconfig, udev}:
stdenv.mkDerivation {
name = "python-gudev-147.2";
src = fetchgit {
url = git://github.com/nzjrs/python-gudev.git;
rev = "refs/tags/147.2";
sha256 = "5b9766fcb88855a77ac8bb416ca3b51f55ac7d82b0e189f88c59cacb11586c15";
};
buildInputs = [ python autoconf automake libtool pygobject pkgconfig udev ];
preConfigure = ''
sed -e 's@/usr/bin/file@file@g' -i configure.ac
sh autogen.sh
'';
meta = {
homepage = http://www.freedesktop.org/software/systemd/gudev/;
description = "Python binding to the GUDev udev helper library.";
license = "GPLv3+";
maintainers = with stdenv.lib.maintainers; [qknight];
platforms = with stdenv.lib.platforms; all;
};
}

View File

@@ -1,15 +0,0 @@
{stdenv, fetchurl, python}:
stdenv.mkDerivation rec {
version = "3.4.0";
name = "zope-${version}";
src = fetchurl {
url = "http://www.zope.org/Products/Zope3/${version}/Zope-${version}.tgz";
sha256 = "3e834e8749945d8fc0a67bb724f2cf0c671f04f477e24fb8edb74828e331901d";
};
patches = [
./zope_python-2.4.4.patch
./zope_python-readline.patch
];
buildInputs = [python];
}

View File

@@ -1,12 +0,0 @@
diff -r 8833d4892dfc Zope-3.2.1/configure
--- a/configure Mon Aug 18 14:55:39 2008 +0200
+++ b/configure Mon Aug 18 14:57:39 2008 +0200
@@ -21,7 +21,7 @@ prefix="$DEFAULT_PREFIX"
# Place the optimal target version number (as returned by sys.version)
# below
-TARGET="2.4.2"
+TARGET="2.4.4"
# Order a list of "acceptable" python version numbers (as returned by
# sys.version) below in "best" to "worst" order, not including the

View File

@@ -1,12 +0,0 @@
diff -r 8833d4892dfc Zope-3.2.1/Dependencies/zope.publisher-Zope-3.2.1/zope.publisher/http.py
--- a/Dependencies/zope.publisher-Zope-3.2.1/zope.publisher/http.py Mon Aug 18 14:55:39 2008 +0200
+++ b/Dependencies/zope.publisher-Zope-3.2.1/zope.publisher/http.py Mon Aug 18 16:37:02 2008 +0200
@@ -198,7 +198,7 @@ class HTTPInputStream(object):
self.cacheStream.write(data)
return data
- def readline(self):
+ def readline(self, size=None):
data = self.stream.readline()
self.cacheStream.write(data)
return data