python311Packages.django-mysql: drop

Was introduced for pretalx, but support for MySQL never materaialized in
the module, because we already had support for PostgreSQL.
This commit is contained in:
Martin Weinelt 2024-07-02 10:21:35 +02:00
parent c0b4d43442
commit 3ea5320a58
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
3 changed files with 1 additions and 53 deletions

View file

@ -1,51 +0,0 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
django,
# tests
pytest-django,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "django-mysql";
version = "4.13.0";
pyproject = true;
src = fetchFromGitHub {
owner = "adamchainz";
repo = "django-mysql";
rev = "refs/tags/${version}";
hash = "sha256-hIvkLLv9R23u+JC6t/zwbMvmgLMstYp0ytuSqNiohJg=";
};
build-system = [ setuptools ];
dependencies = [ django ];
doCheck = false; # requires mysql/mariadb server
env.DJANGO_SETTINGS_MODULE = "tests.settings";
nativeCheckInputs = [
pytest-django
pytestCheckHook
];
pythonImportsCheck = [ "django_mysql" ];
meta = with lib; {
changelog = "https://github.com/adamchainz/django-mysql/blob/${version}/docs/changelog.rst";
description = "Extensions to Django for use with MySQL/MariaD";
homepage = "https://github.com/adamchainz/django-mysql";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}

View file

@ -132,6 +132,7 @@ mapAliases ({
django_hijack_admin = django-hijack-admin; # added 2023-05-16
django-hijack-admin = throw "django-hijack-admin has been removed, since it is no longer compatible to django-hijack"; # added 2023-06-21
django_modelcluster = django-modelcluster; # added 2022-04-02
django-mysql = throw "django-mysql has been removed, since it was an unused leaf package"; # added 2024-07-02
django_nose = django-nose; # added 2023-07-25
django-nose = throw "django-nose has been removed since it has not been maintained and there are no dependent packages"; # added 2024-05-21
django_reversion = django-reversion; # added 2022-06-18

View file

@ -3321,8 +3321,6 @@ self: super: with self; {
django-mptt = callPackage ../development/python-modules/django-mptt { };
django-mysql = callPackage ../development/python-modules/django-mysql { };
django-ninja = callPackage ../development/python-modules/django-ninja { };
django-oauth-toolkit = callPackage ../development/python-modules/django-oauth-toolkit { };