File tree Expand file tree Collapse file tree 1 file changed +17
-13
lines changed
pkgs/development/python-modules/django-admin-sortable2 Expand file tree Collapse file tree 1 file changed +17
-13
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
33 buildPythonPackage ,
4- django_4 ,
5- fetchPypi ,
64 pythonOlder ,
5+ fetchFromGitHub ,
6+ setuptools ,
7+ django ,
78} :
89
910buildPythonPackage rec {
1011 pname = "django-admin-sortable2" ;
11- version = "2.2.1 " ;
12- format = "setuptools" ;
12+ version = "2.2.2 " ;
13+ pyproject = true ;
1314
14- disabled = pythonOlder "3.7 " ;
15+ disabled = pythonOlder "3.9 " ;
1516
16- src = fetchPypi {
17- pname = "django_admin_sortable2" ;
18- inherit version ;
19- hash = "sha256-MKlSf5P8YbeixZVNtX2EKJMeN/Riw7RssQEFPcX1F1E=" ;
17+ src = fetchFromGitHub {
18+ owner = "jrief" ;
19+ repo = "django-admin-sortable2" ;
20+ rev = "refs/tags/${ version } " ;
21+ hash = "sha256-BgydzSrbEMC6fE3W9TqjedBYtxMhK/bsYexNTXnJfUo=" ;
2022 } ;
2123
22- propagatedBuildInputs = [ django_4 ] ;
24+ build-system = [ setuptools ] ;
25+
26+ dependencies = [ django ] ;
2327
2428 pythonImportsCheck = [ "adminsortable2" ] ;
2529
2630 # Tests are very slow (end-to-end with playwright)
2731 doCheck = false ;
2832
29- meta = with lib ; {
33+ meta = {
3034 description = "Generic drag-and-drop ordering for objects in the Django admin interface" ;
3135 homepage = "https://github.com/jrief/django-admin-sortable2" ;
3236 changelog = "https://github.com/jrief/django-admin-sortable2/blob/${ version } /CHANGELOG.md" ;
33- license = licenses . mit ;
34- maintainers = with maintainers ; [ sephi ] ;
37+ license = lib . licenses . mit ;
38+ maintainers = with lib . maintainers ; [ sephi ] ;
3539 } ;
3640}
You can’t perform that action at this time.
0 commit comments