mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
python3Packages: Remove Python2 packages (#392235)
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
isPy27,
|
||||
oauth2,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "evernote";
|
||||
version = "1.25.3";
|
||||
format = "setuptools";
|
||||
disabled = !isPy27; # some dependencies do not work with py3
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "796847e0b7517e729041c5187fa1665c3f6fc0491cb4d71fb95a62c4f22e64eb";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ oauth2 ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Evernote SDK for Python";
|
||||
homepage = "https://dev.evernote.com";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ hbunke ];
|
||||
};
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
isPy27,
|
||||
thrift,
|
||||
beautifulsoup4,
|
||||
markdown2,
|
||||
sqlalchemy,
|
||||
html2text,
|
||||
evernote,
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
version = "2015-05-11";
|
||||
format = "setuptools";
|
||||
pname = "geeknote";
|
||||
disabled = !isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "VitaliyRodnenko";
|
||||
repo = "geeknote";
|
||||
rev = "8489a87d044e164edb321ba9acca8d4631de3dca";
|
||||
sha256 = "0l16v4xnyqnsf84b1pma0jmdyxvmfwcv3sm8slrv3zv7zpmcm3lf";
|
||||
};
|
||||
|
||||
/*
|
||||
build with tests fails with "Can not create application dirictory :
|
||||
/homeless-shelter/.geeknotebuilder".
|
||||
*/
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
thrift
|
||||
beautifulsoup4
|
||||
markdown2
|
||||
sqlalchemy
|
||||
html2text
|
||||
evernote
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Work with Evernote from command line";
|
||||
homepage = "http://www.geeknote.me";
|
||||
license = licenses.gpl1Only;
|
||||
maintainers = with maintainers; [ hbunke ];
|
||||
};
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pillow,
|
||||
isPy27,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "modestmaps";
|
||||
version = "1.4.7";
|
||||
disabled = !isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "ModestMaps";
|
||||
inherit version;
|
||||
sha256 = "698442a170f02923f8ea55f18526b56c17178162e44304f896a8a5fd65ab4457";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pillow ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for building interactive maps";
|
||||
homepage = "http://modestmaps.com";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
isPy27,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pychart";
|
||||
version = "1.39";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = !isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "882650928776a7ca72e67054a9e0ac98f78645f279c0cfb5910db28f03f07c2e";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for creating high quality encapsulated Postscript, PDF, PNG, or SVG charts";
|
||||
homepage = "https://pypi.python.org/pypi/PyChart";
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
isPy27,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-wifi";
|
||||
version = "0.6.1";
|
||||
format = "setuptools";
|
||||
disabled = !isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "tar.bz2";
|
||||
sha256 = "149c3dznb63d82143cz5hqdim0mqjysz6p3yk0zv271vq3xnmzvv";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Read & write wireless card capabilities using the Linux Wireless Extensions";
|
||||
homepage = "http://pythonwifi.tuxfamily.org/";
|
||||
# From the README: "pythonwifi is licensed under LGPLv2+, however, the
|
||||
# examples (e.g. iwconfig.py and iwlist.py) are licensed under GPLv2+."
|
||||
license = with licenses; [
|
||||
lgpl2Plus
|
||||
gpl2Plus
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
modestmaps,
|
||||
pillow,
|
||||
pycairo,
|
||||
python-mapnik,
|
||||
simplejson,
|
||||
werkzeug,
|
||||
isPy27,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tilestache";
|
||||
version = "1.51.14";
|
||||
format = "setuptools";
|
||||
disabled = !isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "TileStache";
|
||||
inherit version;
|
||||
sha256 = "1qjrabl6qr7i6yj6v647ck92abcyklb0vmb6h6kj7x8v2cj5xbvk";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
modestmaps
|
||||
pillow
|
||||
pycairo
|
||||
python-mapnik
|
||||
simplejson
|
||||
werkzeug
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tile server for rendered geographic data";
|
||||
homepage = "http://tilestache.org";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
@@ -210,6 +210,7 @@ mapAliases ({
|
||||
et_xmlfile = et-xmlfile; # added 2023-10-16
|
||||
etebase-server = throw "pkgs.python3.etebase-server has been removed, use pkgs.etebase-server"; # added 2024-07-16
|
||||
ev3dev2 = python-ev3dev2; # added 2023-06-19
|
||||
evernote = throw "evernote is intended for use with Python 2.X";
|
||||
eyeD3 = eyed3; # added 2024-01-03
|
||||
Fabric = fabric; # addedd 2023-02-19
|
||||
face_recognition = face-recognition; # added 2022-10-15
|
||||
@@ -264,6 +265,7 @@ mapAliases ({
|
||||
gbulb = throw "gbulb has been removed as it is unmaintained and no longer compatible with PyGObject 3.50."; # added 2024-10-14
|
||||
gcs-oauth2-boto-plugin = throw "gcs-oauth2-boto-plugin was removed as it depends on the removed boto package"; # Added 2024-09-22
|
||||
gdtoolkit = throw "gdtoolkit has been promoted to a top-level attribute name: `pkgs.gdtoolkit`"; # added 2023-02-15
|
||||
geeknote = throw "geeknote depends on the Python2-only library evernote"; # Added 2025-03-22
|
||||
GeoIP = geoip; # added 2023-02-19
|
||||
gigalixir = throw "gigalixir has been promoted to a top-level attribute name: `pkgs.gigalixir`"; # Added 2022-10-02
|
||||
gitdb2 = throw "gitdb2 has been deprecated, use gitdb instead."; # added 2020-03-14
|
||||
@@ -390,6 +392,7 @@ mapAliases ({
|
||||
mitmproxy-wireguard = throw "mitmproxy-wireguard has been removed because it was replaced by upstream with mitmproxy-rs"; # added 2023-11-06
|
||||
mkdocs-awesome-pages-plugin = mkdocs-awesome-nav; # added 2025-03-10
|
||||
mkdocs-minify = mkdocs-minify-plugin; # added 2023-11-28
|
||||
modestmaps = throw "modestmaps is unmaintained and was never enabled for anything except Python27"; # Added 2025-03-23
|
||||
mox = throw "mox was removed because it is unmaintained"; # added 2023-02-21
|
||||
mox3 = throw "mox3 was removed because it is unmaintained"; # added 2024-08-30
|
||||
mrkd = throw "mrkd has been promoted to a top-level attribute name: `pkgs.mrkd`"; # added 2023-08-01
|
||||
@@ -491,6 +494,7 @@ mapAliases ({
|
||||
pyalmond = throw "pyalmond has been removed, since its API endpoints have been shutdown"; # added 2023-02-02
|
||||
pyblake2 = throw "pyblake2 is deprecated in favor of hashlib"; # added 2023-04-23
|
||||
pyblock = throw "pyblock has been removed, since it is abandoned and broken"; # added 2023-06-20
|
||||
pychart = throw "pychart does not support Python3"; # added 2025-03-23
|
||||
pycontracts = throw "pycontracts has been removed, since upstream is no longer active and it is broken on modern Python versions."; # added 2024-08-09
|
||||
pydns = py3dns; # added 2024-10-25
|
||||
pydrive = throw "pydrive is broken and deprecated and has been replaced with pydrive2."; # added 2022-06-01
|
||||
@@ -594,6 +598,7 @@ mapAliases ({
|
||||
python-Levenshtein = levenshtein;
|
||||
python-pushover = throw "python-pushover has been removed, since it is unmaintained and is broken"; # added 2023-07-03
|
||||
python-subunit = subunit; # added 2021-09-10
|
||||
python-wifi = throw "python-wifi does not support Python3";
|
||||
pytest_xdist = pytest-xdist; # added 2021-01-04
|
||||
python_simple_hipchat = python-simple-hipchat; # added 2021-07-21
|
||||
pytoml = throw "pytoml has been removed because it is unmaintained and is superseded by toml"; # Added 2023-04-11
|
||||
@@ -711,6 +716,7 @@ mapAliases ({
|
||||
tensorflow-estimator_2 = tensorflow-estimator; # added 2021-11-25
|
||||
tensorflow-tensorboard = tensorboard; # added 2022-03-06
|
||||
tensorflow-tensorboard_2 = tensorflow-tensorboard; # added 2021-11-25
|
||||
tilestache = throw "tilestache is unmaintained and Python3 compatibility is unknown"; # Added 2025-03-23
|
||||
Theano = theano; # added 2023-02-19
|
||||
TheanoWithCuda = theanoWithCuda; # added 2023-02-19
|
||||
TheanoWithoutCuda = theanoWithoutCuda; # added 2023-02-19
|
||||
|
||||
@@ -4530,8 +4530,6 @@ self: super: with self; {
|
||||
|
||||
events = callPackage ../development/python-modules/events { };
|
||||
|
||||
evernote = callPackage ../development/python-modules/evernote { };
|
||||
|
||||
evohome-async = callPackage ../development/python-modules/evohome-async { };
|
||||
|
||||
evolutionhttp = callPackage ../development/python-modules/evolutionhttp { };
|
||||
@@ -5345,8 +5343,6 @@ self: super: with self; {
|
||||
}
|
||||
);
|
||||
|
||||
geeknote = callPackage ../development/python-modules/geeknote { };
|
||||
|
||||
gehomesdk = callPackage ../development/python-modules/gehomesdk { };
|
||||
|
||||
gekitchen = callPackage ../development/python-modules/gekitchen { };
|
||||
@@ -8895,8 +8891,6 @@ self: super: with self; {
|
||||
|
||||
moderngl-window = callPackage ../development/python-modules/moderngl-window { };
|
||||
|
||||
modestmaps = callPackage ../development/python-modules/modestmaps { };
|
||||
|
||||
mohawk = callPackage ../development/python-modules/mohawk { };
|
||||
|
||||
molbar = callPackage ../development/python-modules/molbar { };
|
||||
@@ -11843,8 +11837,6 @@ self: super: with self; {
|
||||
|
||||
pychannels = callPackage ../development/python-modules/pychannels { };
|
||||
|
||||
pychart = callPackage ../development/python-modules/pychart { };
|
||||
|
||||
pychm = callPackage ../development/python-modules/pychm { };
|
||||
|
||||
pychromecast = callPackage ../development/python-modules/pychromecast { };
|
||||
@@ -14116,8 +14108,6 @@ self: super: with self; {
|
||||
|
||||
python-whois = callPackage ../development/python-modules/python-whois { };
|
||||
|
||||
python-wifi = callPackage ../development/python-modules/python-wifi { };
|
||||
|
||||
python-wink = callPackage ../development/python-modules/python-wink { };
|
||||
|
||||
python-xapp = callPackage ../development/python-modules/python-xapp {
|
||||
@@ -17113,8 +17103,6 @@ self: super: with self; {
|
||||
|
||||
tiler = callPackage ../development/python-modules/tiler { };
|
||||
|
||||
tilestache = callPackage ../development/python-modules/tilestache { };
|
||||
|
||||
tilt-ble = callPackage ../development/python-modules/tilt-ble { };
|
||||
|
||||
time-machine = callPackage ../development/python-modules/time-machine { };
|
||||
|
||||
Reference in New Issue
Block a user