Something went wrong. Try again.
lol
Something went wrong. Try again.
997 B · 53 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, buildPythonPackage, fetchFromGitHub, django, django-allauth, djangorestframework, drf-jwt, responses, six,}:
buildPythonPackage rec { pname = "django-rest-auth"; version = "0.9.5"; format = "setuptools";
src = fetchFromGitHub { owner = "Tivix"; repo = "django-rest-auth"; rev = version; hash = "sha256-rCChUHv8sTEFErDCZnPN5b5XVtMJ7JNVZwBYF3d99mY="; };
postPatch = '' substituteInPlace setup.py \ --replace "djangorestframework-jwt" "drf-jwt" '';
propagatedBuildInputs = [ django djangorestframework six ];
nativeCheckInputs = [ django-allauth drf-jwt responses ];
# tests are icnompatible with current django version doCheck = false;
pythonImportsCheck = [ "rest_auth" ];
meta = { description = "Django app that makes registration and authentication easy"; homepage = "https://github.com/Tivix/django-rest-auth"; license = lib.licenses.mit; maintainers = [ ]; };}