Merge pull request #333248 from r-ryantm/auto-update/python312Packages.django-admin-sortable2

python312Packages.django-admin-sortable2: 2.2.1 -> 2.2.2
This commit is contained in:
OTABI Tomoya 2024-08-11 09:52:55 +09:00 committed by GitHub
commit 9b2fc49599
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,36 +1,40 @@
{
lib,
buildPythonPackage,
django_4,
fetchPypi,
pythonOlder,
fetchFromGitHub,
setuptools,
django,
}:
buildPythonPackage rec {
pname = "django-admin-sortable2";
version = "2.2.1";
format = "setuptools";
version = "2.2.2";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.9";
src = fetchPypi {
pname = "django_admin_sortable2";
inherit version;
hash = "sha256-MKlSf5P8YbeixZVNtX2EKJMeN/Riw7RssQEFPcX1F1E=";
src = fetchFromGitHub {
owner = "jrief";
repo = "django-admin-sortable2";
rev = "refs/tags/${version}";
hash = "sha256-BgydzSrbEMC6fE3W9TqjedBYtxMhK/bsYexNTXnJfUo=";
};
propagatedBuildInputs = [ django_4 ];
build-system = [ setuptools ];
dependencies = [ django ];
pythonImportsCheck = [ "adminsortable2" ];
# Tests are very slow (end-to-end with playwright)
doCheck = false;
meta = with lib; {
meta = {
description = "Generic drag-and-drop ordering for objects in the Django admin interface";
homepage = "https://github.com/jrief/django-admin-sortable2";
changelog = "https://github.com/jrief/django-admin-sortable2/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ sephi ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sephi ];
};
}