mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-03-06 15:21:38 +00:00
pypy: handle unsupported packages
This commit is contained in:
parent
a44de69d06
commit
2632afa131
pkgs
applications/networking/mailreaders/mailpile
development/python-modules
top-level
|
@ -10,7 +10,7 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [
|
propagatedBuildInputs = with pythonPackages; [
|
||||||
pillow jinja2 spambayes pythonPackages."lxml-2.3.6" python.modules.readline or null];
|
pillow jinja2 spambayes pythonPackages.lxml python.modules.readline or null];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A modern, fast web-mail client with user-friendly encryption and privacy features";
|
description = "A modern, fast web-mail client with user-friendly encryption and privacy features";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, fetchurl, python, pkgconfig, dbus, dbus_glib, dbus_tools }:
|
{ stdenv, fetchurl, python, pkgconfig, dbus, dbus_glib, dbus_tools, isPyPy }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
if isPyPy then throw "dbus-python not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec {
|
||||||
name = "dbus-python-1.2.0";
|
name = "dbus-python-1.2.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, wxGTK, pythonPackages }:
|
{ stdenv, fetchurl, pkgconfig, wxGTK, pythonPackages, python, isPyPy }:
|
||||||
|
|
||||||
assert wxGTK.unicode;
|
assert wxGTK.unicode;
|
||||||
|
|
||||||
let version = "2.8.12.1"; in
|
let version = "2.8.12.1"; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
if isPyPy then throw "wxPython-${version} not supported for interpreter ${python.executable}" else stdenv.mkDerivation {
|
||||||
name = "wxPython-${version}";
|
name = "wxPython-${version}";
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, wxGTK, pythonPackages, openglSupport ? true }:
|
{ stdenv, fetchurl, pkgconfig, wxGTK, pythonPackages, openglSupport ? true, python, isPyPy }:
|
||||||
|
|
||||||
assert wxGTK.unicode;
|
assert wxGTK.unicode;
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ with stdenv.lib;
|
||||||
|
|
||||||
let version = "3.0.0.0"; in
|
let version = "3.0.0.0"; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
if isPyPy then throw "wxPython-${version} not supported for interpreter ${python.executable}" else stdenv.mkDerivation {
|
||||||
name = "wxPython-${version}";
|
name = "wxPython-${version}";
|
||||||
|
|
||||||
builder = ./builder3.0.sh;
|
builder = ./builder3.0.sh;
|
||||||
|
|
|
@ -65,7 +65,7 @@ rec {
|
||||||
|
|
||||||
dbus = import ../development/python-modules/dbus {
|
dbus = import ../development/python-modules/dbus {
|
||||||
inherit (pkgs) stdenv fetchurl pkgconfig dbus dbus_glib dbus_tools;
|
inherit (pkgs) stdenv fetchurl pkgconfig dbus dbus_glib dbus_tools;
|
||||||
inherit python;
|
inherit python isPyPy;
|
||||||
};
|
};
|
||||||
|
|
||||||
discid = buildPythonPackage rec {
|
discid = buildPythonPackage rec {
|
||||||
|
@ -4118,6 +4118,7 @@ rec {
|
||||||
name = "httpretty-${version}";
|
name = "httpretty-${version}";
|
||||||
version = "0.8.3";
|
version = "0.8.3";
|
||||||
disabled = isPy3k;
|
disabled = isPy3k;
|
||||||
|
doCheck = !isPyPy;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://pypi.python.org/packages/source/h/httpretty/${name}.tar.gz";
|
url = "http://pypi.python.org/packages/source/h/httpretty/${name}.tar.gz";
|
||||||
|
@ -4230,6 +4231,7 @@ rec {
|
||||||
|
|
||||||
ipdb = buildPythonPackage rec {
|
ipdb = buildPythonPackage rec {
|
||||||
name = "ipdb-0.8";
|
name = "ipdb-0.8";
|
||||||
|
disabled = isPyPy; # setupterm: could not find terminfo database
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://pypi.python.org/packages/source/i/ipdb/${name}.zip";
|
url = "http://pypi.python.org/packages/source/i/ipdb/${name}.zip";
|
||||||
md5 = "96dca0712efa01aa5eaf6b22071dd3ed";
|
md5 = "96dca0712efa01aa5eaf6b22071dd3ed";
|
||||||
|
@ -4442,23 +4444,6 @@ rec {
|
||||||
propagatedBuildInputs = [ unittest2 ];
|
propagatedBuildInputs = [ unittest2 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
"lxml-2.3.6" = buildPythonPackage rec {
|
|
||||||
name = "lxml-2.3.6";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "http://pypi.python.org/packages/source/l/lxml/lxml-2.3.6.tar.gz";
|
|
||||||
md5 = "d5d886088e78b1bdbfd66d328fc2d0bc";
|
|
||||||
};
|
|
||||||
buildInputs = [ pkgs.libxml2 pkgs.libxslt ];
|
|
||||||
propagatedBuildInputs = [ ];
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Pythonic binding for the libxml2 and libxslt libraries";
|
|
||||||
homepage = http://codespeak.net/lxml/index.html;
|
|
||||||
license = "BSD";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
lxml = buildPythonPackage ( rec {
|
lxml = buildPythonPackage ( rec {
|
||||||
name = "lxml-3.3.6";
|
name = "lxml-3.3.6";
|
||||||
|
|
||||||
|
@ -5449,6 +5434,7 @@ rec {
|
||||||
livestreamer = buildPythonPackage rec {
|
livestreamer = buildPythonPackage rec {
|
||||||
version = "1.10.2";
|
version = "1.10.2";
|
||||||
name = "livestreamer-${version}";
|
name = "livestreamer-${version}";
|
||||||
|
disabled = isPyPy;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/chrippa/livestreamer/archive/v${version}.tar.gz";
|
url = "https://github.com/chrippa/livestreamer/archive/v${version}.tar.gz";
|
||||||
|
@ -8238,6 +8224,7 @@ rec {
|
||||||
sqlalchemy = sqlalchemy9.override rec {
|
sqlalchemy = sqlalchemy9.override rec {
|
||||||
name = "SQLAlchemy-0.7.10";
|
name = "SQLAlchemy-0.7.10";
|
||||||
disabled = isPy34;
|
disabled = isPy34;
|
||||||
|
doCheck = !isPyPy;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://pypi.python.org/packages/source/S/SQLAlchemy/${name}.tar.gz";
|
url = "http://pypi.python.org/packages/source/S/SQLAlchemy/${name}.tar.gz";
|
||||||
|
@ -8256,6 +8243,7 @@ rec {
|
||||||
sqlalchemy8 = sqlalchemy9.override rec {
|
sqlalchemy8 = sqlalchemy9.override rec {
|
||||||
name = "SQLAlchemy-0.8.7";
|
name = "SQLAlchemy-0.8.7";
|
||||||
disabled = isPy34;
|
disabled = isPy34;
|
||||||
|
doCheck = !isPyPy;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://pypi.python.org/packages/source/S/SQLAlchemy/${name}.tar.gz";
|
url = "https://pypi.python.org/packages/source/S/SQLAlchemy/${name}.tar.gz";
|
||||||
|
@ -9231,13 +9219,13 @@ rec {
|
||||||
|
|
||||||
wxPython28 = import ../development/python-modules/wxPython/2.8.nix {
|
wxPython28 = import ../development/python-modules/wxPython/2.8.nix {
|
||||||
inherit (pkgs) stdenv fetchurl pkgconfig;
|
inherit (pkgs) stdenv fetchurl pkgconfig;
|
||||||
inherit pythonPackages;
|
inherit pythonPackages isPyPy python;
|
||||||
wxGTK = pkgs.wxGTK28;
|
wxGTK = pkgs.wxGTK28;
|
||||||
};
|
};
|
||||||
|
|
||||||
wxPython30 = import ../development/python-modules/wxPython/3.0.nix {
|
wxPython30 = import ../development/python-modules/wxPython/3.0.nix {
|
||||||
inherit (pkgs) stdenv fetchurl pkgconfig;
|
inherit (pkgs) stdenv fetchurl pkgconfig;
|
||||||
inherit pythonPackages;
|
inherit pythonPackages isPyPy python;
|
||||||
wxGTK = pkgs.wxGTK30;
|
wxGTK = pkgs.wxGTK30;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -9397,6 +9385,7 @@ rec {
|
||||||
zodb3 = buildPythonPackage rec {
|
zodb3 = buildPythonPackage rec {
|
||||||
name = "zodb3-${version}";
|
name = "zodb3-${version}";
|
||||||
version = "3.11.0";
|
version = "3.11.0";
|
||||||
|
disabled = isPyPy;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://pypi.python.org/packages/source/Z/ZODB3/ZODB3-${version}.tar.gz";
|
url = "http://pypi.python.org/packages/source/Z/ZODB3/ZODB3-${version}.tar.gz";
|
||||||
|
@ -9415,6 +9404,8 @@ rec {
|
||||||
|
|
||||||
zodb = buildPythonPackage rec {
|
zodb = buildPythonPackage rec {
|
||||||
name = "zodb-${version}";
|
name = "zodb-${version}";
|
||||||
|
disabled = isPyPy;
|
||||||
|
|
||||||
version = "4.0.1";
|
version = "4.0.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
|
Loading…
Reference in a new issue