Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
939 B · 49 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, pythonAtLeast, fetchpatch, fetchFromGitHub, python, django, packaging, nodejs, js2py, six}:
buildPythonPackage rec { pname = "django-js-reverse"; version = "0.10.1-b1";
src = fetchFromGitHub { owner = "BITSOLVER"; repo = "django-js-reverse"; rev = version; hash = "sha256-i78UsxVwxyDAc8LrOVEXLG0tdidoQhvUx7GvPDaH0KY="; };
propagatedBuildInputs = [ django ] ++ lib.optionals (pythonAtLeast "3.7") [ packaging ];
nativeCheckInputs = [ nodejs js2py six ];
checkPhase = '' ${python.interpreter} django_js_reverse/tests/unit_tests.py '';
pythonImportsCheck = [ "django_js_reverse" ];
meta = with lib; { description = "Javascript url handling for Django that doesn't hurt"; homepage = "https://django-js-reverse.readthedocs.io/en/latest/"; license = licenses.mit; maintainers = with maintainers; [ ambroisie ]; };}