Unverified Commit 38a3b50f authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

Merge pull request #306553 from gekoke/gekoke/django-allauth-compilemessages

python3Packages.django-allauth: compile `.mo` files
parents 1cd23ed4 a96fbdc7
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -6,6 +6,9 @@
# build-system
, setuptools

# build-time dependencies
, gettext

# dependencies
, django
, python3-openid
@@ -41,6 +44,7 @@ buildPythonPackage rec {
  };

  nativeBuildInputs = [
    gettext
    setuptools
  ];

@@ -52,6 +56,8 @@ buildPythonPackage rec {
    requests-oauthlib
  ] ++ pyjwt.optional-dependencies.crypto;

  preBuild = "python -m django compilemessages";

  passthru.optional-dependencies = {
    saml = [
      python3-saml