Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 51 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib , buildPythonPackage, fetchFromGitHub, django, django-allauth, djangorestframework, drf-jwt, responses, six}:
buildPythonPackage rec { pname = "django-rest-auth"; version = "0.9.5";
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 = with lib; { description = "Django app that makes registration and authentication easy"; homepage = "https://github.com/Tivix/django-rest-auth"; license = licenses.mit; maintainers = with maintainers; [ SuperSandro2000 ]; };}