forked from mirrors/nixpkgs
Merge pull request #7219 from rzetterberg/development
Removes python 2.7 block in favor of "disabled"
This commit is contained in:
commit
64c0e6b7fa
|
@ -37,7 +37,6 @@ let
|
||||||
inherit (pkgs) stdenv fetchurl;
|
inherit (pkgs) stdenv fetchurl;
|
||||||
self = pythonPackages;
|
self = pythonPackages;
|
||||||
}
|
}
|
||||||
# Python packages for all python versions
|
|
||||||
// {
|
// {
|
||||||
|
|
||||||
inherit python isPy26 isPy27 isPy33 isPy34 isPyPy isPy3k pythonName buildPythonPackage;
|
inherit python isPy26 isPy27 isPy33 isPy34 isPyPy isPy3k pythonName buildPythonPackage;
|
||||||
|
@ -14348,14 +14347,9 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
# python2.7 specific packages
|
|
||||||
} // optionalAttrs isPy27 (
|
|
||||||
with self;
|
|
||||||
|
|
||||||
{
|
|
||||||
boto-230 = buildPythonPackage rec {
|
boto-230 = buildPythonPackage rec {
|
||||||
name = "boto-2.30.0";
|
name = "boto-2.30.0";
|
||||||
|
disabled = ! isPy27;
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = https://pypi.python.org/packages/source/b/boto/boto-2.30.0.tar.gz;
|
url = https://pypi.python.org/packages/source/b/boto/boto-2.30.0.tar.gz;
|
||||||
sha256 = "12gl8azmx1vv8dbv9jhnsbhjpc2dd1ng0jlbcg734k6ggwq1h6hh";
|
sha256 = "12gl8azmx1vv8dbv9jhnsbhjpc2dd1ng0jlbcg734k6ggwq1h6hh";
|
||||||
|
@ -14370,6 +14364,7 @@ let
|
||||||
|
|
||||||
gcs-oauth2-boto-plugin = buildPythonPackage rec {
|
gcs-oauth2-boto-plugin = buildPythonPackage rec {
|
||||||
name = "gcs-oauth2-boto-plugin-1.8";
|
name = "gcs-oauth2-boto-plugin-1.8";
|
||||||
|
disabled = ! isPy27;
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = https://pypi.python.org/packages/source/g/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-1.8.tar.gz;
|
url = https://pypi.python.org/packages/source/g/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-1.8.tar.gz;
|
||||||
sha256 = "0jy62y5bmaf1mb735lqwry1s5nx2qqrxvl5sxip9yg4miih3qkyb";
|
sha256 = "0jy62y5bmaf1mb735lqwry1s5nx2qqrxvl5sxip9yg4miih3qkyb";
|
||||||
|
@ -14384,6 +14379,7 @@ let
|
||||||
|
|
||||||
gsutil = buildPythonPackage rec {
|
gsutil = buildPythonPackage rec {
|
||||||
name = "gsutil-4.6";
|
name = "gsutil-4.6";
|
||||||
|
disabled = ! isPy27;
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://developers.google.com/storage/docs/gsutil;
|
homepage = https://developers.google.com/storage/docs/gsutil;
|
||||||
description = "Google Cloud Storage Tool";
|
description = "Google Cloud Storage Tool";
|
||||||
|
@ -14404,6 +14400,7 @@ let
|
||||||
pypi2nix = self.buildPythonPackage rec {
|
pypi2nix = self.buildPythonPackage rec {
|
||||||
rev = "04a68d8577acbceb88bdf51b1231a9dbdead7003";
|
rev = "04a68d8577acbceb88bdf51b1231a9dbdead7003";
|
||||||
name = "pypi2nix-1.0_${rev}";
|
name = "pypi2nix-1.0_${rev}";
|
||||||
|
disabled = ! isPy27;
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "https://github.com/garbas/pypi2nix/tarball/${rev}";
|
url = "https://github.com/garbas/pypi2nix/tarball/${rev}";
|
||||||
|
@ -14422,6 +14419,7 @@ let
|
||||||
|
|
||||||
svg2tikz = self.buildPythonPackage {
|
svg2tikz = self.buildPythonPackage {
|
||||||
name = "svg2tikz-1.0.0";
|
name = "svg2tikz-1.0.0";
|
||||||
|
disabled = ! isPy27;
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [lxml];
|
propagatedBuildInputs = with self; [lxml];
|
||||||
|
|
||||||
|
@ -14442,6 +14440,7 @@ let
|
||||||
syncserver = buildPythonPackage rec {
|
syncserver = buildPythonPackage rec {
|
||||||
name = "syncserver-${version}";
|
name = "syncserver-${version}";
|
||||||
version = "1.5.0";
|
version = "1.5.0";
|
||||||
|
disabled = ! isPy27;
|
||||||
|
|
||||||
src = pkgs.fetchgit {
|
src = pkgs.fetchgit {
|
||||||
url = https://github.com/mozilla-services/syncserver.git;
|
url = https://github.com/mozilla-services/syncserver.git;
|
||||||
|
@ -14464,6 +14463,7 @@ let
|
||||||
serversyncstorage = buildPythonPackage rec {
|
serversyncstorage = buildPythonPackage rec {
|
||||||
name = "serversyncstorage-${version}";
|
name = "serversyncstorage-${version}";
|
||||||
version = "1.5.11";
|
version = "1.5.11";
|
||||||
|
disabled = ! isPy27;
|
||||||
src = pkgs.fetchgit {
|
src = pkgs.fetchgit {
|
||||||
url = https://github.com/mozilla-services/server-syncstorage.git;
|
url = https://github.com/mozilla-services/server-syncstorage.git;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
|
@ -14481,6 +14481,7 @@ let
|
||||||
|
|
||||||
thumbor = self.buildPythonPackage rec {
|
thumbor = self.buildPythonPackage rec {
|
||||||
name = "thumbor-4.0.4";
|
name = "thumbor-4.0.4";
|
||||||
|
disabled = ! isPy27;
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [
|
propagatedBuildInputs = with self; [
|
||||||
tornado
|
tornado
|
||||||
|
@ -14512,6 +14513,7 @@ let
|
||||||
|
|
||||||
thumborPexif = self.buildPythonPackage rec {
|
thumborPexif = self.buildPythonPackage rec {
|
||||||
name = "thumbor-pexif-0.14";
|
name = "thumbor-pexif-0.14";
|
||||||
|
disabled = ! isPy27;
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "https://pypi.python.org/packages/source/t/thumbor-pexif/${name}.tar.gz";
|
url = "https://pypi.python.org/packages/source/t/thumbor-pexif/${name}.tar.gz";
|
||||||
|
@ -14529,6 +14531,7 @@ let
|
||||||
version = "1.4";
|
version = "1.4";
|
||||||
baseName = "pync";
|
baseName = "pync";
|
||||||
name = "${baseName}-${version}";
|
name = "${baseName}-${version}";
|
||||||
|
disabled = ! isPy27;
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "https://pypi.python.org/packages/source/p/${baseName}/${name}.tar.gz";
|
url = "https://pypi.python.org/packages/source/p/${baseName}/${name}.tar.gz";
|
||||||
|
@ -14554,6 +14557,7 @@ let
|
||||||
|
|
||||||
weboob = buildPythonPackage rec {
|
weboob = buildPythonPackage rec {
|
||||||
name = "weboob-1.0";
|
name = "weboob-1.0";
|
||||||
|
disabled = ! isPy27;
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "https://symlink.me/attachments/download/289/${name}.tar.gz";
|
url = "https://symlink.me/attachments/download/289/${name}.tar.gz";
|
||||||
|
@ -14574,6 +14578,7 @@ let
|
||||||
|
|
||||||
datadiff = buildPythonPackage rec {
|
datadiff = buildPythonPackage rec {
|
||||||
name = "datadiff-1.1.6";
|
name = "datadiff-1.1.6";
|
||||||
|
disabled = ! isPy27;
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "https://pypi.python.org/packages/source/d/datadiff/datadiff-1.1.6.zip";
|
url = "https://pypi.python.org/packages/source/d/datadiff/datadiff-1.1.6.zip";
|
||||||
|
@ -14591,6 +14596,7 @@ let
|
||||||
|
|
||||||
termcolor = buildPythonPackage rec {
|
termcolor = buildPythonPackage rec {
|
||||||
name = "termcolor-1.1.0";
|
name = "termcolor-1.1.0";
|
||||||
|
disabled = ! isPy27;
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "https://pypi.python.org/packages/source/t/termcolor/termcolor-1.1.0.tar.gz";
|
url = "https://pypi.python.org/packages/source/t/termcolor/termcolor-1.1.0.tar.gz";
|
||||||
|
@ -14606,6 +14612,7 @@ let
|
||||||
|
|
||||||
html2text = buildPythonPackage rec {
|
html2text = buildPythonPackage rec {
|
||||||
name = "html2text-2014.12.29";
|
name = "html2text-2014.12.29";
|
||||||
|
disabled = ! isPy27;
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "https://pypi.python.org/packages/source/h/html2text/html2text-2014.12.29.tar.gz";
|
url = "https://pypi.python.org/packages/source/h/html2text/html2text-2014.12.29.tar.gz";
|
||||||
|
@ -14621,6 +14628,7 @@ let
|
||||||
|
|
||||||
pychart = buildPythonPackage rec {
|
pychart = buildPythonPackage rec {
|
||||||
name = "pychart-1.39";
|
name = "pychart-1.39";
|
||||||
|
disabled = ! isPy27;
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "http://download.gna.org/pychart/PyChart-1.39.tar.gz";
|
url = "http://download.gna.org/pychart/PyChart-1.39.tar.gz";
|
||||||
|
@ -14636,6 +14644,7 @@ let
|
||||||
|
|
||||||
parsimonious = buildPythonPackage rec {
|
parsimonious = buildPythonPackage rec {
|
||||||
name = "parsimonious-0.6.0";
|
name = "parsimonious-0.6.0";
|
||||||
|
disabled = ! isPy27;
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "https://github.com/erikrose/parsimonious/archive/0.6.tar.gz";
|
url = "https://github.com/erikrose/parsimonious/archive/0.6.tar.gz";
|
||||||
sha256 = "7ad992448b69a3f3d943bac0be132bced3f13937c8ca150ba2fd1d7b6534f846";
|
sha256 = "7ad992448b69a3f3d943bac0be132bced3f13937c8ca150ba2fd1d7b6534f846";
|
||||||
|
@ -14652,6 +14661,7 @@ let
|
||||||
|
|
||||||
networkx = buildPythonPackage rec {
|
networkx = buildPythonPackage rec {
|
||||||
name = "networkx-1.9.1";
|
name = "networkx-1.9.1";
|
||||||
|
disabled = ! isPy27;
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "https://pypi.python.org/packages/source/n/networkx/networkx-1.9.1.tar.gz";
|
url = "https://pypi.python.org/packages/source/n/networkx/networkx-1.9.1.tar.gz";
|
||||||
|
@ -14669,6 +14679,7 @@ let
|
||||||
|
|
||||||
basemap = buildPythonPackage rec {
|
basemap = buildPythonPackage rec {
|
||||||
name = "basemap-1.0.7";
|
name = "basemap-1.0.7";
|
||||||
|
disabled = ! isPy27;
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "mirror://sourceforge/project/matplotlib/matplotlib-toolkits/basemap-1.0.7/basemap-1.0.7.tar.gz";
|
url = "mirror://sourceforge/project/matplotlib/matplotlib-toolkits/basemap-1.0.7/basemap-1.0.7.tar.gz";
|
||||||
|
@ -14704,4 +14715,4 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}); in pythonPackages
|
}; in pythonPackages
|
||||||
|
|
Loading…
Reference in a new issue