Files
nixpkgs/pkgs/development/python-modules/django-leaflet/default.nix
T
Janik H. 76cd1d2211 maintainers: drop janik
I guess my time has come as well...

With this commit, I'm not just dropping my maintainer entry, but I'm also
resigning from my duties as a board observer and NixCon project lead.
I also terminated my Summer of Nix contract today.
I'll also stop hosting the local NixOS meetup.

The only "project" I'll finish under the NixOS Foundation umbrella is
Google Summer of Code because the mentees aren't even remotely
responsible for why I'm leaving, and it would be unfair to leave them
hanging.

I'm grateful for all the things I was able to learn, for all the experiences
I could gather, and for all the friends I made along the way.
NixOS is what makes computers bearable for me, so I'll go and work on
some fork (*something something* you always meet twice in life).
2024-07-02 02:36:42 +02:00

39 lines
1.0 KiB
Nix

{
pkgs,
buildPythonPackage,
django,
fetchPypi,
pythonOlder,
}:
buildPythonPackage rec {
pname = "django-leaflet";
version = "0.29.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-ECtocPJHYR1DsFLeVMVdtlia4UNOJyNMsU1CrX1aVsQ=";
};
propagatedBuildInputs = [ django ];
# The tests seem to be impure.
# They are throwing a error about unset configs:
# > django.core.exceptions.ImproperlyConfigured: Requested setting LEAFLET_CONFIG, but settings are not configured.
doCheck = false;
# This dosn't work either because of the same exception as above
# pythonImportsCheck = [ "leaflet" ];
meta = with pkgs.lib; {
description = "Allows you to use Leaflet in your Django projects";
homepage = "https://github.com/makinacorpus/django-leaflet";
changelog = "https://github.com/makinacorpus/django-leaflet/blob/${version}/CHANGES";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ ];
};
}