depot/third_party/nixpkgs/pkgs/development/python-modules/django-autocomplete-light/default.nix
Default email d2947cfef0 Project import generated by Copybara.
GitOrigin-RevId: 598f83ebeb2235435189cf84d844b8b73e858e0f
2022-10-06 20:32:54 +02:00

73 lines
1.3 KiB
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, django
, six
, pytestCheckHook
, django-debug-toolbar
, django-extensions
, django-taggit
, django_tagging
, mock
, pytest-django
, selenium
, splinter
, sqlparse
, tenacity
, whitenoise
}:
buildPythonPackage rec {
pname = "django-autocomplete-light";
version = "3.9.4";
src = fetchFromGitHub {
owner = "yourlabs";
repo = "django-autocomplete-light";
rev = version;
sha256 = "sha256-YUiGN6q7ARM/rg7d+ykeDEYZDYjB+DHxMCmdme6QccU=";
};
propagatedBuildInputs = [
django
six
];
# Too many un-packaged dependencies
doCheck = false;
checkInputs = [
pytestCheckHook
django-debug-toolbar
django-extensions
django-taggit
django_tagging
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; {
description = "A fresh approach to autocomplete implementations, specially for Django";
homepage = "https://django-autocomplete-light.readthedocs.io";
license = licenses.bsd3;
maintainers = with maintainers; [ ambroisie ];
};
}