1{ 2 lib, 3 buildPythonPackage, 4 django_4, 5 fetchPypi, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "django-admin-sortable2"; 11 version = "2.1.10"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit version pname; 18 hash = "sha256-N1awLH0JxbN+/mV3GNWq4rdfRv0Bu/4cOdTmBlEBnXk="; 19 }; 20 21 propagatedBuildInputs = [ django_4 ]; 22 23 pythonImportsCheck = [ "adminsortable2" ]; 24 25 # Tests are very slow (end-to-end with playwright) 26 doCheck = false; 27 28 meta = with lib; { 29 description = "Generic drag-and-drop ordering for objects in the Django admin interface"; 30 homepage = "https://github.com/jrief/django-admin-sortable2"; 31 changelog = "https://github.com/jrief/django-admin-sortable2/blob/${version}/CHANGELOG.md"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ sephi ]; 34 }; 35}