Skip to content

Commit fde6293

Browse files
authored
python312Packages.django-autocomplete-light: 3.9.4 -> 3.11.0 (#373995)
2 parents b641e3d + 9558f7c commit fde6293

File tree

1 file changed

+21
-47
lines changed
  • pkgs/development/python-modules/django-autocomplete-light

1 file changed

+21
-47
lines changed

pkgs/development/python-modules/django-autocomplete-light/default.nix

Lines changed: 21 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,48 @@
11
{
22
lib,
33
buildPythonPackage,
4-
fetchFromGitHub,
4+
django-taggit,
55
django,
6-
six,
6+
fetchFromGitHub,
77
pytestCheckHook,
8-
django-debug-toolbar,
9-
django-extensions,
10-
django-taggit,
11-
django-tagging,
12-
mock,
13-
pytest-django,
14-
selenium,
15-
splinter,
16-
sqlparse,
17-
tenacity,
18-
whitenoise,
8+
pythonOlder,
9+
setuptools,
1910
}:
2011

2112
buildPythonPackage rec {
2213
pname = "django-autocomplete-light";
23-
version = "3.9.4";
24-
format = "setuptools";
14+
version = "3.11.0";
15+
pyproject = true;
16+
17+
disabled = pythonOlder "3.9";
2518

2619
src = fetchFromGitHub {
2720
owner = "yourlabs";
2821
repo = "django-autocomplete-light";
29-
rev = version;
30-
hash = "sha256-YUiGN6q7ARM/rg7d+ykeDEYZDYjB+DHxMCmdme6QccU=";
22+
tag = version;
23+
hash = "sha256-Lcl14CVmpDoEdEq49sL4GFtWWqFcVoSjOJOBU7oWeH4=";
3124
};
3225

33-
propagatedBuildInputs = [
34-
django
35-
six
36-
];
26+
build-system = [ setuptools ];
3727

38-
# Too many un-packaged dependencies
39-
doCheck = false;
40-
41-
nativeCheckInputs = [
42-
pytestCheckHook
43-
django-debug-toolbar
44-
django-extensions
45-
django-taggit
46-
django-tagging
47-
mock
48-
pytest-django
49-
selenium
50-
splinter
51-
sqlparse
52-
tenacity
53-
whitenoise
28+
dependencies = [ django ];
5429

55-
# FIXME: not packaged
56-
# django-generic-m2m
57-
# django-gm2m
58-
# django-querysetsequence
59-
# pytest-splinter
60-
# dango-nested-admin
61-
# djhacker
62-
];
30+
optional-dependencies = {
31+
tags = [ django-taggit ];
32+
# nested = [ django-nested-admin ];
33+
# genericm2m = [ django-generic-m2m ];
34+
# gfk = [ django-querysetsequence ];
35+
};
6336

64-
# Taken from tox.ini
65-
preCheck = "cd test_project";
37+
# Too many un-packaged dependencies
38+
doCheck = false;
6639

6740
pythonImportsCheck = [ "dal" ];
6841

6942
meta = with lib; {
7043
description = "Fresh approach to autocomplete implementations, specially for Django";
7144
homepage = "https://django-autocomplete-light.readthedocs.io";
45+
changelog = "https://github.com/yourlabs/django-autocomplete-light/blob/${version}/CHANGELOG";
7246
license = licenses.bsd3;
7347
maintainers = with maintainers; [ ambroisie ];
7448
};

0 commit comments

Comments
 (0)