8 buildPythonPackage rec {
9 pname = "django-leaflet";
11 format = "setuptools";
13 disabled = pythonOlder "3.7";
16 inherit pname version;
17 hash = "sha256-L23Ixxh/0i5itvK3tC7thpIPgb7DEqplSYHr5byOCGY=";
20 propagatedBuildInputs = [
24 # The tests seem to be impure.
25 # They are throwing a error about unset configs:
26 # > django.core.exceptions.ImproperlyConfigured: Requested setting LEAFLET_CONFIG, but settings are not configured.
29 # This dosn't work either because of the same exception as above
30 # pythonImportsCheck = [ "leaflet" ];
32 meta = with pkgs.lib; {
33 description = "Allows you to use Leaflet in your Django projects";
34 homepage = "https://github.com/makinacorpus/django-leaflet";
35 changelog = "https://github.com/makinacorpus/django-leaflet/blob/${version}/CHANGES";
36 license = licenses.lgpl3Only;
37 maintainers = with maintainers; [ janik ];