10 buildPythonPackage rec {
11 pname = "django-admin-sortable2";
15 disabled = pythonOlder "3.9";
17 src = fetchFromGitHub {
19 repo = "django-admin-sortable2";
20 rev = "refs/tags/${version}";
21 hash = "sha256-ZXaLe6H6il27DXMwclKR4iRGyus6zyYt3rNWRsLPHSU=";
24 build-system = [ setuptools ];
26 dependencies = [ django ];
28 pythonImportsCheck = [ "adminsortable2" ];
30 # Tests are very slow (end-to-end with playwright)
34 description = "Generic drag-and-drop ordering for objects in the Django admin interface";
35 homepage = "https://github.com/jrief/django-admin-sortable2";
36 changelog = "https://github.com/jrief/django-admin-sortable2/blob/${version}/CHANGELOG.md";
37 license = lib.licenses.mit;
38 maintainers = with lib.maintainers; [ sephi ];