evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / django-leaflet / default.nix
blob628cae9403d291c1078ed091a51fa000003a1bbe
2   pkgs,
3   buildPythonPackage,
4   django,
5   fetchPypi,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "django-leaflet";
12   version = "0.30.1";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     pname = "django_leaflet";
19     inherit version;
20     hash = "sha256-jsG2RcUe0Zob9GAZVKSIr8iPPubqqsh679uhUioNR0Y=";
21   };
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.
30   doCheck = false;
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;
40     maintainers = [ ];
41   };