Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
953 B · 43 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ lib, buildPythonPackage, fetchFromGitHub, poetry-core, django, djangorestframework-simplejwt, social-auth-app-django,}:
buildPythonPackage rec { pname = "djoser"; version = "2.3.1"; pyproject = true;
src = fetchFromGitHub { owner = "sunscrapers"; repo = "djoser"; tag = version; hash = "sha256-xPhf7FiJSq5bHfAU5RKbobgnsRh/6cLcXP6vfrLdzJA="; };
build-system = [ poetry-core ];
dependencies = [ django djangorestframework-simplejwt social-auth-app-django ];
# djet isn't packaged yet # nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "djoser" ];
meta = { changelog = "https://github.com/sunscrapers/djoser/releases/tag/${version}"; description = "REST implementation of Django authentication system"; homepage = "https://github.com/sunscrapers/djoser"; maintainers = with lib.maintainers; [ MostafaKhaled ]; license = lib.licenses.mit; };}