2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
django,
|
|
|
|
six,
|
|
|
|
pytestCheckHook,
|
|
|
|
django-debug-toolbar,
|
|
|
|
django-extensions,
|
|
|
|
django-taggit,
|
|
|
|
django-tagging,
|
|
|
|
mock,
|
|
|
|
pytest-django,
|
|
|
|
selenium,
|
|
|
|
splinter,
|
|
|
|
sqlparse,
|
|
|
|
tenacity,
|
|
|
|
whitenoise,
|
2022-10-06 18:32:54 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-autocomplete-light";
|
|
|
|
version = "3.9.4";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-10-06 18:32:54 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yourlabs";
|
|
|
|
repo = "django-autocomplete-light";
|
|
|
|
rev = version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-YUiGN6q7ARM/rg7d+ykeDEYZDYjB+DHxMCmdme6QccU=";
|
2022-10-06 18:32:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
django
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
# Too many un-packaged dependencies
|
|
|
|
doCheck = false;
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-10-06 18:32:54 +00:00
|
|
|
pytestCheckHook
|
|
|
|
django-debug-toolbar
|
|
|
|
django-extensions
|
|
|
|
django-taggit
|
2023-08-04 22:07:22 +00:00
|
|
|
django-tagging
|
2022-10-06 18:32:54 +00:00
|
|
|
mock
|
|
|
|
pytest-django
|
|
|
|
selenium
|
|
|
|
splinter
|
|
|
|
sqlparse
|
|
|
|
tenacity
|
|
|
|
whitenoise
|
|
|
|
|
|
|
|
# FIXME: not packaged
|
|
|
|
# django-generic-m2m
|
|
|
|
# django-gm2m
|
|
|
|
# django-querysetsequence
|
|
|
|
# pytest-splinter
|
|
|
|
# dango-nested-admin
|
|
|
|
# djhacker
|
|
|
|
];
|
|
|
|
|
|
|
|
# Taken from tox.ini
|
|
|
|
preCheck = "cd test_project";
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "dal" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Fresh approach to autocomplete implementations, specially for Django";
|
2022-10-06 18:32:54 +00:00
|
|
|
homepage = "https://django-autocomplete-light.readthedocs.io";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ ambroisie ];
|
|
|
|
};
|
|
|
|
}
|