···23232424 preConfigure =
2525 ''
2626- configureFlags="${if perlSupport then "--enable-perl" else "--disable-perl"}";
2626+ configureFlags="--with-terminfo=$out/share/terminfo ${if perlSupport then "--enable-perl" else "--disable-perl"}";
2727 export TERMINFO=$out/share/terminfo # without this the terminfo won't be compiled by tic, see man tic
2828 NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${freetype}/include/freetype2"
2929 NIX_LDFLAGS="$NIX_LDFLAGS -lfontconfig -lXrender "
···36363737 meta = {
3838 description = "A clone of the well-known terminal emulator rxvt";
3939- longDescription = "
4040- You should put this into your ~/.bashrc:
4141- export TERMINFO=~/.nix-profile/share/terminfo
4242- ";
4339 homepage = "http://software.schmorp.de/pkg/rxvt-unicode.html";
4440 };
4541})
···33 (http://pypi.python.org/pypi/setuptools/), which represents a large
44 number of Python packages nowadays. */
5566-{ python, setuptools, wrapPython, lib }:
66+{ python, setuptools, wrapPython, lib, offlineDistutils, setuptoolsSite }:
7788{ name, namePrefix ? "python-"
991010, buildInputs ? []
1111+1212+, propagatedBuildInputs ? []
11131214, # List of packages that should be added to the PYTHONPATH
1315 # environment variable in programs built by this function. Packages
···19212022, installCommand ?
2123 ''
2222- easy_install --prefix="$out" .
2424+ easy_install --always-unzip --prefix="$out" .
2325 ''
24262727+, preConfigure ? "true"
2828+2529, buildPhase ? "true"
26302731, doCheck ? true
···43474448 name = namePrefix + name;
45495050+ phases = "unpackPhase patchPhase configurePhase buildPhase installPhase checkPhase fixupPhase distPhase";
5151+4652 buildInputs = [ python wrapPython setuptools ] ++ buildInputs ++ pythonPath;
47535454+ # setuptoolsSite is responsible for loading pth files
5555+ propagatedBuildInputs = propagatedBuildInputs ++ [ setuptoolsSite ];
5656+5757+ buildInputStrings = map toString buildInputs;
5858+4859 pythonPath = [ setuptools] ++ pythonPath;
49605050- # XXX: Should we run `easy_install --always-unzip'? It doesn't seem
5151- # to have a noticeable impact on small scripts.
6161+ preConfigure = ''
6262+ PYTHONPATH="${offlineDistutils}/lib/${python.libPrefix}/site-packages:$PYTHONPATH"
6363+ ${preConfigure}
6464+ '';
6565+5266 installPhase = ''
5367 mkdir -p "$out/lib/${python.libPrefix}/site-packages"
5468···5670 export PYTHONPATH="$out/lib/${python.libPrefix}/site-packages:$PYTHONPATH"
5771 ${installCommand}
58727373+ # A pth file might have been generated to load the package from
7474+ # within its own site-packages, rename this package not to
7575+ # collide with others.
7676+ eapth="$out/lib/${python.libPrefix}"/site-packages/easy-install.pth
7777+ if [ -e "$eapth" ]; then
7878+ # move colliding easy_install.pth to specifically named one
7979+ mv "$eapth" $(dirname "$eapth")/${name}.pth
8080+ fi
8181+8282+ # Remove any site.py files generated by easy_install as these
8383+ # cause collisions. If pth files are to be processed a
8484+ # corresponding site.py needs to be included in the PYTHONPATH.
8585+ #
8686+ # leave them until we have a better solution: see #209
8787+ #rm -f "$out/lib/${python.libPrefix}"/site-packages/site.py*
8888+5989 ${postInstall}
6090 '';
61916292 postFixup =
6393 ''
6494 wrapPythonPrograms
6565-9595+6696 # If a user installs a Python package, she probably also wants its
6797 # dependencies in the user environment (since Python modules don't
6898 # have something like an RPATH, so the only way to find the
···70100 if test -e $out/nix-support/propagated-build-inputs; then
71101 ln -s $out/nix-support/propagated-build-inputs $out/nix-support/propagated-user-env-packages
72102 fi
103103+104104+ createBuildInputsPth build-inputs "$buildInputStrings"
105105+ for inputsfile in propagated-build-inputs propagated-build-native-inputs; do
106106+ if test -e $out/nix-support/$inputsfile; then
107107+ createBuildInputsPth $inputsfile "$(cat $out/nix-support/$inputsfile)"
108108+ fi
109109+ done
73110 '';
74111})
+13
pkgs/development/python-modules/generic/wrap.sh
···4545 done
4646 fi
4747}
4848+4949+createBuildInputsPth() {
5050+ local category="$1"
5151+ local inputs="$2"
5252+ if [ foo"$inputs" != foo ]; then
5353+ for x in $inputs; do
5454+ if test -d "$x"/lib/@libPrefix@/site-packages; then
5555+ echo $x/lib/@libPrefix@/site-packages \
5656+ >> "$out"/lib/@libPrefix@/site-packages/${name}-nix-python-$category.pth
5757+ fi
5858+ done
5959+ fi
6060+}
···11+"""Recursively load pth files in site-packages of sys.path
22+33+- iterate over sys.path
44+- check for pth in dirs that end in site-packages
55+- ignore import statements in pth files
66+- add dirs listed in pth files right after current sys.path element,
77+ they will be processed in next iteration
88+"""
99+1010+import os
1111+import site
1212+import sys
1313+1414+1515+for path_idx, sitedir in enumerate(sys.path):
1616+ # ignore non-site-packages
1717+ if not sitedir.endswith('site-packages'):
1818+ continue
1919+2020+ # find pth files
2121+ try:
2222+ names = os.listdir(sitedir)
2323+ except os.error:
2424+ continue
2525+ dotpth = os.extsep + "pth"
2626+ pths = [name for name in names if name.endswith(dotpth)]
2727+2828+ for pth in pths:
2929+ fullname = os.path.join(sitedir, pth)
3030+ try:
3131+ f = open(fullname, "rU")
3232+ except IOError:
3333+ continue
3434+3535+ with f:
3636+ for n, line in enumerate(f):
3737+ if line.startswith("#"):
3838+ continue
3939+4040+ if line.startswith(("import ", "import\t")):
4141+ continue
4242+4343+ line = line.rstrip()
4444+ dir, dircase = site.makepath(sitedir, line)
4545+ if not dircase in sys.path:
4646+ sys.path.insert(path_idx+1, dir)
···11+args @ { stdenv, fetchurl, extraConfig ? ""
22+, perl, mktemp, module_init_tools
33+, ... }:
44+55+let
66+ configWithPlatform = kernelPlatform :
77+ ''
88+ # Power management and debugging for powertop.
99+ DEBUG_KERNEL y
1010+ PM_ADVANCED_DEBUG y
1111+ PM_RUNTIME y
1212+ TIMER_STATS y
1313+ USB_SUSPEND y
1414+ BACKTRACE_SELF_TEST n
1515+ CPU_NOTIFIER_ERROR_INJECT? n
1616+ DEBUG_DEVRES n
1717+ DEBUG_NX_TEST n
1818+ DEBUG_STACK_USAGE n
1919+ DEBUG_STACKOVERFLOW n
2020+ RCU_TORTURE_TEST n
2121+ SCHEDSTATS n
2222+2323+ # Support drivers that need external firmware.
2424+ STANDALONE n
2525+2626+ # Make /proc/config.gz available.
2727+ IKCONFIG_PROC y
2828+2929+ # Optimize with -O2, not -Os.
3030+ CC_OPTIMIZE_FOR_SIZE n
3131+3232+ # Enable the kernel's built-in memory tester.
3333+ MEMTEST y
3434+3535+ # Include the CFQ I/O scheduler in the kernel, rather than as a
3636+ # module, so that the initrd gets a good I/O scheduler.
3737+ IOSCHED_CFQ y
3838+ BLK_CGROUP y # required by CFQ
3939+4040+ # Enable NUMA.
4141+ NUMA? y
4242+4343+ # Disable some expensive (?) features.
4444+ FTRACE n
4545+ KPROBES n
4646+ PM_TRACE_RTC n
4747+4848+ # Enable various subsystems.
4949+ ACCESSIBILITY y # Accessibility support
5050+ AUXDISPLAY y # Auxiliary Display support
5151+ DONGLE y # Serial dongle support
5252+ HIPPI? y
5353+ MTD_COMPLEX_MAPPINGS y # needed for many devices
5454+ SCSI_LOWLEVEL y # enable lots of SCSI devices
5555+ SCSI_LOWLEVEL_PCMCIA y
5656+ SPI y # needed for many devices
5757+ SPI_MASTER y
5858+ WAN y
5959+6060+ # Networking options.
6161+ IP_PNP n
6262+ IPV6_PRIVACY y
6363+ NETFILTER_ADVANCED y
6464+ IP_VS_PROTO_TCP y
6565+ IP_VS_PROTO_UDP y
6666+ IP_VS_PROTO_ESP y
6767+ IP_VS_PROTO_AH y
6868+ IP_DCCP_CCID3 n # experimental
6969+ CLS_U32_PERF y
7070+ CLS_U32_MARK y
7171+7272+ # Wireless networking.
7373+ IPW2100_MONITOR y # support promiscuous mode
7474+ IPW2200_MONITOR? y # support promiscuous mode
7575+ HOSTAP_FIRMWARE y # Support downloading firmware images with Host AP driver
7676+ HOSTAP_FIRMWARE_NVRAM y
7777+ ATH9K_PCI y # Detect Atheros AR9xxx cards on PCI(e) bus
7878+ ATH9K_AHB y # Ditto, AHB bus
7979+ B43_PHY_HT y
8080+ BCMA_HOST_PCI y
8181+8282+ # Some settings to make sure that fbcondecor works - in particular,
8383+ # disable tileblitting and the drivers that need it.
8484+8585+ # Enable various FB devices.
8686+ FB y
8787+ FB_EFI y
8888+ FB_NVIDIA_I2C y # Enable DDC Support
8989+ FB_RIVA_I2C y
9090+ FB_ATY_CT y # Mach64 CT/VT/GT/LT (incl. 3D RAGE) support
9191+ FB_ATY_GX y # Mach64 GX support
9292+ FB_SAVAGE_I2C y
9393+ FB_SAVAGE_ACCEL y
9494+ FB_SIS_300 y
9595+ FB_SIS_315 y
9696+ FB_3DFX_ACCEL y
9797+ FB_GEODE y
9898+9999+ # Video configuration
100100+ # Enable KMS for devices whose X.org driver supports it.
101101+ DRM_I915_KMS y
102102+ DRM_RADEON_KMS y
103103+ # Hybrid graphics support
104104+ VGA_SWITCHEROO y
105105+106106+ # Sound.
107107+ SND_AC97_POWER_SAVE y # AC97 Power-Saving Mode
108108+ SND_HDA_INPUT_BEEP y # Support digital beep via input layer
109109+ SND_USB_CAIAQ_INPUT y
110110+ PSS_MIXER y # Enable PSS mixer (Beethoven ADSP-16 and other compatible)
111111+112112+ # USB serial devices.
113113+ USB_SERIAL_GENERIC y # USB Generic Serial Driver
114114+ USB_SERIAL_KEYSPAN_MPR y # include firmware for various USB serial devices
115115+ USB_SERIAL_KEYSPAN_USA28 y
116116+ USB_SERIAL_KEYSPAN_USA28X y
117117+ USB_SERIAL_KEYSPAN_USA28XA y
118118+ USB_SERIAL_KEYSPAN_USA28XB y
119119+ USB_SERIAL_KEYSPAN_USA19 y
120120+ USB_SERIAL_KEYSPAN_USA18X y
121121+ USB_SERIAL_KEYSPAN_USA19W y
122122+ USB_SERIAL_KEYSPAN_USA19QW y
123123+ USB_SERIAL_KEYSPAN_USA19QI y
124124+ USB_SERIAL_KEYSPAN_USA49W y
125125+ USB_SERIAL_KEYSPAN_USA49WLC y
126126+127127+ # Filesystem options - in particular, enable extended attributes and
128128+ # ACLs for all filesystems that support them.
129129+ EXT2_FS_XATTR y # Ext2 extended attributes
130130+ EXT2_FS_POSIX_ACL y # Ext2 POSIX Access Control Lists
131131+ EXT2_FS_SECURITY y # Ext2 Security Labels
132132+ EXT2_FS_XIP y # Ext2 execute in place support
133133+ EXT4_FS_POSIX_ACL y
134134+ EXT4_FS_SECURITY y
135135+ REISERFS_FS_XATTR y
136136+ REISERFS_FS_POSIX_ACL y
137137+ REISERFS_FS_SECURITY y
138138+ JFS_POSIX_ACL y
139139+ JFS_SECURITY y
140140+ XFS_QUOTA y
141141+ XFS_POSIX_ACL y
142142+ XFS_RT y # XFS Realtime subvolume support
143143+ OCFS2_DEBUG_MASKLOG n
144144+ BTRFS_FS_POSIX_ACL y
145145+ UBIFS_FS_XATTR? y
146146+ UBIFS_FS_ADVANCED_COMPR y
147147+ NFSD_V2_ACL y
148148+ NFSD_V3 y
149149+ NFSD_V3_ACL y
150150+ NFSD_V4 y
151151+ CIFS_XATTR y
152152+ CIFS_POSIX y
153153+154154+ # Security related features.
155155+ STRICT_DEVMEM y # Filter access to /dev/mem
156156+ SECURITY_SELINUX_BOOTPARAM_VALUE 0 # disable SELinux by default
157157+158158+ # Misc. options.
159159+ 8139TOO_8129 y
160160+ 8139TOO_PIO n # PIO is slower
161161+ AIC79XX_DEBUG_ENABLE n
162162+ AIC7XXX_DEBUG_ENABLE n
163163+ AIC94XX_DEBUG n
164164+ B43_PCMCIA y
165165+ BLK_DEV_CMD640_ENHANCED y # CMD640 enhanced support
166166+ BLK_DEV_IDEACPI y # IDE ACPI support
167167+ BLK_DEV_INTEGRITY y
168168+ BSD_PROCESS_ACCT_V3 y
169169+ BT_HCIUART_BCSP y
170170+ BT_HCIUART_H4 y # UART (H4) protocol support
171171+ BT_HCIUART_LL y
172172+ BT_RFCOMM m
173173+ BT_RFCOMM_TTY y # RFCOMM TTY support
174174+ CRASH_DUMP n
175175+ DMAR? n # experimental
176176+ DVB_DYNAMIC_MINORS? y # we use udev
177177+ EFI_STUB y # EFI bootloader in the bzImage itself
178178+ FUSION y # Fusion MPT device support
179179+ IDE_GD_ATAPI y # ATAPI floppy support
180180+ IRDA_ULTRA y # Ultra (connectionless) protocol
181181+ JOYSTICK_IFORCE_232 y # I-Force Serial joysticks and wheels
182182+ JOYSTICK_IFORCE_USB y # I-Force USB joysticks and wheels
183183+ JOYSTICK_XPAD_FF y # X-Box gamepad rumble support
184184+ JOYSTICK_XPAD_LEDS y # LED Support for Xbox360 controller 'BigX' LED
185185+ LDM_PARTITION y # Windows Logical Disk Manager (Dynamic Disk) support
186186+ LEDS_TRIGGER_IDE_DISK y # LED IDE Disk Trigger
187187+ LOGIRUMBLEPAD2_FF y # Logitech Rumblepad 2 force feedback
188188+ LOGO n # not needed
189189+ MEDIA_ATTACH? y
190190+ MEGARAID_NEWGEN y
191191+ MICROCODE_AMD y
192192+ MODVERSIONS y
193193+ MOUSE_PS2_ELANTECH y # Elantech PS/2 protocol extension
194194+ MTRR_SANITIZER y
195195+ NET_FC y # Fibre Channel driver support
196196+ PPP_MULTILINK y # PPP multilink support
197197+ REGULATOR y # Voltage and Current Regulator Support
198198+ SCSI_LOGGING y # SCSI logging facility
199199+ SERIAL_8250 y # 8250/16550 and compatible serial support
200200+ SLIP_COMPRESSED y # CSLIP compressed headers
201201+ SLIP_SMART y
202202+ THERMAL_HWMON y # Hardware monitoring support
203203+ USB_DEBUG n
204204+ USB_EHCI_ROOT_HUB_TT y # Root Hub Transaction Translators
205205+ USB_EHCI_TT_NEWSCHED y # Improved transaction translator scheduling
206206+ X86_CHECK_BIOS_CORRUPTION y
207207+ X86_MCE y
208208+ XEN_DOM0 y
209209+210210+ # Linux Containers
211211+ RT_GROUP_SCHED? y
212212+ CGROUP_DEVICE? y
213213+ CGROUP_MEM_RES_CTLR? y
214214+ CGROUP_MEM_RES_CTLR_SWAP? y
215215+ DEVPTS_MULTIPLE_INSTANCES? y
216216+217217+ # Enable staging drivers. These are somewhat experimental, but
218218+ # they generally don't hurt.
219219+ STAGING y
220220+221221+ # PROC_EVENTS requires that the netlink connector is not built
222222+ # as a module. This is required by libcgroup's cgrulesengd.
223223+ CONNECTOR y
224224+ PROC_EVENTS y
225225+226226+ # Tracing
227227+ FTRACE y
228228+ FUNCTION_TRACER y
229229+ FTRACE_SYSCALLS y
230230+ SCHED_TRACER y
231231+232232+ # Devtmpfs support.
233233+ DEVTMPFS y
234234+235235+ # Media support
236236+ MEDIA_CAMERA_SUPPORT? y
237237+ MEDIA_RC_SUPPORT? y
238238+239239+ ${if kernelPlatform ? kernelExtraConfig then kernelPlatform.kernelExtraConfig else ""}
240240+ ${extraConfig}
241241+ '';
242242+in
243243+244244+import ./generic.nix (
245245+246246+ rec {
247247+ version = "3.7";
248248+ testing = false;
249249+250250+ modDirVersion = "3.7.0";
251251+252252+ preConfigure = ''
253253+ substituteInPlace scripts/depmod.sh --replace '-b "$INSTALL_MOD_PATH"' ""
254254+ '';
255255+256256+ src = fetchurl {
257257+ url = "mirror://kernel/linux/kernel/v3.x/${if testing then "testing/" else ""}linux-${version}.tar.xz";
258258+ sha256 = "0n4lddghf0mvp3jrq4lckii88yvm6mwmfp0ibwsw7vkfyw5lv9k0";
259259+ };
260260+261261+ config = configWithPlatform stdenv.platform;
262262+ configCross = configWithPlatform stdenv.cross.platform;
263263+264264+ features.iwlwifi = true;
265265+ features.efiBootStub = true;
266266+ features.needsCifsUtils = true;
267267+ features.canDisableNetfilterConntrackHelpers = true;
268268+ features.netfilterRPFilter = true;
269269+ }
270270+271271+ // removeAttrs args ["extraConfig"]
272272+)
+51
pkgs/os-specific/linux/nvidia-x11/legacy304.nix
···11+{ stdenv, fetchurl, kernel ? null, xlibs, zlib, perl
22+, gtk, atk, pango, glib, gdk_pixbuf
33+, # Whether to build the libraries only (i.e. not the kernel module or
44+ # nvidia-settings). Used to support 32-bit binaries on 64-bit
55+ # Linux.
66+ libsOnly ? false
77+}:
88+99+with stdenv.lib;
1010+1111+let versionNumber = "304.64"; in
1212+1313+stdenv.mkDerivation {
1414+ name = "nvidia-x11-${versionNumber}${optionalString (!libsOnly) "-${kernel.version}"}";
1515+1616+ builder = ./builder.sh;
1717+1818+ src =
1919+ if stdenv.system == "i686-linux" then
2020+ fetchurl {
2121+ url = "http://us.download.nvidia.com/XFree86/Linux-x86/${versionNumber}/NVIDIA-Linux-x86-${versionNumber}.run";
2222+ sha256 = "0li27nlhx9bbln9424xpxw46sarjdch2fxpn4kvh0npaywll2ii3";
2323+ }
2424+ else if stdenv.system == "x86_64-linux" then
2525+ fetchurl {
2626+ url = "http://us.download.nvidia.com/XFree86/Linux-x86_64/${versionNumber}/NVIDIA-Linux-x86_64-${versionNumber}-no-compat32.run";
2727+ sha256 = "1x33f6b9zcsnpjcxlv38l1w0blimsv1y3bbrrzg48wwwb5wvynxl";
2828+ }
2929+ else throw "nvidia-x11 does not support platform ${stdenv.system}";
3030+3131+ inherit versionNumber libsOnly;
3232+3333+ kernel = if libsOnly then null else kernel;
3434+3535+ dontStrip = true;
3636+3737+ glPath = stdenv.lib.makeLibraryPath [xlibs.libXext xlibs.libX11 xlibs.libXrandr];
3838+3939+ cudaPath = stdenv.lib.makeLibraryPath [zlib stdenv.gcc.gcc];
4040+4141+ programPath = optionalString (!libsOnly) (stdenv.lib.makeLibraryPath
4242+ [ gtk atk pango glib gdk_pixbuf xlibs.libXv ] );
4343+4444+ buildInputs = [ perl ];
4545+4646+ meta = {
4747+ homepage = http://www.nvidia.com/object/unix.html;
4848+ description = "X.org driver and kernel module for NVIDIA graphics cards";
4949+ license = "unfree";
5050+ };
5151+}
···12121313 makeFlags = "PREFIX=$(out)";
14141515+ # commented out until the patch is found
1616+ # patches = if stdenv.isDarwin then [ ./darwin.patch ] else [];
1517 meta = {
1618 homepage = http://redis.io;
1719 description = "An open source, advanced key-value store";
···1414 ''
1515 # Virtualisation (KVM, Xen...).
1616 PARAVIRT_GUEST y
1717- KVM_CLOCK y
1717+ KVM_CLOCK? y #Part of KVM_GUEST since linux 3.7
1818 KVM_GUEST y
1919 XEN y
2020 KSM y
+255-144
pkgs/top-level/python-packages.nix
···991010 buildPythonPackage = import ../development/python-modules/generic {
1111 inherit (pkgs) lib;
1212- inherit python wrapPython setuptools;
1212+ inherit python wrapPython setuptools setuptoolsSite offlineDistutils;
1313+ };
1414+1515+1616+ recursivePthLoader = import ../development/python-modules/recursive-pth-loader {
1717+ inherit (pkgs) stdenv;
1818+ inherit python;
1319 };
14201521···1824 inherit python wrapPython;
1925 };
20262727+ setuptoolsSite = import ../development/python-modules/setuptools/site.nix {
2828+ inherit (pkgs) stdenv;
2929+ inherit python setuptools;
3030+ };
3131+3232+ offlineDistutils = import ../development/python-modules/offline-distutils {
3333+ inherit (pkgs) stdenv;
3434+ inherit python;
3535+ };
21362237 ipython = import ../shells/ipython {
2338 inherit (pkgs) stdenv fetchurl;
2439 inherit buildPythonPackage pythonPackages;
2540 };
26414242+ pil = import ../development/python-modules/pil {
4343+ inherit (pkgs) fetchurl stdenv libjpeg zlib freetype;
4444+ inherit python buildPythonPackage;
4545+ };
4646+4747+ pycrypto = import ../development/python-modules/pycrypto {
4848+ inherit (pkgs) fetchurl stdenv gmp;
4949+ inherit python buildPythonPackage;
5050+ };
27512852 wrapPython = pkgs.makeSetupHook
2953 { deps = pkgs.makeWrapper;
···44684569 propagatedBuildInputs = [ notmuch pkgs.dbacl ];
46707171+ # error: invalid command 'test'
4772 doCheck = false;
48734974 postInstall = ''
···7095 sha256 = "b5239c4dfcd9882608fb48ef80fe9ba9223949ab7e6a2c1abe970ac307ebcd4a";
7196 };
72979898+ # error: invalid command 'test'
7399 doCheck = false;
7410075101 propagatedBuildInputs = [ notmuch urwid twisted magic configobj pygpgme ];
···113139 sha1 = "f124e5e4a6644bf6d1734032a01ac44db1b25a29";
114140 };
115141142142+ # error: invalid command 'test'
116143 doCheck = false;
117144118145 meta = {
···132159133160 buildInputs = [ pkgs.unzip pkgs.sqlite ];
134161162162+ # python: double free or corruption (fasttop): 0x0000000002fd4660 ***
135163 doCheck = false;
136164137165 meta = {
···149177 rev = "b2c9cdcabd";
150178 sha256 = "b0c12b8c48ed9180c7475fab18de50d63e1b517cfb46da4d2c66fc406fe902bc";
151179 };
180180+152181 installCommand = "python setup.py install --prefix=$out";
182182+183183+ # error: invalid command 'test'
153184 doCheck = false;
185185+154186 propagatedBuildInputs = [ boto ];
187187+155188 });
156189157190···165198166199 buildInputs = [ pkgs.unzip ];
167200168168- # How do we run the tests?
201201+ # error: invalid command 'test'
169202 doCheck = false;
170203171204 meta = {
···206239 sha256 = "1gasiy5lwbhsxw27g36d88n36xbj52434klisvqhljgckd4xqcy7";
207240 };
208241209209- # No tests implemented
242242+ # error: invalid command 'test'
210243 doCheck = false;
211244212245 meta = {
···272305 };
273306274307275275- bugz = buildPythonPackage (rec {
276276- name = "bugz-0.9.3";
277277-278278- src = fetchgit {
279279- url = "git://github.com/williamh/pybugz.git";
280280- rev = "refs/tags/0.9.3";
281281- };
282282-283283- propagatedBuildInputs = [ argparse python.modules.ssl ];
284284-285285- doCheck = false;
286286-287287- meta = {
288288- homepage = http://www.liquidx.net/pybugz/;
289289- description = "Command line interface for Bugzilla";
290290- };
291291- });
308308+ # bugz = buildPythonPackage (rec {
309309+ # name = "bugz-0.9.3";
310310+ #
311311+ # src = fetchgit {
312312+ # url = "https://github.com/williamh/pybugz.git";
313313+ # rev = "refs/tags/0.9.3";
314314+ # };
315315+ #
316316+ # propagatedBuildInputs = [ argparse python.modules.ssl ];
317317+ #
318318+ # doCheck = false;
319319+ #
320320+ # meta = {
321321+ # homepage = http://www.liquidx.net/pybugz/;
322322+ # description = "Command line interface for Bugzilla";
323323+ # };
324324+ # });
292325293326294327 carrot = buildPythonPackage rec {
···338371 sha256 = "1xlvanhnxgvwd7vvypbafyl6yqfkpnwa9rs9k3058z84gd86bz8d";
339372 };
340373374374+ # error: invalid command 'test'
341375 doCheck = false;
342376343377 meta = {
···373407374408 propagatedBuildInputs = [ stompclient distribute ];
375409376376- doCheck = false;
410410+ buildInputs = [ coverage sqlalchemy ];
411411+412412+ # ValueError: Could not parse auth file:
413413+ # /tmp/nix-build-.../CoilMQ-0.6.1/coilmq/tests/resources/auth.ini
414414+ #doCheck = false;
377415378416 meta = {
379417 description = "Simple, lightweight, and easily extensible STOMP message broker";
···391429 md5 = "201dbaa732a9049c839f9bb6c27fc7b5";
392430 };
393431432432+ # error: invalid command 'test'
394433 doCheck = false;
395434396435 meta = {
···402441 };
403442 });
404443444444+ coverage = buildPythonPackage rec {
445445+ name = "coverage-3.5.3";
446446+447447+ src = fetchurl {
448448+ url = "http://pypi.python.org/packages/source/c/coverage/${name}.tar.gz";
449449+ md5 = "5f1f523940c473faa8a9f6ca29f78efc";
450450+ };
451451+452452+ meta = {
453453+ description = "Code coverage measurement for python";
454454+ homepage = http://nedbatchelder.com/code/coverage/;
455455+ license = pkgs.lib.licenses.bsd3;
456456+ maintainers = [ stdenv.lib.maintainers.shlevy ];
457457+ platforms = python.meta.platforms;
458458+ };
459459+ };
460460+405461 cssutils = buildPythonPackage (rec {
406462 name = "cssutils-0.9.9";
407463···410466 sha256 = "139yfm9yz9k33kgqw4khsljs10rkhhxyywbq9i82bh2r31cil1pp";
411467 };
412468413413- buildInputs = [ pkgs.unzip ];
469469+ buildInputs = [ pkgs.unzip mock ];
414470415415- # The tests fail - I don't know why
471471+ # couple of failing tests
416472 doCheck = false;
417473418474 meta = {
···439495 # http://thread.gmane.org/gmane.comp.file-systems.tahoe.devel/3200 for a
440496 # discussion.
441497442442- # Gives "ValueError: Empty module name" with no clue as to why.
498498+ # AttributeError: 'module' object has no attribute 'test_darcsver'
443499 doCheck = false;
444500445501 meta = {
···497553 # ehm, YES, the --verbose flags needs to be there, otherwise it tries to patch setuptools!
498554 easy_install --verbose --prefix=$out .
499555 '';
556556+557557+ # test for 27 fails
500558 doCheck = false;
501559502560 meta = {
···532590 sha256 = "16s0anvpaccbqmdrhl71z73k0dy2sl166nnc2fbd5lshlgmj13ad";
533591 };
534592593593+ # error: invalid command 'test'
535594 doCheck = false;
536595537596 meta = {
···549608 sha256 = "0snlrcvk92qj1v0n9dpycn6sw56w4zns4mpc30837q6yi7ylrx4f";
550609 };
551610611611+ # error: invalid command 'test'
552612 doCheck = false;
553613554614 meta = {
···583643 sha256 = "1d8vg5a9q2ldnbxqap1893lqb66jwcsli2brbjx7mcnqrzcz449x";
584644 };
585645586586- propagatedBuildInputs = [ pkgs.pil django_1_3 ];
646646+ propagatedBuildInputs = [ pil django_1_3 ];
587647588648 meta = {
589649 description = "A collection of useful extensions for Django";
···604664 installCommand = ''
605665 python setup.py install --prefix="$out" --root=/ --record="$out/lib/${python.libPrefix}/site-packages/dulwich/list.txt" --single-version-externally-managed
606666 '';
607607- doCheck = false;
667667+668668+ # For some reason "python setup.py test" doesn't work with Python 2.6.
669669+ # pretty sure that is about import behaviour.
670670+ doCheck = python.majorVersion != "2.6";
608671609672 meta = {
610673 description = "Simple Python implementation of the Git file formats and protocols.";
···638701 sha256 = "0wfz4nxl95jcr2f2mc5gijgighavcghg33plzbz5jyi531jpffss";
639702 };
640703704704+ # error: invalid command 'test'
641705 doCheck = false;
642706643707 meta = {
···712776 md5 = "abfdbb25d37c28e9da05f1b5c3596d1a";
713777 };
714778779779+ buildInputs = [ nose ];
780780+781781+ # 3 failing tests
715782 doCheck = false;
716783717784 meta = {
···767834768835 propagatedBuildInputs = [ twisted pkgs.pyopenssl ];
769836770770- # For some reason "python setup.py test" doesn't work with Python 2.6.
771771- doCheck = false;
772772-773837 meta = {
774838 homepage = http://foolscap.lothar.com/;
775839···816880 sha256 = "0jrajyppdzb3swcxv3w1mpp88vcy7400gy1v2h2gm3pq0dmggaij";
817881 };
818882819819- # two tests fail on x86_64 at least. I don't know why.
883883+ # FAIL: test_sanitize_remove_script_elem (genshi.filters.tests.html.HTMLSanitizerTestCase)
884884+ # FAIL: test_sanitize_remove_src_javascript (genshi.filters.tests.html.HTMLSanitizerTestCase)
820885 doCheck = false;
821886822887 buildInputs = [ pkgs.setuptools ];
···842907 sha256 = "0bhiyx41kilvy04cgjbvjy2r4b6l7zz31fbrg3l6lvnqm26nihb0";
843908 };
844909845845- buildInputs = [ pkgs.setuptools ];
910910+ buildInputs = [ pkgs.setuptools ] ++
911911+ (if python.majorVersion == "2.6" then [ argparse ] else []);
846912847913 meta = {
848914 description = "automatically generated zsh completion function for Python's option parser modules";
···878944879945 buildInputs = [ nose mox ];
880946947947+ # tests fail for python2.6
948948+ doCheck = python.majorVersion != "2.6";
949949+881950 propagatedBuildInputs = [ gflags sqlalchemy webob routes eventlet ];
882951883952 PYTHON_EGG_CACHE = "`pwd`/.egg-cache";
···914983 sha256 = "1wmd1svx5344alb8ff9vzdam1ccqdl0h7shp1xnsk843hqwc0fz0";
915984 };
916985986986+ # error: invalid command 'test'
917987 doCheck = false;
918988919989 postUnpack = "find . -print0 | xargs -0 touch";
···9331003 sha256 = "2e2ce18092c32d1ec54f8a447e14e33585e30f240b883bfeeca65f12b3bcfaf6";
9341004 };
9351005936936- doCheck = false; # doesn't have a test
937937-9381006 meta = {
9391007 homepage = "http://code.google.com/p/httplib2";
9401008 description = "A comprehensive HTTP client library";
···9701038 md5 = "f4f7ddc7c5e55a47222a5cc6c0a87b6d";
9711039 };
972104010411041+ # error: invalid command 'test'
9731042 doCheck = false;
97410439751044 meta = {
···10091078 md5 = "506cf1b13020b3ed2f3c845ea0c9830e";
10101079 };
1011108010811081+ # error: invalid command 'test'
10121082 doCheck = false;
1013108310141084 meta = {
···10271097 sha256 = "11qilrs4sd4c1mkd64ikrjsc2vwrshhc54n5mh4xrark9c7ayp0y";
10281098 };
1029109910301030- buildInputs = [ zopeInterface ];
11001100+ buildInputs = [ zopeInterface mock ];
1031110110321102 preConfigure = "cp test/secrets.py-dist test/secrets.py";
1033110311041104+ # failing tests for 26 and 27
11051105+ doCheck = false;
11061106+10341107 meta = {
10351108 description = "A unified interface to many cloud providers";
10361109 homepage = http://incubator.apache.org/libcloud/;
···10461119 sha1 = "1eebaee375641c9f29aeb21768f917dd2b985752";
10471120 };
1048112110491049- doCheck = false; # no tests
11221122+ # error: invalid command 'test'
11231123+ doCheck = false;
1050112410511125 meta = {
10521126 homepage = http://code.google.com/p/pylockfile/;
···11371211 md5 = "751e8055be2433dfd1a82e0fb1b12f13";
11381212 };
1139121312141214+ # error: invalid command 'test'
11401215 doCheck = false;
1141121611421217 meta = {
···11521227 sha256 = "be37e1d86c65ecacae6683f8805e051e9904e5f2e02bf2b7a34262c46a6d06a7";
11531228 };
1154122912301230+ # error: invalid command 'test'
11551231 doCheck = false;
1156123211571233 propagatedBuildInputs = [ dateutil numpy pkgs.freetype pkgs.libpng pkgs.pkgconfig pkgs.tcl pkgs.tk pkgs.xlibs.libX11 ];
···12281304 sha1 = "b71aeaacf31898c3b38d8b9ca5bcc0664499c0de";
12291305 };
1230130613071307+ # error: invalid command 'test'
12311308 doCheck = false;
1232130912331310 meta = {
···12561333 MySQL_python = buildPythonPackage {
12571334 name = "MySQL-python-1.2.3";
1258133513361336+ # plenty of failing tests
12591337 doCheck = false;
1260133812611339 src = fetchurl {
···12631341 sha256 = "0vkyg9dmj29hzk7fy77f42p7bfj28skyzsjsjry4wqr3z6xnzrkx";
12641342 };
1265134312661266- propagatedBuildInputs = [ pkgs.mysql pkgs.zlib nose ];
13441344+ buildInputs = [ nose ];
13451345+13461346+ propagatedBuildInputs = [ pkgs.mysql pkgs.zlib ];
1267134712681348 meta = {
12691349 description = "MySQL database binding for Python";
···1283136312841364 # No support of GUI yet.
1285136513661366+ # error: invalid command 'test'
12861367 doCheck = false;
1287136812881369 meta = {
···13151396 sha256 = "0ssxic389rdc79zkz8dxcjpqdi5qs80h12khkag410cl9cwk11f2";
13161397 };
1317139813181318- doCheck = false; # there is no test command
13991399+ # error: invalid command 'test'
14001400+ doCheck = false;
1319140113201402 meta = {
13211403 homepage = https://github.com/drkjam/netaddr/;
···13291411 version = "0.10.0";
1330141213311413 src = fetchurl {
13321332- url = "http://divmod.org/trac/attachment/wiki/SoftwareReleases/Nevow-${version}.tar.gz?format=raw";
14141414+ url = "http://pypi.python.org/packages/source/N/Nevow/Nevow-${version}.tar.gz";
13331415 sha256 = "90631f68f626c8934984908d3df15e7c198939d36be7ead1305479dfc67ff6d0";
13341416 name = "${name}.tar.gz";
13351417 };
1336141813371337- propagatedBuildInputs = [ twisted ];
14191419+ propagatedBuildInputs = [ twisted ];
1338142013391339- postInstall = "twistd --help > /dev/null";
14211421+ postInstall = "twistd --help > /dev/null";
1340142213411341- meta = {
13421342- description = "Nevow, a web application construction kit for Python";
14231423+ meta = {
14241424+ description = "Nevow, a web application construction kit for Python";
1343142513441344- longDescription = ''
13451345- Nevow - Pronounced as the French "nouveau", or "noo-voh", Nevow
13461346- is a web application construction kit written in Python. It is
13471347- designed to allow the programmer to express as much of the view
13481348- logic as desired in Python, and includes a pure Python XML
13491349- expression syntax named stan to facilitate this. However it
13501350- also provides rich support for designer-edited templates, using
13511351- a very small XML attribute language to provide bi-directional
13521352- template manipulation capability.
14261426+ longDescription = ''
14271427+ Nevow - Pronounced as the French "nouveau", or "noo-voh", Nevow
14281428+ is a web application construction kit written in Python. It is
14291429+ designed to allow the programmer to express as much of the view
14301430+ logic as desired in Python, and includes a pure Python XML
14311431+ expression syntax named stan to facilitate this. However it
14321432+ also provides rich support for designer-edited templates, using
14331433+ a very small XML attribute language to provide bi-directional
14341434+ template manipulation capability.
1353143513541354- Nevow also includes formless, a declarative syntax for
13551355- specifying the types of method parameters and exposing these
13561356- methods to the web. Forms can be rendered automatically, and
13571357- form posts will be validated and input coerced, rendering error
13581358- pages if appropriate. Once a form post has validated
13591359- successfully, the method will be called with the coerced values.
13601360- '';
14361436+ Nevow also includes formless, a declarative syntax for
14371437+ specifying the types of method parameters and exposing these
14381438+ methods to the web. Forms can be rendered automatically, and
14391439+ form posts will be validated and input coerced, rendering error
14401440+ pages if appropriate. Once a form post has validated
14411441+ successfully, the method will be called with the coerced values.
14421442+ '';
1361144313621362- homepage = http://divmod.org/trac/wiki/DivmodNevow;
14441444+ homepage = http://divmod.org/trac/wiki/DivmodNevow;
1363144513641364- license = "BSD-style";
13651365- };
13661366- });
14461446+ license = "BSD-style";
14471447+ };
14481448+ });
1367144913681450 nose = buildPythonPackage rec {
13691369- name = "nose-1.0.0";
14511451+ name = "nose-1.2.1";
1370145213711453 src = fetchurl {
13721454 url = "http://pypi.python.org/packages/source/n/nose/${name}.tar.gz";
13731373- md5 = "47a4784c817afa6ef11a505b574584ed";
14551455+ md5 = "735e3f1ce8b07e70ee1b742a8a53585a";
13741456 };
1375145713761376- # Fails with ‘This platform lacks a functioning sem_open
13771377- # implementation, therefore, the required synchronization
13781378- # primitives needed will not function, see issue 3770.’ However,
13791379- # our Python does seem to be built with the necessary
13801380- # functionality.
13811381- doCheck = false;
13821382-13831458 meta = {
13841459 description = "A unittest-based testing framework for python that makes writing and running tests easier";
13851460 };
14611461+14621462+ buildInputs = [ coverage ];
13861463 };
1387146413881465 notify = pkgs.stdenv.mkDerivation (rec {
···14391516 python setup.py build --fcompiler="gnu95"
14401517 python setup.py install --prefix=$out
14411518 '';
15191519+15201520+ # error: invalid command 'test'
14421521 doCheck = false;
1443152214441523 buildInputs = [ pkgs.gfortran ];
···14511530 });
1452153114531532 oauth2 = buildPythonPackage (rec {
14541454- name = "auth2-1.5.211";
15331533+ name = "oauth2-1.5.211";
1455153414561535 src = fetchurl {
14571536 url = "http://pypi.python.org/packages/source/o/oauth2/oauth2-1.5.211.tar.gz";
···14591538 };
1460153914611540 propagatedBuildInputs = [ httplib2 ];
14621462- doCheck = false;
15411541+15421542+ buildInputs = [ mock coverage ];
15431543+15441544+ # ServerNotFoundError: Unable to find the server at oauth-sandbox.sevengoslings.net
15451545+ #doCheck = false;
1463154614641547 meta = {
14651548 homepage = "https://github.com/simplegeo/python-oauth2";
···14701553 };
14711554 });
1472155514731473- optfunc = buildPythonPackage ( rec {
14741474- name = "optfunc-git";
14751475-14761476- src = pkgs.fetchgit {
14771477- url = "http://github.com/simonw/optfunc.git";
14781478- rev = "e3fa034a545ed94ac5a039cf5b170c7d0ee21b7b";
14791479- };
14801480-14811481- installCommand = ''
14821482- dest=$(toPythonPath $out)/optfunc
14831483- mkdir -p $dest
14841484- cp * $dest/
14851485- '';
14861486-14871487- doCheck = false;
14881488-14891489- meta = {
14901490- description = "A new experimental interface to optparse which works by introspecting a function definition";
14911491- homepage = "http://simonwillison.net/2009/May/28/optfunc/";
14921492- };
14931493- });
15561556+ # optfunc = buildPythonPackage ( rec {
15571557+ # name = "optfunc-git";
15581558+ #
15591559+ # src = pkgs.fetchgit {
15601560+ # url = "https://github.com/simonw/optfunc.git";
15611561+ # rev = "e3fa034a545ed94ac5a039cf5b170c7d0ee21b7b";
15621562+ # };
15631563+ #
15641564+ # installCommand = ''
15651565+ # dest=$(toPythonPath $out)/optfunc
15661566+ # mkdir -p $dest
15671567+ # cp * $dest/
15681568+ # '';
15691569+ #
15701570+ # doCheck = false;
15711571+ #
15721572+ # meta = {
15731573+ # description = "A new experimental interface to optparse which works by introspecting a function definition";
15741574+ # homepage = "http://simonwillison.net/2009/May/28/optfunc/";
15751575+ # };
15761576+ # });
1494157714951578 ply = buildPythonPackage (rec {
14961579 name = "ply-3.2";
···15351618 sha256 = "1bjy4jn51c50mpq51jbwk0glzd8bxz83gxdfkr9p95dmrd17c7hh";
15361619 };
1537162015381538- buildInputs = [ pkgs.pycrypto ];
16211621+ buildInputs = [ pycrypto ];
1539162215401623 meta = {
15411624 homepage = "http://www.lag.net/paramiko/";
···16231706 sha256 = "0x8bfjjqygriry1iyygm5048ykl5qpbpzqfp6i8dhkslm3ryf5fk";
16241707 };
1625170817091709+ # error: invalid command 'test'
16261710 doCheck = false;
1627171116281712 meta = {
···16611745 sha256 = "1sr2bb3g7rl7gr6156j5qv71kg06q1x01r1lbps9ksnyz37djn2q";
16621746 };
1663174717481748+ # error: invalid command 'test'
16641749 doCheck = false;
1665175016661751 meta = {
···17021787 psycopg2 = buildPythonPackage rec {
17031788 name = "psycopg2-2.0.13";
1704178917901790+ # error: invalid command 'test'
17051791 doCheck = false;
1706179217071793 src = fetchurl {
···17701856 python setup.py install --prefix=$out
17711857 '';
1772185817731773- doCheck = false;
17741774-17751859 meta = {
17761860 description = "Python bindings for PortAudio";
17771861 homepage = "http://people.csail.mit.edu/hubert/pyaudio/";
···17881872 sha256 = "4a3a085ecf1fcd2736573538ffa114f1f4331b3bbbdd69381e6e172c49c9750f";
17891873 };
1790187417911791- doCheck = false;
18751875+ buildInputs = [ pytz ];
1792187617931877 meta = {
17941878 homepage = http://babel.edgewall.org;
···1837192118381922 buildInputs = [ pkgs.curl ];
1839192319241924+ # error: invalid command 'test'
18401925 doCheck = false;
1841192618421927 preConfigure = ''
18431928 substituteInPlace setup.py --replace '--static-libs' '--libs'
18441929 '';
1845193018461846- installCommand = "python setup.py install --prefix=$out";
18471847-18481931 meta = {
18491932 homepage = http://pycurl.sourceforge.net/;
18501933 description = "Python wrapper for libcurl";
···18751958 };
18761959 propagatedBuildInputs = [xe];
1877196018781878- # tests not described in setup.py
19611961+ # error: invalid command 'test'
18791962 doCheck = false;
1880196318811964 meta = {
···19081991 sha256 = "5fd887c407015296a8fd3f4b867fe0fcca3179de97ccde90449853a3dfb802e1";
19091992 };
1910199319941994+ # error: invalid command 'test'
19111995 doCheck = false;
1912199619131997 propagatedBuildInputs = [ pkgs.gpgme ];
···19532037 url = "http://pypi.python.org/packages/source/p/pyparsing/${name}.tar.gz";
19542038 md5 = "1e41cb219dae9fc353bd4cd47636b283";
19552039 };
20402040+20412041+ # error: invalid command 'test'
19562042 doCheck = false;
20432043+19572044 meta = {
19582045 homepage = http://pyparsing.wikispaces.com/;
19592046 description = "The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions.";
···19832070 sha256 = "1idks7j9bn62xzsaxkvhl7bdq6ws8kv8aa0wahfh7724qlbbcf1k";
19842071 };
1985207220732073+ # ERROR: testExtended (tests.test_acls.AclExtensions)
20742074+ # IOError: [Errno 0] Error
19862075 doCheck = false;
1987207619882077 buildInputs = [ pkgs.acl ];
···20782167 md5 = "3076164a7079891d149a23f9435581db";
20792168 };
2080216921702170+ # error: invalid command 'test'
20812171 doCheck = false;
2082217220832173 meta = {
···21072197 --replace "/usr/local/lib" "${pkgs.sqlite}/lib"
21082198 '';
2109219921102110- # FIXME: How do we run the tests?
22002200+ # error: invalid command 'test'
21112201 doCheck = false;
2112220221132203 meta = {
···21692259 sed -i -e 's|libpython2.7.dylib|lib/libpython2.7.dylib|' Makefile
21702260 '');
2171226121722172- # The regression test suite expects locale support, which our glibc
21732173- # doesn't have by default.
21742174- doCheck = false;
21752262 checkPhase = "make -C ../Tests";
2176226321772264 installPhase = ''
···22482335 sha256 = "0jmkffik6hdzs7ng8c65bggss2ai40nm59jykswdf5lpd36cxddq";
22492336 };
2250233723382338+ # error: invalid command 'test'
22512339 doCheck = false;
2252234022532341 buildInputs = [ pkgs.attr ];
···23172405 };
2318240623192407 buildInputs = [freetype];
24082408+24092409+ # error: invalid command 'test'
23202410 doCheck = false;
2321241123222412 meta = {
···2336242623372427 propagatedBuildInputs =
23382428 [ recaptcha_client pytz memcached dateutil paramiko flup pygments
23392339- djblets django_1_3 django_evolution pkgs.pycrypto python.modules.sqlite3
23402340- pysvn pkgs.pil psycopg2
24292429+ djblets django_1_3 django_evolution pycrypto python.modules.sqlite3
24302430+ pysvn pil psycopg2
23412431 ];
23422432 };
23432433···23502440 sha256 = "1c7ipk5vwqnln83rmai5jzyxkjdajdzbk5cgy1z83nyr5hbkgkqr";
23512441 };
2352244224432443+ # error: invalid command 'test'
23532444 doCheck = false;
2354244523552446 meta = {
···2432252324332524 buildInputs = [pkgs.gfortran];
24342525 propagatedBuildInputs = [ numpy ];
25262526+25272527+ # error: invalid command 'test'
24352528 doCheck = false;
2436252924372530 # TODO: add ATLAS=${pkgs.atlas}
···25702663 md5 = "9e8099b57cd27493a6988e9c9b313e23";
25712664 };
2572266526662666+ # error: invalid command 'test'
25732667 doCheck = false;
2574266825752669 meta = {
···25932687 sourceRoot=`pwd`/`ls -d S*`
25942688 '';
2595268926902690+ # error: invalid command 'test'
25962691 doCheck = false;
2597269225982693 propagatedBuildInputs = [ pkgs.xlibs.libX11 pkgs.pythonDBus pkgs.pygobject ];
···26822777 md5 = "af0a314b6106dd80da24a918c24a1eab";
26832778 };
2684277926852685- doCheck = false;
27802780+ buildInputs = [ mock nose ];
27812781+27822782+ # XXX: Ran 0 tests in 0.217s
2686278326872784 meta = {
26882785 description = "Lightweight and extensible STOMP messaging client";
···26932790 });
269427912695279226962696- svneverever = buildPythonPackage rec {
26972697- name = "svneverever-778489a8";
26982698-26992699- src = pkgs.fetchgit {
27002700- url = git://git.goodpoint.de/svneverever.git;
27012701- rev = "778489a8c6f07825fb18c9da3892a781c3d659ac";
27022702- sha256 = "41c9da1dab2be7b60bff87e618befdf5da37c0a56287385cb0cbd3f91e452bb6";
27032703- };
27042704-27052705- propagatedBuildInputs = [ pysvn argparse ];
27062706-27072707- doCheck = false;
27082708- };
27932793+ # XXX: ValueError: ZIP does not support timestamps before 1980
27942794+ # svneverever = buildPythonPackage rec {
27952795+ # name = "svneverever-778489a8";
27962796+ #
27972797+ # src = pkgs.fetchgit {
27982798+ # url = git://git.goodpoint.de/svneverever.git;
27992799+ # rev = "778489a8c6f07825fb18c9da3892a781c3d659ac";
28002800+ # sha256 = "41c9da1dab2be7b60bff87e618befdf5da37c0a56287385cb0cbd3f91e452bb6";
28012801+ # };
28022802+ #
28032803+ # propagatedBuildInputs = [ pysvn argparse ];
28042804+ #
28052805+ # doCheck = false;
28062806+ # };
2709280727102808 taskcoach = buildPythonPackage rec {
27112809 name = "TaskCoach-1.3.8";
···27252823 --prefix LD_LIBRARY_PATH : $libspaths
27262824 '';
2727282528262826+ # error: invalid command 'test'
27282827 doCheck = false;
2729282827302829 meta = {
···27602859 sha256 = "1ihf5031pc1wpwbxpfzzz2bcpwww795n5y22baglyim1lalivd65";
27612860 };
2762286128622862+ # couple of failing tests
27632863 doCheck = false;
2764286427652865 PYTHON_EGG_CACHE = "`pwd`/.egg-cache";
···27812881 sha256 = "c0f32fa31e2c5fa42f5cc19f3dba4e73f0438bf36bf756ba137f2423c0ac4637";
27822882 };
2783288327842784- propagatedBuildInputs = [ oauth2 urwid tweepy ];
28842884+ propagatedBuildInputs = [ oauth2 urwid tweepy ] ++
28852885+ (if python.majorVersion == "2.6" then [ argparse ]
28862886+ else []);
28872887+28882888+ #buildInputs = [ tox ];
28892889+ # needs tox
27852890 doCheck = false;
2786289127872892 meta = {
···28012906 sha256 = "66d728527ab3d5f5e4d6725654783f99169172678105f609d14353f6626c1315";
28022907 };
2803290828042804- doCheck = false;
28052805-28062909 meta = {
28072910 homepage = "https://github.com/tweepy/tweepy";
28082911 description = "Twitter library for python";
···28692972 sha256 = "4437076c8708e5754ea04540e46c7f4f233734ee3590bb8a96389264fb0650d0";
28702973 };
2871297429752975+ # error: invalid command 'test'
28722976 doCheck = false;
2873297728742978 propagatedBuildInputs = [ pycurl ];
···28852989 urwid = buildPythonPackage (rec {
28862990 name = "urwid-1.1.1";
2887299129922992+ # multiple: NameError: name 'evl' is not defined
28882993 doCheck = false;
2889299428902995 src = fetchurl {
···2912301729133018 propagatedBuildInputs = [ python.modules.readline python.modules.sqlite3 ];
2914301929152915- doCheck = false;
30203020+ buildInputs = [ mock nose ];
30213021+30223022+ # XXX: Ran 0 tests in 0.003s
2916302329173024 meta = with stdenv.lib; {
29183025 description = "a tool to create isolated Python environments";
···29313038 md5 = "8492e46496e187b49fe5569b5639804e";
29323039 };
2933304030413041+ # error: invalid command 'test'
29343042 doCheck = false;
2935304329363044 meta = {
···30303138 sha256 = "0v9878cl0y9cczdsr6xjy8v9l139lc23h4m5f86p4kpf2wlnpi42";
30313139 };
3032314030333033- # tests not described in setup.py
31413141+ # error: invalid command 'test'
30343142 doCheck = false;
3035314330363144 meta = {
···31193227 sha256 = "294c3c0529e84169177bce78d616c768fa1c028a2fbc1854f615d32ed88dbc6c";
31203228 };
3121322931223122- doCheck = false;
31233123-31243230 meta = {
31253231 description = "Zope.Interface";
31263232 homepage = http://zope.org/Products/ZopeInterface;
···31283234 };
31293235 };
3130323631313131- hgsvn = buildPythonPackage rec {
31323132- name = "hgsvn-0.1.8";
31333133- src = fetchurl rec {
31343134- name = "hgsvn-0.1.8.tar.gz";
31353135- url = "http://pypi.python.org/packages/source/h/hgsvn/${name}.tar.gz#md5=56209eae48b955754e09185712123428";
31363136- sha256 = "18a7bj1i0m4shkxmdvw1ci5i0isq5vqf0bpwgrhnk305rijvbpch";
31373137- };
31383138-31393139- buildInputs = [ pkgs.setuptools ];
31403140- doCheck = false;
31413141-31423142- meta = {
31433143- description = "HgSVN";
31443144- homepage = http://pypi.python.org/pypi/hgsvn;
31453145- };
31463146- };
32373237+ # XXX: link broken
32383238+ # hgsvn = buildPythonPackage rec {
32393239+ # name = "hgsvn-0.1.8";
32403240+ # src = fetchurl rec {
32413241+ # name = "hgsvn-0.1.8.tar.gz";
32423242+ # url = "http://pypi.python.org/packages/source/h/hgsvn/${name}.tar.gz#md5=56209eae48b955754e09185712123428";
32433243+ # sha256 = "18a7bj1i0m4shkxmdvw1ci5i0isq5vqf0bpwgrhnk305rijvbpch";
32443244+ # };
32453245+ #
32463246+ # buildInputs = [ pkgs.setuptools ];
32473247+ # doCheck = false;
32483248+ #
32493249+ # meta = {
32503250+ # description = "HgSVN";
32513251+ # homepage = http://pypi.python.org/pypi/hgsvn;
32523252+ # };
32533253+ # };
3147325431483255 cliapp = buildPythonPackage rec {
31493256 name = "cliapp-1.20120929";
···3155326231563263 buildInputs = [ sphinx ];
3157326432653265+ # error: invalid command 'test'
31583266 doCheck = false;
3159326731603268 meta = {
···3175328331763284 buildInputs = [ sphinx ];
3177328532863286+ # error: invalid command 'test'
31783287 doCheck = false;
3179328831803289 meta = {
···3195330431963305 buildInputs = [ sphinx ];
3197330633073307+ # error: invalid command 'test'
31983308 doCheck = false;
3199330932003310 meta = {
···32163326 buildInputs = [ sphinx ];
32173327 propagatedBuildInputs = [ tracing ttystatus cliapp ];
3218332833293329+ # error: invalid command 'test'
32193330 doCheck = false;
3220333132213332 meta = {