13 buildPythonPackage rec {
14 pname = "django-js-reverse";
15 version = "0.10.1-b1";
16 format = "setuptools";
18 src = fetchFromGitHub {
20 repo = "django-js-reverse";
22 hash = "sha256-i78UsxVwxyDAc8LrOVEXLG0tdidoQhvUx7GvPDaH0KY=";
25 propagatedBuildInputs = [ django ] ++ lib.optionals (pythonAtLeast "3.7") [ packaging ];
27 # Js2py is needed for tests but it's unmaintained and insecure
36 ${python.interpreter} django_js_reverse/tests/unit_tests.py
39 pythonImportsCheck = [ "django_js_reverse" ];
42 description = "Javascript url handling for Django that doesn't hurt";
43 homepage = "https://django-js-reverse.readthedocs.io/en/latest/";
44 license = licenses.mit;
45 maintainers = with maintainers; [ ambroisie ];