Skip to content

Commit

Permalink
Merge pull request #306553 from gekoke/gekoke/django-allauth-compilem…
Browse files Browse the repository at this point in the history
…essages

python3Packages.django-allauth: compile `.mo` files
  • Loading branch information
pbsds authored May 14, 2024
2 parents 1cd23ed + a96fbdc commit 38a3b50
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/python-modules/django-allauth/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
# build-system
, setuptools

# build-time dependencies
, gettext

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

nativeBuildInputs = [
gettext
setuptools
];

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

preBuild = "python -m django compilemessages";

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

0 comments on commit 38a3b50

Please sign in to comment.