10 buildPythonPackage rec {
11 pname = "django-leaflet";
15 disabled = pythonOlder "3.7";
18 pname = "django_leaflet";
20 hash = "sha256-jsG2RcUe0Zob9GAZVKSIr8iPPubqqsh679uhUioNR0Y=";
23 build-system = [ setuptools ];
25 dependencies = [ django ];
27 # The tests seem to be impure.
28 # They are throwing a error about unset configs:
29 # > django.core.exceptions.ImproperlyConfigured: Requested setting LEAFLET_CONFIG, but settings are not configured.
32 # This dosn't work either because of the same exception as above
33 # pythonImportsCheck = [ "leaflet" ];
35 meta = with pkgs.lib; {
36 description = "Allows you to use Leaflet in your Django projects";
37 homepage = "https://github.com/makinacorpus/django-leaflet";
38 changelog = "https://github.com/makinacorpus/django-leaflet/blob/${version}/CHANGES";
39 license = licenses.lgpl3Only;