blob: d9987f5b5decd5744cd2710b9f3306cf7e12d24b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{ lib
, buildPythonPackage
, django_4
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "django-admin-sortable2";
version = "2.1.10";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit version pname;
hash = "sha256-N1awLH0JxbN+/mV3GNWq4rdfRv0Bu/4cOdTmBlEBnXk=";
};
propagatedBuildInputs = [
django_4
];
pythonImportsCheck = [
"adminsortable2"
];
# Tests are very slow (end-to-end with playwright)
doCheck = false;
meta = with lib; {
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 ];
};
}
|